Antoine Pitrou
db0420db17
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:47:23 +01: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
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
Antoine Pitrou
f9d0b1256f
Issue #13390 : New function :func:`sys.getallocatedblocks()` returns the number of memory blocks currently allocated.
...
Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks.
2012-12-09 14:28:26 +01:00
Éric Araujo
bb7da03f6e
Merge fixes for #13614 , #13512 and #7719 from 3.3
2012-12-08 22:57:08 -05: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
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
Antoine Pitrou
53f604c794
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:18:50 +01: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
É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
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
Benjamin Peterson
448e81b2da
add fixer for reload() -> imp.reload() ( closes #11797 )\n\nPatch by Laurie Clark-Michalek and Berker Peksag
2012-12-07 22:44:10 -05:00
Raymond Hettinger
527507d72e
Improve OrderedDict equality test.
2012-12-07 10:18:22 -08:00
Benjamin Peterson
442f20996d
create NameConstant AST class for None, True, and False literals ( closes #16619 )
2012-12-06 17:41:04 -05:00
Andrew Svetlov
34cf090e8c
Merge: skip pdb test for #13120 if threading is not available.
2012-12-05 15:07:10 +02: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
Eric Snow
a6cfb28bd2
Issue #15627 : This is simply an update to the name of a new method recently added
...
to importlib.abc.SourceLoader.
2012-12-04 23:43:43 -08: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
fe907e1870
Issue #16444 : test more bytes in support.TESTFN_UNDECODABLE to support more Windows code pages
2012-12-04 11:55:04 +01:00
Andrew Svetlov
de67a4233c
Merge issue #13120 : Allow to call pdb.set_trace() from thread.
...
Patch by Ilya Sandler.
2012-12-04 21:10:55 +02:00
Victor Stinner
d45c7f8d74
Issue #16455 : On FreeBSD and Solaris, if the locale is C, the
...
ASCII/surrogateescape codec is now used, instead of the locale encoding, to
decode the command line arguments. This change fixes inconsistencies with
os.fsencode() and os.fsdecode() because these operating systems announces an
ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
2012-12-04 01:34:47 +01:00
Antoine Pitrou
ca9f8b21c8
Fix test splitting in previous commit.
2012-12-03 21:09:27 +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
d9cd554934
Split the bigmem re test in two separate tests with different memory requirements.
2012-12-03 20:56:27 +01:00
Antoine Pitrou
b33941ab02
Split the bigmem re test in two separate tests with different memory requirements.
2012-12-03 20:55:56 +01:00
Antoine Pitrou
1f1888ec1e
Split the bigmem re test in two separate tests with different memory requirements.
2012-12-03 20:53:12 +01:00
Andrew Svetlov
2d72781082
Merge issue #16583 : Prevent nesting SystemExit in tkinter.CallWrapper
2012-12-03 16:13:48 +02:00
Andrew Svetlov
e854433686
Merge issue #16583 : Prevent nesting SystemExit in tkinter.CallWrapper
2012-12-03 16:13:34 +02:00
Andrew Svetlov
eb0abce2f8
Issue #16583 : Prevent nesting SystemExit in tkinter.CallWrapper
2012-12-03 16:13:07 +02:00
Benjamin Peterson
181e20a6fc
merge 3.3
2012-12-02 13:04:44 -05:00
Benjamin Peterson
a2816c2b11
more test to more general test file, so it can test more things
2012-12-02 13:04:37 -05:00
Benjamin Peterson
661c346ab3
merge 3.3
2012-12-02 12:37:09 -05:00
Benjamin Peterson
2f560fa300
loosen test now that bytes are allowed
2012-12-02 12:37:04 -05:00
Benjamin Peterson
26e5335a46
merge 3.3 ( #16585 )
2012-12-02 11:21:02 -05:00
Benjamin Peterson
47a00f3d1a
support encoding error handlers that return bytes ( closes #16585 )
2012-12-02 11:20:28 -05:00
Antoine Pitrou
d8d1a0ab78
Issue #10182 : The re module doesn't truncate indices to 32 bits anymore.
...
Patch by Serhiy Storchaka.
2012-12-02 12:55:12 +01:00
Antoine Pitrou
9a2b26748b
Issue #10182 : The re module doesn't truncate indices to 32 bits anymore.
...
Patch by Serhiy Storchaka.
2012-12-02 12:54:28 +01:00
Antoine Pitrou
43fb54cd4f
Issue #10182 : The re module doesn't truncate indices to 32 bits anymore.
...
Patch by Serhiy Storchaka.
2012-12-02 12:52:36 +01:00
Benjamin Peterson
4089eec098
merge 3.3 ( #16573 )
2012-11-29 10:58:43 -05:00
Benjamin Peterson
139891ba82
merge 3.2 ( #16573 )
2012-11-29 10:56:11 -05:00
Benjamin Peterson
57af38700a
enumerate only requires an iterable ( closes #16573 )
...
Patch by Jonathan Kotta.
2012-11-29 10:55:22 -05:00
Andrew Svetlov
7030dd8500
Merge issue #16477 : Close tarfile internal handlers in case of exception.
...
Patch by Serhiy Storchaka.
2012-11-29 14:21:39 +02:00
Andrew Svetlov
7ecd13da5f
Merge issue #16477 : Close tarfile internal handlers in case of exception.
...
Patch by Serhiy Storchaka.
2012-11-29 14:21:23 +02:00
Andrew Svetlov
718df1d638
Issue #16477 : Close tarfile internal handlers in case of exception.
...
Patch by Serhiy Storchaka.
2012-11-29 14:20:47 +02:00
Ezio Melotti
63cd0aa569
#16549 : merge with 3.3.
2012-11-29 05:10:45 +02:00