| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix uglyNamingConvention | Benjamin Peterson | 2011-06-19 | 1 | -7/+7 |
| | | |||||
| * | #11700: proxy object close methods can now be called multiple times | R David Murray | 2011-06-18 | 1 | -1/+12 |
| | | | | | This makes them work like the close provided by regular file objects. | ||||
| * | #11767: use context manager to close file in __getitem__ to prevent FD leak | R David Murray | 2011-06-17 | 1 | -1/+32 |
| | | | | | | | | | All of the other methods in mailbox that create message objects take care to close the file descriptors they use, so it seems to make sense to have __getitem__ do so as well. Patch by Filip Gruszczyński. | ||||
| * | Issue #10883: test_urllib2net closes socket explicitly | Victor Stinner | 2011-06-17 | 1 | -0/+8 |
| | | |||||
| * | Issue #12133: fix a ResourceWarning in urllib.request | Victor Stinner | 2011-06-17 | 1 | -0/+3 |
| | | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti. | ||||
| * | branch merge? | Brian Curtin | 2011-06-13 | 5 | -40/+146 |
| |\ | |||||
| | * | allow "fake" filenames in findsource (closes #9284) | Benjamin Peterson | 2011-06-11 | 1 | -0/+17 |
| | | | | | | | | | | | | | This allows findsource() to work in doctests. A patch from Dirkjan Ochtman. | ||||
| | * | merge 3.1 (#12009) | Benjamin Peterson | 2011-06-10 | 1 | -39/+92 |
| | |\ | |||||
| | | * | fix regression in netrc comment handling (closes #12009) | Benjamin Peterson | 2011-06-10 | 1 | -39/+92 |
| | | | | |||||
| | | * | Issue #10801: Fix test_unicode_filenames() of test_zipfile | Victor Stinner | 2011-06-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | Just try to open files from the ZIP for reading, don't extract them to avoid UnicodeEncodeError if the filename is not encodable to the filesystem encoding (e.g. ASCII locale encoding). | ||||
| | * | | #10694: zipfile now ignores garbage at the end of a zipfile. | R David Murray | 2011-06-09 | 1 | -0/+18 |
| | | | | | | | | | | | | | Original fix by 'rep', final patch (with tests) by Xuanji Li. | ||||
| | * | | #12283: Fixed regression in smtplib quoting of leading dots in DATA. | R David Murray | 2011-06-09 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | I unfortunately introduced the regression when I refactored the code, and there were no tests of quoting so it wasn't caught. Now there is one. | ||||
| | * | | test.support: can_symlink() removes the temporary symbolic link | Victor Stinner | 2011-06-07 | 1 | -1/+4 |
| | | | | |||||
| * | | | Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. | Brian Curtin | 2011-06-13 | 2 | -1/+46 |
| |/ / | | | | | | | | | | | | | | | | | | | | | Use of DeviceIoControl to obtain the symlink path via the reparse tag was removed. The code now uses GetFinalPathNameByHandle in the case of a symbolic link and works properly given the added test which creates a symbolic link and calls os.stat on it from multiple locations. Victor Stinner also noticed an issue with os.lstat following the os.stat code path when being passed bytes. The posix_lstat function was adjusted to properly hook up win32_lstat instead of the previous STAT macro (win32_stat). | ||||
| * | | Issue #12016: Add test_errorhandle() to TestBase_Mapping of | Victor Stinner | 2011-06-03 | 1 | -3/+33 |
| | | | | | | | | | | | test_multibytecodec_support. Improve also error message of the test_errorhandle() of TestBase. | ||||
| * | | Fix named tuples to work with vars(). | Raymond Hettinger | 2011-06-03 | 1 | -1/+1 |
| | | | |||||
| * | | Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file | Victor Stinner | 2011-06-01 | 2 | -1/+34 |
| | | | | | | | | | | | | | | | | | descriptor of a pipe closed in the parent process is valid in the child process according to fstat(), but the mode of the file descriptor is invalid, and read or write raise an error. Add also requires_mac_ver() decorator to test.support. | ||||
| * | | Close #12085: Fix an attribute error in subprocess.Popen destructor if the | Victor Stinner | 2011-05-31 | 1 | -0/+10 |
| | | | | | | | | | | | constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan. | ||||
| * | | Issue #12057: Add tests for ISO 2022 codecs | Victor Stinner | 2011-05-30 | 6 | -1/+77 |
| | | | | | | | | | iso2022_jp, iso2022_jp_2 and iso2022_kr | ||||
| * | | Fix ProcessTestCasePOSIXPurePython to test the module from import when | Gregory P. Smith | 2011-05-28 | 1 | -9/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | _posixsubprocess doesn't exist rather than simply stubbing it out after the fact. This adds coverage for the RuntimeWarning as well as using the pure python _create_pipe instead of using _posixsubprocess.cloexec_pipe unintentionally with the pure python code. Ironically: I don't think any platform should ever actually _use_ the pure Python subprocess code on POSIX platforms anymore. This at least tests it properly in this stable branch. The pure python code for this is likely to be removed in 3.3. | ||||
| * | | Issue #985064: Make plistlib more resilient to faulty input plists. | Ned Deily | 2011-05-28 | 1 | -0/+26 |
| |\ \ | |/ | | | | | Patch by Mher Movsisyan. | ||||
| | * | Issue #985064: Make plistlib more resilient to faulty input plists. | Ned Deily | 2011-05-28 | 1 | -0/+26 |
| | | | | | | | | | Patch by Mher Movsisyan. | ||||
| * | | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-05-28 | 1 | -0/+32 |
| |\ \ | |/ | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) | ||||
| | * | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-05-28 | 1 | -0/+31 |
| | | | | | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) | ||||
| * | | (Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read() | Victor Stinner | 2011-05-25 | 1 | -2/+5 |
| |\ \ | |/ | | | | | returns None. | ||||
| | * | Issue #12175: RawIOBase.readall() now returns None if read() returns None. | Victor Stinner | 2011-05-25 | 1 | -2/+5 |
| | | | |||||
| * | | (Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead of | Victor Stinner | 2011-05-25 | 1 | -0/+2 |
| |\ \ | |/ | | | | | an IOError if the file is closed. | ||||
| | * | Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if | Victor Stinner | 2011-05-25 | 1 | -0/+2 |
| | | | | | | | | | the file is closed. | ||||
| * | | (Merge 3.1) Issue #12057: Add tests for the HZ encoding | Victor Stinner | 2011-05-24 | 3 | -0/+33 |
| |\ \ | |/ | |||||
| | * | Issue #12057: Add tests for the HZ encoding | Victor Stinner | 2011-05-24 | 3 | -0/+33 |
| | | | |||||
| * | | Issue #12070: Fix the Makefile parser of the sysconfig module to handle | Victor Stinner | 2011-05-24 | 1 | -10/+24 |
| | | | | | | | | | correctly references to "bogus variable" (e.g. "prefix=$/opt/python"). | ||||
| * | | (Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs at | Victor Stinner | 2011-05-24 | 1 | -0/+30 |
| |\ \ | |/ | | | | | | | each call to their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
| | * | Issue #12100: Don't reset incremental encoders of CJK codecs at each call to | Victor Stinner | 2011-05-24 | 1 | -0/+30 |
| | | | | | | | | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
| * | | #12074: remove the /0 when there are no failures. | Ezio Melotti | 2011-05-23 | 1 | -2/+4 |
| | | | |||||
| * | | merge heads | Benjamin Peterson | 2011-05-23 | 1 | -5/+6 |
| |\ \ | |||||
| | * | | Issue #12074: regrtest displays also the current number of failures | Victor Stinner | 2011-05-23 | 1 | -5/+6 |
| | | | | |||||
| * | | | merge 3.1 | Benjamin Peterson | 2011-05-23 | 1 | -0/+1 |
| |\ \ \ | |/ / |/| / | |/ | |||||
| | * | correctly lookup __dir__ | Benjamin Peterson | 2011-05-23 | 1 | -0/+1 |
| | | | |||||
| * | | Merge 3.1 | Victor Stinner | 2011-05-23 | 1 | -7/+6 |
| |\ \ | |/ | |||||
| | * | test_codecs now removes the temporay file (created by the test) | Victor Stinner | 2011-05-23 | 1 | -7/+6 |
| | | | |||||
| | * | Issue #10801: Remove a debug print() from test_zipfile | Victor Stinner | 2011-05-22 | 1 | -1/+0 |
| | | | |||||
| * | | Issue #12138: fix use of transient_internet() in test_urllibnet | Antoine Pitrou | 2011-05-22 | 1 | -77/+62 |
| | | | |||||
| * | | test_pydoc: skip PydocServerTest if thread support is disabled | Victor Stinner | 2011-05-20 | 1 | -0/+6 |
| | | | |||||
| * | | (Merge 3.1) Issue #12124: zipimport doesn't keep a reference to | Victor Stinner | 2011-05-19 | 1 | -17/+0 |
| |\ \ | |/ | | | | | zlib.decompress() anymore to be able to unload the module. | ||||
| | * | Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore | Victor Stinner | 2011-05-19 | 1 | -17/+0 |
| | | | | | | | | | to be able to unload the module. | ||||
| | * | Ooops, add the missing file of the backport of commit 33543b4e0e5d from Python | Victor Stinner | 2011-05-18 | 1 | -0/+0 |
| | | | | | | | | | | | 3.2 (#10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.) | ||||
| | * | Backport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, support | Victor Stinner | 2011-05-18 | 1 | -3/+26 |
| | | | | | | | | | | | different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky. | ||||
| * | | Issue #12065: connect_ex() on an SSL socket now returns the original errno | Antoine Pitrou | 2011-05-18 | 1 | -0/+17 |
| | | | | | | | | | when the socket's timeout expires (it used to return None). | ||||
| * | | Issue #12096: Fix a race condition in test_threading.test_waitfor(). Patch | Victor Stinner | 2011-05-17 | 1 | -1/+1 |
| | | | | | | | | | written by Charles-François Natali. | ||||
| * | | (Merge 3.1) Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't | Victor Stinner | 2011-05-16 | 1 | -1/+1 |
| |\ \ | |/ | | | | | exist anymore | ||||
