Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #12383: skip test_empty_env() of subprocess on Windows | Victor Stinner | 2011-06-22 | 1 | -0/+4 |
| | | | | | Cannot test an empty environment on Windows: Windows requires at least the SYSTEMROOT environment variable to start Python. | ||||
* | Issue #12383: fix test_empty_env() of subprocess on Mac OS X | Victor Stinner | 2011-06-22 | 1 | -2/+6 |
| | | | | | | 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. | ||||
* | Issue #12383: skip test_empty_env() if compiled is compiled in shared mode | Victor Stinner | 2011-06-21 | 1 | -2/+5 |
| | | | | | 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. | ||||
* | Close #12383: Fix subprocess module with env={}: don't copy the environment | Victor Stinner | 2011-06-21 | 3 | -8/+20 |
| | | | | variables, start with an empty environment. | ||||
* | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -6/+6 |
| | |||||
* | merge heads | Benjamin Peterson | 2011-06-21 | 5 | -10/+27 |
|\ | |||||
| * | Issue #12285: multiprocessing.Pool() raises a ValueError if the number of | Victor Stinner | 2011-06-20 | 2 | -0/+5 |
| | | | | | | | | processes if negative or null. | ||||
| * | Fix closes Issue12359 - Removing a confusing sentence from the previous change. | Senthil Kumaran | 2011-06-20 | 1 | -7/+7 |
| | | |||||
| * | Fix closes issue 12360 - correcting parameter names in asyncore documentation. | Senthil Kumaran | 2011-06-20 | 1 | -2/+2 |
| | | |||||
| * | minor space nit. | Senthil Kumaran | 2011-06-20 | 1 | -1/+1 |
| | | |||||
| * | Fix closes Issue12359 - Minor update to module import description. | Senthil Kumaran | 2011-06-20 | 1 | -7/+8 |
| | | |||||
| * | Whitespace nit fixed using reident. | Senthil Kumaran | 2011-06-19 | 1 | -1/+1 |
| | | |||||
| * | Fix closes Issue12315 - Updates to http.client documentation. | Senthil Kumaran | 2011-06-19 | 1 | -1/+12 |
| | | |||||
* | | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -1/+1 |
|/ | |||||
* | fix uglyNamingConvention | Benjamin Peterson | 2011-06-19 | 1 | -7/+7 |
| | |||||
* | merge from 3.1 for issue issue12261. | Senthil Kumaran | 2011-06-19 | 1 | -2/+2 |
|\ | |||||
| * | Fix closes issue12261 - Minor documention changes in the urllib.parse.rst | Senthil Kumaran | 2011-06-19 | 1 | -2/+2 |
| | | |||||
* | | #6771: fix docs: curses.wrapper is exposed as a function, not a module | R David Murray | 2011-06-18 | 1 | -33/+13 |
| | | | | | | | | Patch by July Tikhonov. | ||||
* | | #11584: make Header and make_header handle binary unknown-8bit input | R David Murray | 2011-06-18 | 3 | -2/+21 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | #11584: make decode_header handle Header objects correctly | R David Murray | 2011-06-18 | 3 | -4/+8 |
| | | | | | | | | This updates b21fdfa0019c, which fixed this bug incorrectly. | ||||
* | | #11700: proxy object close methods can now be called multiple times | R David Murray | 2011-06-18 | 3 | -5/+25 |
| | | | | | | | | 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 | 3 | -2/+37 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | posixmodule.c: fix function name in argument parsing | Victor Stinner | 2011-06-17 | 1 | -22/+22 |
| | | | | | | | | | | | | Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces. | ||||
* | | 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 | 3 | -0/+9 |
| | | | | | | | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti. | ||||
* | | Issue #12310: finalize the old process after _run_after_forkers() | Victor Stinner | 2011-06-17 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | merge heads | Benjamin Peterson | 2011-06-16 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fix typo. | Raymond Hettinger | 2011-06-16 | 1 | -1/+1 |
| | | | |||||
* | | | update link to pycrypto (closes #12351) | Benjamin Peterson | 2011-06-16 | 1 | -1/+1 |
|/ / | |||||
* | | Minor wording improvement | Éric Araujo | 2011-06-15 | 1 | -2/+2 |
| | | |||||
* | | Correct completely broken os.stat behavior on Windows XP. | Brian Curtin | 2011-06-14 | 1 | -10/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | branch merge? | Brian Curtin | 2011-06-13 | 27 | -80/+303 |
|\ \ | |||||
| * | | Updated Formatter.formatTime documentation. | Vinay Sajip | 2011-06-12 | 1 | -0/+7 |
| | | | |||||
| * | | Issue #12206: documentation for LogRecord constructor updated re. the level ↵ | Vinay Sajip | 2011-06-11 | 1 | -0/+3 |
| | | | | | | | | | | | | argument. | ||||
| * | | allow "fake" filenames in findsource (closes #9284) | Benjamin Peterson | 2011-06-11 | 3 | -2/+26 |
| | | | | | | | | | | | | | | | | | | This allows findsource() to work in doctests. A patch from Dirkjan Ochtman. | ||||
| * | | Add missing reST target to one heading in the tutorial | Éric Araujo | 2011-06-11 | 1 | -0/+2 |
| | | | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-06-11 | 0 | -0/+0 |
| |\ \ | | |/ | |||||
| | * | onto 3.1.5 | Benjamin Peterson | 2011-06-11 | 2 | -1/+13 |
| | | | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-06-11 | 1 | -0/+1 |
| |\ \ | | |/ | |||||
| | * | Added tag v3.1.4 for changeset c918ec9f3a76 | Benjamin Peterson | 2011-06-11 | 1 | -0/+1 |
| | | | |||||
| | * | bump to 3.1.4v3.1.4 | Benjamin Peterson | 2011-06-11 | 5 | -7/+7 |
| | | | |||||
| * | | Documented change for Issue #12168. | Vinay Sajip | 2011-06-10 | 1 | -0/+15 |
| | | | |||||
| * | | merge 3.1 (#12009) | Benjamin Peterson | 2011-06-10 | 4 | -44/+102 |
| |\ \ | | |/ | |||||
| | * | fix regression in netrc comment handling (closes #12009) | Benjamin Peterson | 2011-06-10 | 4 | -44/+105 |
| | | | |||||
| * | | null merge 3.1 (patch already applied to 3.2) | Victor Stinner | 2011-06-10 | 0 | -0/+0 |
| |\ \ | | |/ | |||||
| | * | 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 | 3 | -10/+28 |
| | | | | | | | | | | | | 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 | 3 | -1/+18 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | Issue #12168: SysLogHandler now allows NUL termination to be controlled ↵ | Vinay Sajip | 2011-06-09 | 2 | -1/+8 |
| | | | | | | | | | | | | using a new 'append_nul' attribute on the handler. | ||||
| * | | Correction to 88e318166eaf - Issue #11583 | Brian Curtin | 2011-06-09 | 2 | -6/+7 |
| | | | | | | | | | | | | | | | | | | 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. |