Andrew Svetlov
b67596d815
Issue #16049 : add abc.ABC helper class.
...
Patch by Bruno Dupuis.
2012-12-13 19:09:33 +02:00
Ross Lagerwall
174bc1e309
Merge with 3.3 for #16661
2012-12-13 15:21:16 +00:00
Ross Lagerwall
a0b315f5f7
Issue #16661 : Fix the os.getgrouplist() test by not assuming that it
...
gives the same output as "id -G".
2012-12-13 15:20:26 +00:00
Hynek Schlawack
6c722c6df4
#15872 : Some more Windows related tuning to shutil.rmtree tests
...
Turns out, the snakebite bots have also their peculiarities.
I'm really not proud of this stream of commits. :(
2012-12-10 16:35:16 +01:00
Hynek Schlawack
c474c4e749
#15872 : Some more Windows related tuning to shutil.rmtree tests
...
Turns out, the snakebite bots behave also their peculiarities.
I'm really not proud of this stream of commits. :(
2012-12-10 16:33:41 +01:00
Hynek Schlawack
87f9b46f15
#15872 : Some more Windows related tuning to shutil.rmtree tests
...
Turns out, the snakebite bots behave also their peculiarities.
I'm really not proud of this stream of commits. :(
2012-12-10 16:29:57 +01:00
Hynek Schlawack
99d28ce0cd
#15872 : Be flexible with appending *.* in shutil.rmtree test case
...
The Windows buildbots seem to be unable to agree whether they need them or not.
2012-12-10 12:05:45 +01:00
Hynek Schlawack
f29b4937f7
#15872 : Be flexible with appending *.* in shutil.rmtree test case
...
The Windows buildbots seem to be unable to agree whether they need them or not.
2012-12-10 12:02:26 +01:00
Hynek Schlawack
b9e9f3e70d
#15872 : Be flexible with appending *.* in shutil.rmtree test case
...
The Windows buildbots seem to be unable to agree whether they need them or not.
2012-12-10 12:01:28 +01:00
Hynek Schlawack
8ade268c6b
#15872 : More shutil test fixes for Windows
...
This one is different from 3.2 and 3.3. Windows ceased using *.* since 3.4
apparently.
2012-12-10 11:12:57 +01:00
Senthil Kumaran
5962cce050
Fix Issue15701 : add .headers attribute to urllib.error.HTTPError
2012-12-10 02:09:35 -08:00
Hynek Schlawack
9d5e0cca85
#15872 : More shutil test fixes for Windows
2012-12-10 11:08:59 +01:00
Hynek Schlawack
9a4a750673
#15872 : More shutil test fixes for Windows
2012-12-10 11:08:09 +01:00
Hynek Schlawack
8e5a8296cc
#15872 : Fix shutil.rmtree error tests for Windows
2012-12-10 10:10:40 +01:00
Hynek Schlawack
b57b094077
#15872 : Fix shutil.rmtree error tests for Windows
2012-12-10 10:08:41 +01:00
Hynek Schlawack
9e8ac56e35
#15872 : Fix shutil.rmtree error tests for Windows
2012-12-10 10:07:11 +01:00
Hynek Schlawack
ae9a9e9a2d
#15872 : Fix 3.3 regression introduced by the new fd-based shutil.rmtree
...
It caused rmtree to not ignore certain errors when ignore_errors was set.
Patch by Alessandro Moura and Serhiy Storchaka.
2012-12-10 09:15:23 +01:00
Hynek Schlawack
b550110f64
#15872 : Fix 3.3 regression introduced by the new fd-based shutil.rmtree
...
It caused rmtree to not ignore certain errors when ignore_errors was set.
Patch by Alessandro Moura and Serhiy Storchaka.
2012-12-10 09:11:25 +01:00
Hynek Schlawack
d16eacba48
#15872 : Add tests for a 3.3 regression in the new fd-based shutil.rmtree
...
It cause shutil.rmtree not ignore all errors. Also add a test ensuring that
rmtree fails when being called on a symlink. Patch by Serhiy Storchaka.
2012-12-10 09:00:09 +01:00
Chris Jerdonek
e53e44f3bb
Issue #16629 : Merge IDLE test fix from 3.3.
2012-12-09 18:22:21 -08:00
Chris Jerdonek
af72f9ea9c
Issue #16629 : Merge IDLE test fix from 3.2.
2012-12-09 18:19:54 -08:00
Chris Jerdonek
175196886e
Issue #16629 : Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.
...
This commit updates a test broken by the change made for issue #14783 .
2012-12-09 18:17:27 -08:00
Andrew Svetlov
a6b292fbc7
Issue #16582 : use int exit code in tkinter._exit
2012-12-10 00:03:55 +02:00
Andrew Svetlov
14857cf8fa
Issue #16582 : use int exit code in tkinter._exit
2012-12-10 00:03:39 +02:00
Andrew Svetlov
806bfad457
Issue #16582 : use int exit code in tkinter._exit
2012-12-10 00:02:31 +02:00
Richard Oudkerk
07c34bf19f
Make test of poll() use unbuffered IO
2012-12-09 16:05:22 +00:00
Richard Oudkerk
53dff0c059
Issue #16616 : Enable test in test_poll which was (accidentally?) disabled
2012-12-09 16:05:20 +00:00
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