https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
eb5af22 Merge 3.2 29 June 2011, 03:19:36 UTC
657b2de Issue #9516: Update Misc/NEWS. 29 June 2011, 02:51:30 UTC
84d8fcf merge 3.1 29 June 2011, 02:49:40 UTC
a8f8b50 Issue #9516: Change distutils to no longer globally attempt to check and set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process on OS X. This could cause failures in non-distutils subprocesses and was unreliable since tests or user programs could modify the interpreter environment after distutils set it. Instead, have distutils set the the deployment target only in the environment of each build subprocess. Continue to use the previous algorithm for deriving the deployment target value: if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env: use the interpreter build configure MACOSX_DEPLOYMENT_TARGET elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value: use the env MACOSX_DEPLOYMENT_TARGET else: # env value less than interpreter build configure value raise exception This allows building extensions that can only run on newer versions of the OS than the version python was built for, for example with a python built for 10.3 or later and an extension that needs to be built for 10.5. 29 June 2011, 02:44:24 UTC
d13007f Issue #9516: Correct and expand OS X deployment target tests in distutils test_build_ext. 29 June 2011, 02:43:15 UTC
58f27b2 Issue #12141: Install a copy of template C module file so that test_build_ext of test_distutils is no longer silently skipped when run outside of a build directory. 28 June 2011, 07:42:50 UTC
3eb67d5 Issue #8746: Correct faulty configure checks so that os.chflags() and os.lchflags() are once again built on systems that support these functions (*BSD and OS X). Also add new stat file flags for OS X (UF_HIDDEN and UF_COMPRESSED). Also add additional tests for os.chflags() and os.lchflags(). (Tests by Garrett Cooper) 28 June 2011, 07:00:28 UTC
11f00f3 Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9 on Mac OS X. (Patch by Ronald Oussoren) 28 June 2011, 06:12:20 UTC
68b543a fix ws 27 June 2011, 22:51:18 UTC
6ccfe85 add more ast tests (closes #11302) A patch from Vincent Legoll. 27 June 2011, 22:46:06 UTC
84e3ccc Fix closes Issue12385 - Clarify maketrans method docstring for bytes and bytearray object. 27 June 2011, 16:06:45 UTC
0f93d3d strip trailing ws 27 June 2011, 14:18:46 UTC
a63a530 merge heads 27 June 2011, 14:16:14 UTC
8d77069 update profile license (closes #12417) 27 June 2011, 14:14:34 UTC
afa44a8 update profile license (closes #12417) 27 June 2011, 14:14:34 UTC
7d80bd1 Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior. 27 June 2011, 06:48:23 UTC
b34705f Issue #8890: Remove /tmp from examples. 26 June 2011, 13:29:06 UTC
038018a Issue #4608: urllib.request.urlopen does not return an iterable object 26 June 2011, 12:29:35 UTC
4850d52 #11363: add missing functions from curses doc. Patch by Sandro Tosi. 26 June 2011, 10:34:56 UTC
b6b7371 #11363: clean up curses doc. 26 June 2011, 10:38:11 UTC
fc3db8a #11669: rephrase footnote in the Compound Statements page. 26 June 2011, 08:25:28 UTC
54cc5fd Use correct markup in zipimport.rst. Patch by Sara Magliacane. 25 June 2011, 16:40:06 UTC
7079719 Issue 11802: filecmp cache was growing without bound. 25 June 2011, 15:20:21 UTC
6ddefd7 Issue 12086: add example showing how to use name mangling. 25 June 2011, 14:30:39 UTC
9d3df6d Issue 11889: Clarify docs for enumerate. 25 June 2011, 13:00:14 UTC
eceebeb Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro. 25 June 2011, 11:29:14 UTC
7e4b5c6 Merge #12228 25 June 2011, 10:04:08 UTC
40d9ebe Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi. 25 June 2011, 10:03:33 UTC
91b79af merge 25 June 2011, 09:50:00 UTC
4d5208d Fix typo (reported by Hiro Ashiya). 25 June 2011, 09:39:00 UTC
f00bfa2 #12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi. 25 June 2011, 09:36:38 UTC
5279fb9 Code simplification suggested by Sven Marnach. 25 June 2011, 09:30:53 UTC
dbfb9b8 Issue 12404: Remove C89 incompatible code from mmap module. Patch by Akira Kitada. 25 June 2011, 08:02:37 UTC
e697e37 #10206: add test for previously fixed bug. Patch by Francisco Martín Brugué. 24 June 2011, 17:26:31 UTC
24eb4bc #9921: clarify os.path.join joining algorithm The new wording is based on the comments in the code, which match the actual behavior. 24 June 2011, 01:26:13 UTC
66f7d66 Issue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6 23 June 2011, 12:22:28 UTC
f25ae48 Issue #11223: skip test_lock_acquire_interruption() on FreeBSD6 Locks are implemented using a mutex and a condition variable of the pthread library on FreeBSD6. POSIX condition variables cannot be interrupted by signals (see pthread_cond_wait manual page). 23 June 2011, 09:57:56 UTC
62d5118 Issue #12383: skip test_empty_env() of subprocess on Windows Cannot test an empty environment on Windows: Windows requires at least the SYSTEMROOT environment variable to start Python. 22 June 2011, 23:02:25 UTC
237e5cb Issue #12383: fix test_empty_env() of subprocess on Mac OS X Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix also the test on the Py_ENABLE_SHARED config varible: test that the variable is present, don't check it's value. 22 June 2011, 19:28:43 UTC
372309a Issue #12383: skip test_empty_env() if compiled is compiled in shared mode Try also to get more informations about the Mac OS X failure: display the keys of the environment, instead of just the number of variables. 21 June 2011, 19:59:06 UTC
f1512a2 Close #12383: Fix subprocess module with env={}: don't copy the environment variables, start with an empty environment. 21 June 2011, 15:18:38 UTC
b7149ca fix indentation 21 June 2011, 03:09:13 UTC
66b371e merge heads 21 June 2011, 02:40:34 UTC
f63d615 fix indentation 21 June 2011, 02:40:19 UTC
2fae27b Issue #12285: multiprocessing.Pool() raises a ValueError if the number of processes if negative or null. 20 June 2011, 15:53:35 UTC
4707a99 Fix closes Issue12359 - Removing a confusing sentence from the previous change. 20 June 2011, 14:30:34 UTC
656df5e Fix closes issue 12360 - correcting parameter names in asyncore documentation. 20 June 2011, 01:22:33 UTC
1508570 minor space nit. 20 June 2011, 00:41:33 UTC
5c0347b Fix closes Issue12359 - Minor update to module import description. 20 June 2011, 00:37:06 UTC
fd8d7e9 Whitespace nit fixed using reident. 19 June 2011, 23:59:41 UTC
ce9b596 Fix closes Issue12315 - Updates to http.client documentation. 19 June 2011, 23:56:49 UTC
206cd1c fix uglyNamingConvention 19 June 2011, 22:49:13 UTC
a977acc merge from 3.1 for issue issue12261. 19 June 2011, 20:55:48 UTC
fe9230a Fix closes issue12261 - Minor documention changes in the urllib.parse.rst 19 June 2011, 20:52:49 UTC
409c32f #6771: fix docs: curses.wrapper is exposed as a function, not a module Patch by July Tikhonov. 18 June 2011, 23:34:12 UTC
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
back to top