Commit Graph

30328 Commits

Author SHA1 Message Date
Giampaolo Rodola' 5051ca887c Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:38:17 +01:00
Giampaolo Rodola' 5e844c8052 Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:23:09 +01:00
Łukasz Langa 0210194d48 Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820. 2012-12-31 13:55:11 +01:00
Serhiy Storchaka 5da57027ef Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380. 2012-12-31 11:31:41 +02:00
Łukasz Langa 0dc5ab41f0 Merged `parser.clean()` fix (issue #16820) from 3.2. 2012-12-31 03:41:54 +01:00
Łukasz Langa 3a8479a583 Fixes `parser.clean()` reported in issue #16820. 2012-12-31 03:38:39 +01:00
Łukasz Langa 97eefc105e Merged fix for #15803 from 3.2 2012-12-31 02:25:28 +01:00
Łukasz Langa 3057469506 Fixes issue #15803: incorrect `ConfigParser.items()` docstring 2012-12-31 02:18:20 +01:00
Serhiy Storchaka 62c75f1e52 Issue #16645: Fix hardlink extracting test for tarfile. 2012-12-30 20:17:28 +02:00
Serhiy Storchaka 88339c44f8 Issue #16645: Fix hardlink extracting test for tarfile. 2012-12-30 20:16:30 +02:00
Eli Bendersky 52280c427a Skip a test correctly for the C-version. The decorator doesn't really work
because it evaluates its condition before pyET is even set by test_main.
Therefore, the check it moved to "runtime".
2012-12-30 06:27:56 -08:00
Eli Bendersky 7ec45f7a36 For Issue #16076: make sure that pickling of Element objects is tested, and do
it properly to avoid problems with test-run-order dependencies.
2012-12-30 06:17:49 -08:00
Serhiy Storchaka c1b59d4552 Issue #16688: Fix backreferences did make case-insensitive regex fail on non-ASCII strings.
Patch by Matthew Barnett.
2012-12-29 23:38:48 +02:00
Andrew Svetlov 2d8298dcd2 Fix docstring in curses (#16782) 2012-12-29 23:08:07 +02:00
Andrew Svetlov bac04e51ca Fix docstring in curses (#16782) 2012-12-29 23:07:50 +02:00
Serhiy Storchaka f1b63c6f0e Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file. 2012-12-29 22:36:23 +02:00
Serhiy Storchaka 051722d554 Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file. 2012-12-29 22:30:56 +02:00
Serhiy Storchaka f2b9cf4e61 Issue #16165: Fix sched.scheduler.run() method was block a scheduler for
other threads.
2012-12-29 21:34:11 +02:00
Serhiy Storchaka c04957bff3 Issue #16641: Fix default values of sched.scheduler.enter arguments were modifiable. 2012-12-29 21:13:45 +02:00
Serhiy Storchaka e912496c60 Issue #16642: Document kwargs field in sched.Event named tuple. 2012-12-29 20:57:52 +02:00
Antoine Pitrou 6464b84b3e Forward port new test for SSLSocket.connect_ex() 2012-12-28 19:08:49 +01:00
Antoine Pitrou ddb87ab1b4 Forward port new test for SSLSocket.connect_ex() 2012-12-28 19:07:43 +01:00
Antoine Pitrou 40f12ab0c5 Backport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_ex(). 2012-12-28 19:03:43 +01:00
Serhiy Storchaka 00e2843115 Issue #16761: Raise TypeError when int() called with base argument only. 2012-12-28 10:02:42 +02:00
Serhiy Storchaka 0b386d5247 Issue #16761: Raise TypeError when int() called with base argument only. 2012-12-28 09:42:11 +02:00
Serhiy Storchaka cf095f8e0f Issue #16761: Raise TypeError when int() or long() called with base argument only. 2012-12-28 09:31:59 +02:00
Chris Jerdonek 28441e353c Merge from 3.2: Issue #15324: Fix regrtest --fromfile, --match, --randomize. 2012-12-27 18:25:54 -08:00
Chris Jerdonek 1e4bd53a34 Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize. 2012-12-27 18:16:32 -08:00
Chris Jerdonek 3684c79e00 Issue #15324: Fix regrtest parsing of --fromfile and --randomize options. 2012-12-27 18:14:01 -08:00
Serhiy Storchaka c90be30b0d Issue #16792: Use assertIs() to test identity. 2012-12-28 00:44:20 +02:00
Serhiy Storchaka a29159b075 Issue #16793. Replace deprecated unittest asserts with modern counterparts. 2012-12-28 00:34:57 +02:00
Serhiy Storchaka 8876145fab Issue #16793. Replace deprecated unittest asserts with modern counterparts. 2012-12-28 00:32:19 +02:00
Serhiy Storchaka 1ef73d21a2 Issue #16792: Mark small ints test as CPython-only. 2012-12-28 00:16:53 +02:00
Serhiy Storchaka 3b3170447f Issue #16792: Mark small ints test as CPython-only. 2012-12-27 23:57:00 +02:00
Serhiy Storchaka 270767b2ce Issue #16792: Mark small ints test as CPython-only. 2012-12-27 23:07:00 +02:00
Chris Jerdonek 6f70fe8046 Issue #16790: add some of the recent issue #16045 int tests to test_long.
This patch also provides a simple way to share tests going forward
between test_int and test_long.
2012-12-27 12:53:29 -08:00
Brian Curtin 33e05e7905 Fix #16759. Convert DWORD registry values using unsigned long.
When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.
2012-12-27 14:37:06 -06:00
Brian Curtin 9640ead585 another merge 2012-12-27 14:14:42 -06:00
Brian Curtin 9eac6b3848 Merge 2012-12-27 14:12:43 -06:00
Brian Curtin e6bfa2911a Merge 3.2 2012-12-27 14:06:06 -06:00
Brian Curtin 172e42295f Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong.
When converting REG_DWORD registry values into Python ints, the conversion
needs to be made from an *unsigned* long to match the DWORD type.
2012-12-27 14:04:42 -06:00
Serhiy Storchaka a0b7e9c74c Null merge. 2012-12-27 22:00:12 +02:00
Serhiy Storchaka 64df4a1c45 Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
2012-12-27 21:53:06 +02:00
Serhiy Storchaka 07e0e06f8a Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
2012-12-27 21:38:04 +02:00
Serhiy Storchaka 61006a2113 Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE. 2012-12-27 21:34:23 +02:00
Brian Curtin 0e091b0365 Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.
This fixes a ValueError seen in winreg.SetValueEx when passed long
winreg.REG_DWORD values that should be supported by the underlying API.
2012-12-27 12:28:51 -06:00
Brian Curtin 62cf69ec7c Merge 3.2 2012-12-27 10:14:30 -06:00
Brian Curtin 12706f2082 Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD.
This fixes an OverflowError seen in winreg.SetValueEx when passed
winreg.REG_DWORD values that should be supported by the underlying API.
2012-12-27 10:12:45 -06:00
Hynek Schlawack 4a5a4c2808 #16618: Add more glob regression tests
Mostly about symlinks and str/unicode behavior.

Patch by Serhiy Storchaka.
2012-12-27 10:24:21 +01:00
Hynek Schlawack 6f52027168 #16618: Make glob.glob match consistently across strings and bytes
Fixes handling of leading dots.

Patch by Serhiy Storchaka.
2012-12-27 10:15:53 +01:00
Hynek Schlawack e26568f812 #16618: Make glob.glob match consistently across strings and bytes
Fixes handling of leading dots.

Patch by Serhiy Storchaka.
2012-12-27 10:10:11 +01:00
Andrew Svetlov b172697cd8 fix test for subprocess (#16644) 2012-12-26 23:34:54 +02:00
Andrew Svetlov 57a1233110 fix test for subprocess (#16644) 2012-12-26 23:31:45 +02:00
Kristján Valur Jónsson c8e7e2bb76 Merge with 3.2 :
Issue #14574: Ignore socket errors raised when flushing a connection on close.
2012-12-26 15:13:29 +00:00
Senthil Kumaran 00679a7ee0 Issue #16702: Skip proxies for localhost in urllib2_localnet tests 2012-12-26 01:46:39 -08:00
Senthil Kumaran 303eb478f2 Issue #16702: Skip proxies for localhost in urllib2_localnet tests 2012-12-26 01:45:58 -08:00
Senthil Kumaran 2f01e239cb Issue #16702: Skip proxies for localhost in urllib2_localnet tests 2012-12-26 01:45:22 -08:00
Kristján Valur Jónsson 36852b7844 Issue #14574: Ignore socket errors raised when flushing a connection on close. 2012-12-25 22:46:32 +00:00
Kristján Valur Jónsson b0d1c37d73 Issue #14574: Ignore socket errors raised when flushing a connection on close. 2012-12-25 22:46:32 +00:00
Kristján Valur Jónsson 2380feeff8 issue #879399
Fix line buffering of socket._fileobject
2012-12-25 13:04:50 +00:00
Ezio Melotti 94704fc25b #16765: remove unused import. 2012-12-25 14:25:47 +02:00
Andrew Svetlov 34dcdee177 Add test coverage for os.removedirs (#16775) 2012-12-25 12:20:39 +02:00
Andrew Svetlov 405faed511 Add test coverage for os.removedirs (#16775) 2012-12-25 12:18:09 +02:00
Senthil Kumaran bd6667aae3 Fix issue16713 - tel url parsing with params 2012-12-24 14:01:13 -08:00
Senthil Kumaran ed30199e78 Fix issue16713 - tel url parsing with params 2012-12-24 14:00:20 -08:00
Senthil Kumaran 1974baadc6 Fix issue16713 - tel url parsing with params 2012-12-24 13:56:54 -08:00
Andrew Svetlov 332562f447 Keep ref to ECHILD in local scope (#16650) 2012-12-24 20:09:27 +02:00
Andrew Svetlov 5b187ce700 Keep ref to ECHILD in local scope (#16650) 2012-12-24 20:06:52 +02:00
Andrew Svetlov 08bab07291 Keep ref to ECHILD in local scope (#16650) 2012-12-24 20:06:35 +02:00
Mark Dickinson 9fade768c8 Issue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat) 2012-12-24 16:33:18 +00:00
Andrew Svetlov d8590ff209 Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:17:59 +02:00
Andrew Svetlov 7174f0883c Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:16:47 +02:00
Andrew Svetlov 8a495a48a5 Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
2012-12-24 13:15:43 +02:00
Senthil Kumaran 0a6b9eca68 merge from 3.2
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:12:13 -08:00
Senthil Kumaran 41e66a26b0 Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly 2012-12-23 09:04:24 -08:00
Senthil Kumaran f8a6b005fd Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly 2012-12-23 09:00:47 -08:00
Andrew Svetlov f347cf903c merge heads 2012-12-23 12:51:40 +02:00
Andrew Svetlov 8e42e8a0c6 Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
2012-12-23 12:49:33 +02:00
Andrew Svetlov cddcafaf6b Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
2012-12-23 12:44:04 +02:00
Brett Cannon 73b969ec70 Issue #16752: Add a missing import to modulefinder.
Also fix Misc/ACKS to put part of it back in alphabetical order and
remove some duplicate names.

Patch by Berker Peksag.
2012-12-22 19:34:21 -05:00
Petri Lehtinen ab7dd183f3 #8853: Allow port to be of type long for socket.getaddrinfo() 2012-12-20 21:09:56 +02:00
Benjamin Peterson a2d6d7121e call close on the underlying stream even if flush raises (#16597) 2012-12-20 12:24:10 -06:00
Benjamin Peterson 68623614f0 call close on the underlying stream even if flush raises (closes #16597)
Patch by Serhiy Storchaka.
2012-12-20 11:53:11 -06:00
Benjamin Peterson 5ff3f73d94 try to call __bytes__ before __index__ (closes #16722) 2012-12-19 15:27:41 -06:00
Andrew Svetlov 1f415cf2c2 replace threw with raised (#16714) 2012-12-19 22:54:47 +02:00
Andrew Svetlov 7bd61cbc03 replace threw with raised (#16714) 2012-12-19 22:49:25 +02:00
Andrew Svetlov bacf1bf355 replace threw with raised (#16714) 2012-12-19 22:49:01 +02:00
Andrew Svetlov bd644608bd revert comment wording (#16714) 2012-12-19 22:47:05 +02:00
Antoine Pitrou 08d02724df Small cleanup in test_ftplib 2012-12-19 20:44:02 +01:00
Antoine Pitrou d5a070f586 Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related. 2012-12-18 23:44:36 +01:00
Antoine Pitrou 07edb82e4b Call importlib.invalidate_caches() after creating module files in test_threaded_import. 2012-12-18 23:28:04 +01:00
Antoine Pitrou e0b1c23145 Try to make test_threaded_import faster and safer (issue #15599). 2012-12-18 23:03:42 +01:00
Antoine Pitrou 202b60640b Add sanity assertions in some import lock code (issue #15599). 2012-12-18 22:18:17 +01:00
Andrew Svetlov 4bb142b1b7 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:27:37 +02:00
Andrew Svetlov 5b89840d9c Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov 737fb89dd1 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Giampaolo Rodola' b6375a2d91 Issue 16646 (ftplib): deliberately use intermediate variable after catching exception 2012-12-17 20:46:29 +01:00
Giampaolo Rodola' 57f3487994 Issue 16646 (ftplib): deliberately use intermediate variable after catching exception 2012-12-17 20:46:16 +01:00
Andrew Svetlov 80ab6c53c6 merge heads 2012-12-17 19:07:57 +02:00
Andrew Svetlov ed3f6c6c79 Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
2012-12-17 19:06:43 +02:00
Andrew Svetlov 3b69824de9 Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
2012-12-17 18:55:10 +02:00
Andrew Svetlov b6693c4604 Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
2012-12-17 18:54:53 +02:00
Giampaolo Rodola' c2a8169aa3 Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka) 2012-12-17 14:30:48 +01:00
Giampaolo Rodola' 896cb15d0c Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka) 2012-12-17 14:22:19 +01:00
Giampaolo Rodola' fc3278802c Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka) 2012-12-17 14:20:27 +01:00
Stefan Krah 9a4ff437d1 Issue #15783: Support None default values in the Context() constructor. 2012-12-16 21:10:35 +01:00
Antoine Pitrou 92f8b0016e Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related. 2012-12-16 16:40:04 +01:00
Antoine Pitrou 697ce5560f Fix ResourceWarnings in test_pty 2012-12-16 16:09:11 +01:00
Antoine Pitrou 33138df36a Issue #16696: fix comparison between bytes and string. Also, improve glob tests. 2012-12-16 16:03:42 +01:00
Antoine Pitrou 5461558d1a Issue #16696: fix comparison between bytes and string. Also, improve glob tests. 2012-12-16 16:03:01 +01:00
Antoine Pitrou 124ee8b1ab Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.
2012-12-16 13:55:47 +01:00
Antoine Pitrou 3c331bb729 Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.
2012-12-16 13:50:19 +01:00
Antoine Pitrou 3d068b2ecf Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.
2012-12-16 13:49:37 +01:00
Hynek Schlawack 9ca5893338 #16664: Add regression tests for glob's behaviour concerning "."-entries
Patch by Sebastian Kreft.
2012-12-16 12:44:07 +01:00
Hynek Schlawack dec59ec5ff #16664: Add regression tests for glob's behaviour concerning "."-entries
Patch by Sebastian Kreft.
2012-12-16 12:39:11 +01:00
Hynek Schlawack 646c7b5086 #16664: Add regression tests for glob's behaviour concerning "."-entries
Patch by Sebastian Kreft.
2012-12-16 12:30:57 +01:00
Stefan Krah 040e311826 Issue #15783: Except for the number methods, the C version of decimal now
supports all None default values present in decimal.py. These values were
largely undocumented.
2012-12-15 22:33:33 +01:00
Antoine Pitrou d20e7745ee Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.
2012-12-15 19:22:30 +01:00
Antoine Pitrou 084daa2f74 Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.
2012-12-15 19:11:54 +01:00
Antoine Pitrou 4113d2bd36 Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.
2012-12-15 19:11:54 +01: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 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 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 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 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 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 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 33b9b71e8d Issue #16582: use int exit code in tkinter._exit 2012-12-10 00:05:08 +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
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 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
É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
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