a6d2c76 | Victor Stinner | 30 June 2011, 16:20:11 UTC | Issue #12451: Open files in binary mode in some tests when the text file is not needed. Remove also an unused variable (blank) in test_threading. | 30 June 2011, 16:20:11 UTC |
eaf399e | Victor Stinner | 30 June 2011, 16:10:14 UTC | Issue #12451: The XInclude default loader of xml.etree now decodes files from UTF-8 instead of the locale encoding if the encoding is not specified. It now also opens XML files for the parser in binary mode instead of the text mode to avoid encoding issues. | 30 June 2011, 16:10:14 UTC |
12b8d14 | Victor Stinner | 30 June 2011, 15:35:55 UTC | Issue #12451: doctest.debug_script() doesn't create a temporary file anymore to avoid encoding issues (it used the locale encoding, whereas UTF-8 should be). Remove also an unused import (warnings). | 30 June 2011, 15:35:55 UTC |
e6c910e | Victor Stinner | 30 June 2011, 13:55:43 UTC | Issue #12451: pydoc.synopsis() now reads the encoding cookie if available, to read the Python script from the right encoding. | 30 June 2011, 13:55:43 UTC |
dc9b1ea | Victor Stinner | 30 June 2011, 13:40:22 UTC | Issue #12451: distutils now opens the setup script in binary mode to read the encoding cookie, instead of opening it in UTF-8. | 30 June 2011, 13:40:22 UTC |
fcc2a21 | Victor Stinner | 29 June 2011, 18:01:29 UTC | Issue #12400: regrtest.runtest() uses stream.seek(0) before .truncate() .truncate(0) doesn't rewind. | 29 June 2011, 18:01:29 UTC |
592f679 | Victor Stinner | 29 June 2011, 16:11:36 UTC | Issue #12400: test_zipimport_support doesn't restore original sys.stdout anymore regrtest doesn't check that a test doesn't output anything anymore. | 29 June 2011, 16:11:36 UTC |
85b3a49 | Victor Stinner | 29 June 2011, 15:26:38 UTC | Issue #12400: runtest() truncates the StringIO stream before a new test | 29 June 2011, 15:26:38 UTC |
125b2ba | Victor Stinner | 29 June 2011, 15:20:02 UTC | Issue #12400: Add missing import (os) to test_kqueue | 29 June 2011, 15:20:02 UTC |
bddc4d4 | Victor Stinner | 29 June 2011, 13:52:46 UTC | Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore regrtest doesn't check that tests doesn't write something to stdout anymore. Don't replace sys.stdout by the original sys.stdout to be able to capture the output for regrtest -W. | 29 June 2011, 13:52:46 UTC |
ea95de7 | Victor Stinner | 29 June 2011, 13:34:48 UTC | Issue #12400: regrtest, force verbose mode to True with option -W If verbose is False, the output is empty. Fix also a typo in a variable name. | 29 June 2011, 13:34:48 UTC |
8313d6a | Victor Stinner | 29 June 2011, 13:22:26 UTC | Issue #12400: runtest() reuses the same io.StringIO instance for all calls * Don't force verbose to True with option -W * Rename rerun_failed variable to output_on_failure | 29 June 2011, 13:22:26 UTC |
46b2091 | Victor Stinner | 29 June 2011, 12:59:10 UTC | Issue #12400: don't use sys.stderr in test_kqueue because it may be replaced by a io.StringIO object by regrtest (which has no file descriptor). | 29 June 2011, 12:59:10 UTC |
bd98f93 | Victor Stinner | 29 June 2011, 11:24:28 UTC | Issue #12400: remove unused variable | 29 June 2011, 11:24:28 UTC |
a7c33e5 | Victor Stinner | 29 June 2011, 11:00:54 UTC | Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but captures the output and displays it on failure instead. regrtest -v doesn't print the error twice anymore if there is only one error. | 29 June 2011, 11:00:54 UTC |
eb5af22 | Ned Deily | 29 June 2011, 03:19:36 UTC | Merge 3.2 | 29 June 2011, 03:19:36 UTC |
657b2de | Ned Deily | 29 June 2011, 02:51:30 UTC | Issue #9516: Update Misc/NEWS. | 29 June 2011, 02:51:30 UTC |
84d8fcf | Benjamin Peterson | 29 June 2011, 02:49:40 UTC | merge 3.1 | 29 June 2011, 02:49:40 UTC |
a8f8b50 | Ned Deily | 29 June 2011, 02:44:24 UTC | 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 | Ned Deily | 29 June 2011, 02:43:15 UTC | Issue #9516: Correct and expand OS X deployment target tests in distutils test_build_ext. | 29 June 2011, 02:43:15 UTC |
58f27b2 | Ned Deily | 28 June 2011, 07:42:50 UTC | 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 | Ned Deily | 28 June 2011, 07:00:28 UTC | 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 | Ned Deily | 28 June 2011, 06:12:20 UTC | 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 | Benjamin Peterson | 27 June 2011, 22:51:18 UTC | fix ws | 27 June 2011, 22:51:18 UTC |
6ccfe85 | Benjamin Peterson | 27 June 2011, 22:46:06 UTC | add more ast tests (closes #11302) A patch from Vincent Legoll. | 27 June 2011, 22:46:06 UTC |
84e3ccc | Senthil Kumaran | 27 June 2011, 16:06:45 UTC | Fix closes Issue12385 - Clarify maketrans method docstring for bytes and bytearray object. | 27 June 2011, 16:06:45 UTC |
0f93d3d | Benjamin Peterson | 27 June 2011, 14:18:46 UTC | strip trailing ws | 27 June 2011, 14:18:46 UTC |
a63a530 | Benjamin Peterson | 27 June 2011, 14:16:14 UTC | merge heads | 27 June 2011, 14:16:14 UTC |
8d77069 | Benjamin Peterson | 27 June 2011, 14:14:34 UTC | update profile license (closes #12417) | 27 June 2011, 14:14:34 UTC |
afa44a8 | Benjamin Peterson | 27 June 2011, 14:14:34 UTC | update profile license (closes #12417) | 27 June 2011, 14:14:34 UTC |
7d80bd1 | Senthil Kumaran | 27 June 2011, 06:48:23 UTC | Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior. | 27 June 2011, 06:48:23 UTC |
b34705f | Raymond Hettinger | 26 June 2011, 13:29:06 UTC | Issue #8890: Remove /tmp from examples. | 26 June 2011, 13:29:06 UTC |
038018a | Raymond Hettinger | 26 June 2011, 12:29:35 UTC | Issue #4608: urllib.request.urlopen does not return an iterable object | 26 June 2011, 12:29:35 UTC |
4850d52 | Ezio Melotti | 26 June 2011, 10:34:56 UTC | #11363: add missing functions from curses doc. Patch by Sandro Tosi. | 26 June 2011, 10:34:56 UTC |
b6b7371 | Ezio Melotti | 26 June 2011, 10:38:11 UTC | #11363: clean up curses doc. | 26 June 2011, 10:38:11 UTC |
fc3db8a | Ezio Melotti | 26 June 2011, 08:25:28 UTC | #11669: rephrase footnote in the Compound Statements page. | 26 June 2011, 08:25:28 UTC |
54cc5fd | Ezio Melotti | 25 June 2011, 16:40:06 UTC | Use correct markup in zipimport.rst. Patch by Sara Magliacane. | 25 June 2011, 16:40:06 UTC |
7079719 | Raymond Hettinger | 25 June 2011, 15:20:21 UTC | Issue 11802: filecmp cache was growing without bound. | 25 June 2011, 15:20:21 UTC |
6ddefd7 | Raymond Hettinger | 25 June 2011, 14:30:39 UTC | Issue 12086: add example showing how to use name mangling. | 25 June 2011, 14:30:39 UTC |
9d3df6d | Raymond Hettinger | 25 June 2011, 13:00:14 UTC | Issue 11889: Clarify docs for enumerate. | 25 June 2011, 13:00:14 UTC |
eceebeb | Mark Dickinson | 25 June 2011, 11:29:14 UTC | Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro. | 25 June 2011, 11:29:14 UTC |
7e4b5c6 | Mark Dickinson | 25 June 2011, 10:04:08 UTC | Merge #12228 | 25 June 2011, 10:04:08 UTC |
40d9ebe | Mark Dickinson | 25 June 2011, 10:03:33 UTC | Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi. | 25 June 2011, 10:03:33 UTC |
91b79af | Raymond Hettinger | 25 June 2011, 09:50:00 UTC | merge | 25 June 2011, 09:50:00 UTC |
4d5208d | Raymond Hettinger | 25 June 2011, 09:39:00 UTC | Fix typo (reported by Hiro Ashiya). | 25 June 2011, 09:39:00 UTC |
f00bfa2 | Ezio Melotti | 25 June 2011, 09:36:38 UTC | #12341: add coverage files/dirs to .hgignore. Patch by Sandro Tosi. | 25 June 2011, 09:36:38 UTC |
5279fb9 | Raymond Hettinger | 25 June 2011, 09:30:53 UTC | Code simplification suggested by Sven Marnach. | 25 June 2011, 09:30:53 UTC |
dbfb9b8 | Ross Lagerwall | 25 June 2011, 08:02:37 UTC | Issue 12404: Remove C89 incompatible code from mmap module. Patch by Akira Kitada. | 25 June 2011, 08:02:37 UTC |
e697e37 | R David Murray | 24 June 2011, 17:26:31 UTC | #10206: add test for previously fixed bug. Patch by Francisco Martín Brugué. | 24 June 2011, 17:26:31 UTC |
24eb4bc | R David Murray | 24 June 2011, 01:26:13 UTC | #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 | Victor Stinner | 23 June 2011, 12:22:28 UTC | Issue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6 | 23 June 2011, 12:22:28 UTC |
f25ae48 | Victor Stinner | 23 June 2011, 09:57:56 UTC | 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 | Victor Stinner | 22 June 2011, 23:02:25 UTC | 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 | Victor Stinner | 22 June 2011, 19:28:43 UTC | 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 | Victor Stinner | 21 June 2011, 19:59:06 UTC | 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 | Victor Stinner | 21 June 2011, 15:18:38 UTC | 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 | Benjamin Peterson | 21 June 2011, 03:09:13 UTC | fix indentation | 21 June 2011, 03:09:13 UTC |
66b371e | Benjamin Peterson | 21 June 2011, 02:40:34 UTC | merge heads | 21 June 2011, 02:40:34 UTC |
f63d615 | Benjamin Peterson | 21 June 2011, 02:40:19 UTC | fix indentation | 21 June 2011, 02:40:19 UTC |
2fae27b | Victor Stinner | 20 June 2011, 15:53:35 UTC | Issue #12285: multiprocessing.Pool() raises a ValueError if the number of processes if negative or null. | 20 June 2011, 15:53:35 UTC |
4707a99 | Senthil Kumaran | 20 June 2011, 14:30:34 UTC | Fix closes Issue12359 - Removing a confusing sentence from the previous change. | 20 June 2011, 14:30:34 UTC |
656df5e | Senthil Kumaran | 20 June 2011, 01:22:33 UTC | Fix closes issue 12360 - correcting parameter names in asyncore documentation. | 20 June 2011, 01:22:33 UTC |
1508570 | Senthil Kumaran | 20 June 2011, 00:41:33 UTC | minor space nit. | 20 June 2011, 00:41:33 UTC |
5c0347b | Senthil Kumaran | 20 June 2011, 00:37:06 UTC | Fix closes Issue12359 - Minor update to module import description. | 20 June 2011, 00:37:06 UTC |
fd8d7e9 | Senthil Kumaran | 19 June 2011, 23:59:41 UTC | Whitespace nit fixed using reident. | 19 June 2011, 23:59:41 UTC |
ce9b596 | Senthil Kumaran | 19 June 2011, 23:56:49 UTC | Fix closes Issue12315 - Updates to http.client documentation. | 19 June 2011, 23:56:49 UTC |
206cd1c | Benjamin Peterson | 19 June 2011, 22:49:13 UTC | fix uglyNamingConvention | 19 June 2011, 22:49:13 UTC |
a977acc | Senthil Kumaran | 19 June 2011, 20:55:48 UTC | merge from 3.1 for issue issue12261. | 19 June 2011, 20:55:48 UTC |
fe9230a | Senthil Kumaran | 19 June 2011, 20:52:49 UTC | Fix closes issue12261 - Minor documention changes in the urllib.parse.rst | 19 June 2011, 20:52:49 UTC |
409c32f | R David Murray | 18 June 2011, 23:34:12 UTC | #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 | R David Murray | 18 June 2011, 16:57:28 UTC | #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 | R David Murray | 18 June 2011, 16:30:55 UTC | #11584: make decode_header handle Header objects correctly This updates b21fdfa0019c, which fixed this bug incorrectly. | 18 June 2011, 16:30:55 UTC |
c88bce1 | R David Murray | 18 June 2011, 02:24:05 UTC | #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 | R David Murray | 17 June 2011, 16:54:56 UTC | #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 | Victor Stinner | 17 June 2011, 13:15:38 UTC | 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 | Victor Stinner | 17 June 2011, 12:53:02 UTC | Issue #10883: test_urllib2net closes socket explicitly | 17 June 2011, 12:53:02 UTC |
a4c45d7 | Victor Stinner | 17 June 2011, 12:01:18 UTC | 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 | Victor Stinner | 17 June 2011, 10:31:49 UTC | 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 | Benjamin Peterson | 16 June 2011, 23:51:24 UTC | merge heads | 16 June 2011, 23:51:24 UTC |
a08eb73 | Benjamin Peterson | 16 June 2011, 23:49:46 UTC | update link to pycrypto (closes #12351) | 16 June 2011, 23:49:46 UTC |
a63d45c | Raymond Hettinger | 16 June 2011, 21:32:10 UTC | Fix typo. | 16 June 2011, 21:32:10 UTC |
8ddf7c2 | Éric Araujo | 15 June 2011, 15:49:20 UTC | Minor wording improvement | 15 June 2011, 15:49:20 UTC |
c8be840 | Brian Curtin | 14 June 2011, 14:52:50 UTC | 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 | Brian Curtin | 13 June 2011, 21:10:32 UTC | branch merge? | 13 June 2011, 21:10:32 UTC |
d25aef5 | Brian Curtin | 13 June 2011, 20:16:04 UTC | 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 | Vinay Sajip | 12 June 2011, 10:44:28 UTC | Updated Formatter.formatTime documentation. | 12 June 2011, 10:44:28 UTC |
0aaa9e1 | Vinay Sajip | 11 June 2011, 22:03:37 UTC | Issue #12206: documentation for LogRecord constructor updated re. the level argument. | 11 June 2011, 22:03:37 UTC |
9620cc0 | Benjamin Peterson | 11 June 2011, 20:53:11 UTC | 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 | Benjamin Peterson | 11 June 2011, 16:33:01 UTC | onto 3.1.5 | 11 June 2011, 16:33:01 UTC |
f2ff305 | Benjamin Peterson | 11 June 2011, 14:59:17 UTC | Added tag v3.1.4 for changeset c918ec9f3a76 | 11 June 2011, 14:59:17 UTC |
d858df2 | Benjamin Peterson | 11 June 2011, 14:58:58 UTC | bump to 3.1.4 | 11 June 2011, 14:58:58 UTC |
9fbfe15 | Éric Araujo | 11 June 2011, 08:34:19 UTC | Add missing reST target to one heading in the tutorial | 11 June 2011, 08:34:19 UTC |
49e7bb9 | Benjamin Peterson | 11 June 2011, 16:34:31 UTC | merge 3.1 | 11 June 2011, 16:34:31 UTC |
98661d1 | Benjamin Peterson | 11 June 2011, 15:01:14 UTC | merge 3.1 | 11 June 2011, 15:01:14 UTC |
645e458 | Vinay Sajip | 10 June 2011, 17:52:50 UTC | Documented change for Issue #12168. | 10 June 2011, 17:52:50 UTC |
9aa68e4 | Benjamin Peterson | 10 June 2011, 17:29:40 UTC | merge 3.1 (#12009) | 10 June 2011, 17:29:40 UTC |
1df0f21 | Benjamin Peterson | 10 June 2011, 16:32:52 UTC | fix regression in netrc comment handling (closes #12009) | 10 June 2011, 16:32:52 UTC |
a136608 | Victor Stinner | 10 June 2011, 14:37:41 UTC | null merge 3.1 (patch already applied to 3.2) | 10 June 2011, 14:37:41 UTC |
e6eafa2 | Victor Stinner | 10 June 2011, 14:32:54 UTC | 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 | R David Murray | 09 June 2011, 19:50:51 UTC | #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 |