Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
e5e366c #11584: make Header and make_header handle binary unknown-8bit input Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset. 18 June 2011, 16:57:28 UTC
6bdb176 #11584: make decode_header handle Header objects correctly This updates b21fdfa0019c, which fixed this bug incorrectly. 18 June 2011, 16:30:55 UTC
c88bce1 #11700: proxy object close methods can now be called multiple times This makes them work like the close provided by regular file objects. 18 June 2011, 02:24:05 UTC
05ff990 #11767: use context manager to close file in __getitem__ to prevent FD leak 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. 17 June 2011, 16:54:56 UTC
26de69d posixmodule.c: fix function name in argument parsing Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces. 17 June 2011, 13:15:38 UTC
eaca5c8 Issue #10883: test_urllib2net closes socket explicitly 17 June 2011, 12:53:02 UTC
a4c45d7 Issue #12133: fix a ResourceWarning in urllib.request AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti. 17 June 2011, 12:01:18 UTC
0f83b15 Issue #12310: finalize the old process after _run_after_forkers() multiprocessing: Process._bootstrap() keeps a reference to the old process to delay its finalization until after _run_after_forkers() as been executed. This change should fix a crash on Mac OS X Tiger when a lock is released after a fork. Patch written by Charles-François Nataliv and Antoine Pitrou. 17 June 2011, 10:31:49 UTC
b4cfa3a merge heads 16 June 2011, 23:51:24 UTC
a08eb73 update link to pycrypto (closes #12351) 16 June 2011, 23:49:46 UTC
a63d45c Fix typo. 16 June 2011, 21:32:10 UTC
8ddf7c2 Minor wording improvement 15 June 2011, 15:49:20 UTC
c8be840 Correct completely broken os.stat behavior on Windows XP. After 1a3e8db28d49, Windows XP could not os.stat at all due to raising immediately when GetFinalPathNameByHandle wasn't available (pre-Vista). The proper behavior in that situation is to just not attempt a traversal rather than outright rejecting. This change additionally handles a failed malloc by setting the error code and returning false. Patch by Hirokazu Yamamoto. 14 June 2011, 14:52:50 UTC
a87d586 branch merge? 13 June 2011, 21:10:32 UTC
d25aef5 Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. 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). 13 June 2011, 20:16:04 UTC
cdc7517 Updated Formatter.formatTime documentation. 12 June 2011, 10:44:28 UTC
0aaa9e1 Issue #12206: documentation for LogRecord constructor updated re. the level argument. 11 June 2011, 22:03:37 UTC
9620cc0 allow "fake" filenames in findsource (closes #9284) This allows findsource() to work in doctests. A patch from Dirkjan Ochtman. 11 June 2011, 20:53:11 UTC
acde6a0 onto 3.1.5 11 June 2011, 16:33:01 UTC
f2ff305 Added tag v3.1.4 for changeset c918ec9f3a76 11 June 2011, 14:59:17 UTC
d858df2 bump to 3.1.4 11 June 2011, 14:58:58 UTC
9fbfe15 Add missing reST target to one heading in the tutorial 11 June 2011, 08:34:19 UTC
49e7bb9 merge 3.1 11 June 2011, 16:34:31 UTC
98661d1 merge 3.1 11 June 2011, 15:01:14 UTC
645e458 Documented change for Issue #12168. 10 June 2011, 17:52:50 UTC
9aa68e4 merge 3.1 (#12009) 10 June 2011, 17:29:40 UTC
1df0f21 fix regression in netrc comment handling (closes #12009) 10 June 2011, 16:32:52 UTC
a136608 null merge 3.1 (patch already applied to 3.2) 10 June 2011, 14:37:41 UTC
e6eafa2 Issue #10801: Fix test_unicode_filenames() of test_zipfile 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). 10 June 2011, 14:32:54 UTC
4fbb9db #10694: zipfile now ignores garbage at the end of a zipfile. Original fix by 'rep', final patch (with tests) by Xuanji Li. 09 June 2011, 19:50:51 UTC
0f663d0 #12283: Fixed regression in smtplib quoting of leading dots in DATA. 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. 09 June 2011, 19:05:57 UTC
8168d10 Issue #12168: SysLogHandler now allows NUL termination to be controlled using a new 'append_nul' attribute on the handler. 09 June 2011, 15:50:49 UTC
95d028f Correction to 88e318166eaf - Issue #11583 Rather than wrapping the C _isdir function in a Python function, just import the C _isdir function directly. Additionally, add in the docstring which was left out. 09 June 2011, 14:10:38 UTC
ebc991c Branch merge 09 June 2011, 11:13:24 UTC
9c669cc Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat. By changing to the Windows GetFileAttributes API in nt._isdir we can figure out if the path is a directory without opening the file via os.stat. This has the minor benefit of speeding up os.path.isdir by at least 2x for regular files and 10-15x improvements were seen on symbolic links (which opened the file multiple times during os.stat). Since os.path.isdir is used in several places on interpreter startup, we get a minor speedup in startup time. 08 June 2011, 23:17:18 UTC
d2f8cec Fix a few misuses of :option: I missed in r86521. Extract of the commit message: Fix usage of :option: in the docs (#9312). :option: is used to create a link to an option of python, not to mark up any instance of any arbitrary command-line option. These were changed to ````. 08 June 2011, 03:29:39 UTC
96deb75 Add links from builtins module docs to built-in functions and constants docs 08 June 2011, 02:53:20 UTC
b805c47 Add examples that work on Windows to distutils docs (#1626300) 07 June 2011, 23:11:36 UTC
b8f2ad0 Remove outdated bit of advice (584f9c213a6d follow-up) 07 June 2011, 22:47:49 UTC
41c1910 #12274: use proper escaping for % in IDLE config. 07 June 2011, 13:19:44 UTC
62ec61f test.support: can_symlink() removes the temporary symbolic link 07 June 2011, 10:17:15 UTC
5b52f95 Branch merge 06 June 2011, 15:11:47 UTC
b8c6013 null merge 05 June 2011, 17:43:03 UTC
63660ce merge:Do not add txt files twice 05 June 2011, 17:42:21 UTC
721bb33 Add 3.1.4 UUIDs. 05 June 2011, 08:56:44 UTC
4c226da Do not add txt files twice. 05 June 2011, 08:55:57 UTC
70798be Remove unneeded executable bit on two distutils files 04 June 2011, 18:47:26 UTC
fa088db Improve glossary entry for ABCs. - Rename reST target name for collections ABCs to avoid collisions - Add link to importlib ABCs (collections, numbers and io ABCs were already linked) - Link to glossary entry from numbers module doc (other modules already do it) 04 June 2011, 16:42:38 UTC
f5048a4 Issue #12016: Add test_errorhandle() to TestBase_Mapping of test_multibytecodec_support. Improve also error message of the test_errorhandle() of TestBase. 03 June 2011, 21:44:39 UTC
5dfe3bb Issue #12016: Reindent decoders of HK and JP codecs 03 June 2011, 21:34:09 UTC
07e58c3 Remove link that’s already present at the top of the file 03 June 2011, 18:43:42 UTC
98e68ad Document working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe. 03 June 2011, 17:25:58 UTC
3d89057 Fix named tuples to work with vars(). 03 June 2011, 06:40:24 UTC
9028928 Forward port doc updates for builtin functions. 01 June 2011, 23:17:23 UTC
affcf29 Branch merge 01 June 2011, 17:39:27 UTC
88701e2 Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file 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. 01 June 2011, 11:13:04 UTC
fdb2d90 merge 3.1 01 June 2011, 02:38:49 UTC
52e6144 return NULL on error 01 June 2011, 02:38:15 UTC
5c2b09e be extra careful with a borrowed reference when the GIL could be released (closes #8578) 01 June 2011, 02:31:37 UTC
2e3a38a demote this to a note 01 June 2011, 02:27:41 UTC
0aa71f7 merge 3.1 (#12221) 01 June 2011, 00:06:17 UTC
a22c98d simply use the Python version for pyexpat.__version__ #12221 31 May 2011, 23:59:49 UTC
87b9bc3 Close #12085: Fix an attribute error in subprocess.Popen destructor if the constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan. 31 May 2011, 22:57:47 UTC
5864b9f Fix markup: arguments in a class directive are __init__ arguments, not base classes 31 May 2011, 19:50:38 UTC
9bcf8bf Fix error message to use the Python name instead of the C name 31 May 2011, 12:08:26 UTC
ee49797 Issue #12057: Add tests for ISO 2022 codecs iso2022_jp, iso2022_jp_2 and iso2022_kr 30 May 2011, 22:01:24 UTC
19c5233 Issue #1195: fix the issue number of the NEWS entry 30 May 2011, 21:50:04 UTC
4f71101 Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c. 30 May 2011, 21:46:00 UTC
76450a9 merge 3.1 29 May 2011, 21:43:52 UTC
bb11bb0 Added tag v3.1.4rc1 for changeset 32fcb9e94985 29 May 2011, 21:10:15 UTC
5f250fb update pydoc-topics 29 May 2011, 21:09:08 UTC
9a63745 bump to 3.1.4rc1 29 May 2011, 21:06:00 UTC
75e86a6 Merge 3.1 29 May 2011, 16:07:12 UTC
4b8f665 Branch merge 29 May 2011, 16:05:53 UTC
e4427bf Branch merge 29 May 2011, 15:56:20 UTC
6747381 Record null merge of Issue #12205 29 May 2011, 09:42:28 UTC
d5a9196 Issue #12205: Fix test_subprocess failure due to uninstalled test data. 29 May 2011, 09:39:02 UTC
87418af Fix typo in 0311f62714f7 29 May 2011, 01:48:49 UTC
6a21f55 Don’t misuse “package data” in pprint example 29 May 2011, 01:46:31 UTC
f0ab5d6 Fix typos in Misc/NEWS 29 May 2011, 01:43:59 UTC
c5069e0 Merge doc touch-ups and fixes for #9831 and #9223 from 3.1 28 May 2011, 22:29:56 UTC
456ae89 Re-add missing doc stub for the distutils check command 28 May 2011, 22:22:06 UTC
000893f Minor touch-ups in distutils.cmd.Command doc 28 May 2011, 22:14:45 UTC
489c8ff Fix test_build_py when sys.dont_write_bytecode is true (#9831). The tests now pass all combinations of -O/-OO and -B. See also #7071 and #6292 for previous variations on the same theme. test_versionpredicate needs a skip when sys.flags.optimize is true, but I don’t know how to make that work with a DocTestSuite. 28 May 2011, 21:32:50 UTC
7439e7b Fix ProcessTestCasePOSIXPurePython to test the module from import when _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. 28 May 2011, 16:06:02 UTC
6e5fd04 Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds, ensure "make install" creates symlinks in --prefix bin for the "-32" files in the framework bin directory like the installer does. 28 May 2011, 12:59:55 UTC
32b5cb0 Issue #985064: Make plistlib more resilient to faulty input plists. Patch by Mher Movsisyan. 28 May 2011, 10:02:30 UTC
b8e59f7 Issue #985064: Make plistlib more resilient to faulty input plists. Patch by Mher Movsisyan. 28 May 2011, 09:19:19 UTC
056f5b9 Issue #9670: Increase the default stack size for secondary threads on Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) 28 May 2011, 07:36:12 UTC
9a7c524 Issue #9670: Increase the default stack size for secondary threads on Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) 28 May 2011, 07:19:56 UTC
a290bac merge 3.1 27 May 2011, 19:17:19 UTC
0a5dad9 fix spacing 27 May 2011, 19:17:04 UTC
5218853 merge 3.1 27 May 2011, 19:10:36 UTC
74897ba fix indentation 27 May 2011, 19:10:24 UTC
f33de71 Minor doc addition for clarity 27 May 2011, 02:42:47 UTC
e0854f9 Add missing closing paren 27 May 2011, 02:36:52 UTC
b5096f7 Merge 3.1 26 May 2011, 14:50:31 UTC
d4ae04f Branch merge 26 May 2011, 14:50:19 UTC
dec2067 Branch merge 26 May 2011, 14:49:59 UTC
f2c6db5 Issue #12090: backport 79fcd71d0356 25 May 2011, 22:37:45 UTC
back to top