Commit graph

75856 commits

Author SHA1 Message Date
Andrew Svetlov
806bfad457 Issue #16582: use int exit code in tkinter._exit 2012-12-10 00:02:31 +02:00
Senthil Kumaran
50cdd55af9 merge from 3.2 - reason attribute for urllib.error.HTTPError 2012-12-09 13:52:31 -08:00
Senthil Kumaran
2e72831369 Fix issue13211 - Document the reason attribute for urllib.error.HTTPError 2012-12-09 13:51:05 -08:00
Senthil Kumaran
bfb0989ea7 Document the reason attribute of urllib.HTTPError Patch by Berker Peksag 2012-12-09 13:36:40 -08:00
Benjamin Peterson
4b7743a3ef merge 3.2 2012-12-09 10:16:46 -05:00
Benjamin Peterson
4ee03fa4d5 merge 3.1 2012-12-09 10:14:42 -05:00
Antoine Pitrou
373528f6b1 Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.
2012-12-09 14:46:46 +01:00
Antoine Pitrou
0ee20ebbff Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.
2012-12-09 14:46:18 +01:00
Antoine Pitrou
7dddec4e9d Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.
2012-12-09 14:46:18 +01:00
Antoine Pitrou
7ec3a32360 Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.
2012-12-09 14:46:18 +01:00
Nick Coghlan
0eee97cce6 Issue #15209: Fix typo and some additional wording tweaks 2012-12-09 16:21:46 +10:00
Éric Araujo
3f7c0e4036 Merge fixes for #13614, #13512 and #7719 from 3.2 2012-12-08 22:53:43 -05:00
Éric Araujo
24457c9ad3 Branch merge 2012-12-08 22:47:03 -05:00
Éric Araujo
367efc254d Branch merge 2012-12-08 22:45:09 -05:00
Éric Araujo
8b503c0a4e Fix setup.py register failure with invalid rst in description (#13614).
Original patch by Julien Courteau and Pierre Paul Lefebvre.
2012-12-08 22:41:11 -05:00
Éric Araujo
9e06e8d5de Use proper skip instead of reporting success in one distutils test 2012-12-08 22:30:47 -05:00
Éric Araujo
2320fa08a8 Fix setup.py register failure with invalid rst in description (#13614).
Original patch by Julien Courteau and Pierre Paul Lefebvre.
2012-12-08 22:26:57 -05:00
Éric Araujo
9bc9ab5f85 Fix a few markup/grammar nits 2012-12-08 18:35:31 -05:00
Antoine Pitrou
f93ed3fa67 Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
Thanks to Eugene Toder for diagnosing and reporting the issue.
2012-12-08 21:17:03 +01:00
Antoine Pitrou
62a0d6ea40 Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
Thanks to Eugene Toder for diagnosing and reporting the issue.
2012-12-08 21:15:26 +01:00
Antoine Pitrou
d38c990bb7 Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
Thanks to Eugene Toder for diagnosing and reporting the issue.
2012-12-08 21:15:26 +01:00
Éric Araujo
d61926e6be Create ~/.pypirc securely (#13512).
There was a window between the write and the chmod where the user’s
password would be exposed, depending on default permissions.  Philip
Jenvey’s patch fixes it.
2012-12-08 14:51:47 -05:00
Éric Araujo
26ea4a08a3 Remove code unneeded after f833e7ec4de1 2012-12-08 14:41:39 -05:00
Éric Araujo
3e4a3dcb23 Ignore .nfs* files in distutils (#7719).
These files are created by some NFS clients a file is edited and removed
concurrently (see added link in doc for more info).  If such a file is
removed between distutils calls listdir and copy, it will get confused.
Other special files are ignored in sdist (namely VCS directories), but
this has to be filtered out earlier.
2012-12-08 14:21:51 -05:00
Éric Araujo
5ead5549d0 Add versionchanged note for a56cebff113a 2012-12-08 14:18:26 -05:00
Andrew Svetlov
bd5279ea24 Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
2012-12-08 18:01:27 +02:00
Andrew Svetlov
a7129d38ed Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
2012-12-08 17:59:23 +02:00
Andrew Svetlov
09974b4e9e Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
2012-12-08 17:59:03 +02:00
Nick Coghlan
cea27be888 Close issue #16267: better docs for @abstractmethod composition 2012-12-08 22:56:02 +10:00
Nick Coghlan
8e18fc8c0b Issue #15209: Clarify exception chaining description
- not allowed when implicitly re-raised the current exception
- last exception raised is always displayed last
- attempt to make it clearer when/if cause and context are shown
2012-12-08 21:39:24 +10:00
Ezio Melotti
c990f3b167 Merge debug output removal with 3.2. 2012-12-08 12:30:44 +02:00
Ezio Melotti
b7bc92530e Remove debug output from example. 2012-12-08 12:29:40 +02:00
Ezio Melotti
5a2e2b8ff7 Remove debug output from example. 2012-12-08 12:29:40 +02:00
Antoine Pitrou
12f33df4a2 Issue #16628: Fix a memory leak in ctypes.resize(). 2012-12-08 11:07:16 +01:00
Antoine Pitrou
8eeda72742 Issue #16628: Fix a memory leak in ctypes.resize(). 2012-12-08 11:05:50 +01:00
Antoine Pitrou
305e1a749f Issue #16628: Fix a memory leak in ctypes.resize(). 2012-12-08 11:05:50 +01:00
Andrew Svetlov
766849b978 Document that hour in datetime.time ctor is optional parameter.
Thanks to Sean Munkel from docs@
2012-12-06 16:32:37 +02:00
Andrew Svetlov
f04d1bb170 Specify which I/O ABC methods have implementations in the docs. 2012-12-06 12:21:12 +02:00
Andrew Svetlov
ed636a84b9 Specify which I/O ABC methods have implementations in the docs. 2012-12-06 12:20:56 +02:00
Andrew Svetlov
c37cfd6709 Update comment: SAVE_EXC_STATE and SWAP_EXC_STATE macroses are saave_exc_state and swap_exc_state functions now. 2012-12-05 17:59:10 +02:00
Jesus Cea
7ddd9c21da Closes #16588: Silence unused-but-set warnings in Python/thread_pthread.h 2012-12-05 14:41:11 +01:00
Andrew Svetlov
f0eb7adc7f Merge: skip pdb test for #13120 if threading is not available. 2012-12-05 15:06:54 +02:00
Andrew Svetlov
96bc04369a Skip pdb test for #13120 if threading is not available. 2012-12-05 15:06:23 +02:00
Andrew Svetlov
73a5a12dcf Fix typo. 2012-12-05 11:12:14 +02:00
Andrew Svetlov
1dfb5c1cf3 Merge issue #13120: Allow to call pdb.set_trace() from thread.
Patch by Ilya Sandler.
2012-12-04 21:10:20 +02:00
Andrew Svetlov
539ee5da6f Issue #13120: Allow to call pdb.set_trace() from thread.
Patch by Ilya Sandler.
2012-12-04 21:08:28 +02:00
Victor Stinner
8c7c697e49 Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
--
Kubilay Kocak (koobs) asked me on IRC to backport this fix to Python 2.7: done!
2012-12-04 10:07:16 +01:00
Antoine Pitrou
56a2ae27e3 Fix test splitting in previous commit. 2012-12-03 21:09:08 +01:00
Antoine Pitrou
86067c2e17 Fix test splitting in previous commit. 2012-12-03 21:08:43 +01:00
Antoine Pitrou
74635c9177 Fix test splitting in previous commit. 2012-12-03 21:08:43 +01:00