summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Close #12383: Fix subprocess module with env={}: don't copy the environmentVictor Stinner2011-06-213-8/+20
| | | | variables, start with an empty environment.
* fix indentationBenjamin Peterson2011-06-211-6/+6
|
* merge headsBenjamin Peterson2011-06-215-10/+27
|\
| * Issue #12285: multiprocessing.Pool() raises a ValueError if the number ofVictor Stinner2011-06-202-0/+5
| | | | | | | | processes if negative or null.
| * Fix closes Issue12359 - Removing a confusing sentence from the previous change.Senthil Kumaran2011-06-201-7/+7
| |
| * Fix closes issue 12360 - correcting parameter names in asyncore documentation.Senthil Kumaran2011-06-201-2/+2
| |
| * minor space nit.Senthil Kumaran2011-06-201-1/+1
| |
| * Fix closes Issue12359 - Minor update to module import description.Senthil Kumaran2011-06-201-7/+8
| |
| * Whitespace nit fixed using reident.Senthil Kumaran2011-06-191-1/+1
| |
| * Fix closes Issue12315 - Updates to http.client documentation.Senthil Kumaran2011-06-191-1/+12
| |
* | fix indentationBenjamin Peterson2011-06-211-1/+1
|/
* fix uglyNamingConventionBenjamin Peterson2011-06-191-7/+7
|
* merge from 3.1 for issue issue12261.Senthil Kumaran2011-06-191-2/+2
|\
| * Fix closes issue12261 - Minor documention changes in the urllib.parse.rstSenthil Kumaran2011-06-191-2/+2
| |
* | #6771: fix docs: curses.wrapper is exposed as a function, not a moduleR David Murray2011-06-181-33/+13
| | | | | | | | Patch by July Tikhonov.
* | #11584: make Header and make_header handle binary unknown-8bit inputR David Murray2011-06-183-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 correctlyR David Murray2011-06-183-4/+8
| | | | | | | | This updates b21fdfa0019c, which fixed this bug incorrectly.
* | #11700: proxy object close methods can now be called multiple timesR David Murray2011-06-183-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 leakR David Murray2011-06-173-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 parsingVictor Stinner2011-06-171-22/+22
| | | | | | | | | | | | Fix os.fchown() and os.open() Remove also trailing spaces and replace tabs by spaces.
* | Issue #10883: test_urllib2net closes socket explicitlyVictor Stinner2011-06-171-0/+8
| |
* | Issue #12133: fix a ResourceWarning in urllib.requestVictor Stinner2011-06-173-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 Stinner2011-06-171-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 headsBenjamin Peterson2011-06-161-1/+1
|\ \
| * | Fix typo.Raymond Hettinger2011-06-161-1/+1
| | |
* | | update link to pycrypto (closes #12351)Benjamin Peterson2011-06-161-1/+1
|/ /
* | Minor wording improvementÉric Araujo2011-06-151-2/+2
| |
* | Correct completely broken os.stat behavior on Windows XP.Brian Curtin2011-06-141-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 Curtin2011-06-1327-80/+303
|\ \
| * | Updated Formatter.formatTime documentation.Vinay Sajip2011-06-121-0/+7
| | |
| * | Issue #12206: documentation for LogRecord constructor updated re. the level ↵Vinay Sajip2011-06-111-0/+3
| | | | | | | | | | | | argument.
| * | allow "fake" filenames in findsource (closes #9284)Benjamin Peterson2011-06-113-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 Araujo2011-06-111-0/+2
| | |
| * | merge 3.1Benjamin Peterson2011-06-110-0/+0
| |\ \ | | |/
| | * onto 3.1.5Benjamin Peterson2011-06-112-1/+13
| | |
| * | merge 3.1Benjamin Peterson2011-06-111-0/+1
| |\ \ | | |/
| | * Added tag v3.1.4 for changeset c918ec9f3a76Benjamin Peterson2011-06-111-0/+1
| | |
| | * bump to 3.1.4v3.1.4Benjamin Peterson2011-06-115-7/+7
| | |
| * | Documented change for Issue #12168.Vinay Sajip2011-06-101-0/+15
| | |
| * | merge 3.1 (#12009)Benjamin Peterson2011-06-104-44/+102
| |\ \ | | |/
| | * fix regression in netrc comment handling (closes #12009)Benjamin Peterson2011-06-104-44/+105
| | |
| * | null merge 3.1 (patch already applied to 3.2)Victor Stinner2011-06-100-0/+0
| |\ \ | | |/
| | * Issue #10801: Fix test_unicode_filenames() of test_zipfileVictor Stinner2011-06-101-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 Murray2011-06-093-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 Murray2011-06-093-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 Sajip2011-06-092-1/+8
| | | | | | | | | | | | using a new 'append_nul' attribute on the handler.
| * | Correction to 88e318166eaf - Issue #11583Brian Curtin2011-06-092-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.
| * | Branch mergeÉric Araujo2011-06-098-19/+33
| |\ \
| | * | Fix a few misuses of :option: I missed in r86521.Éric Araujo2011-06-083-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ````.
| | * | Add links from builtins module docs to built-in functions and constants docsÉric Araujo2011-06-082-1/+5
| | | |