summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | |
| | * | Add examples that work on Windows to distutils docs (#1626300)Éric Araujo2011-06-072-8/+17
| | | |
| | * | Remove outdated bit of advice (584f9c213a6d follow-up)Éric Araujo2011-06-071-5/+6
| | | |
| * | | Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat.Brian Curtin2011-06-083-0/+53
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | #12274: use proper escaping for % in IDLE config.Łukasz Langa2011-06-071-2/+2
| | |
| * | test.support: can_symlink() removes the temporary symbolic linkVictor Stinner2011-06-071-1/+4
| | |
* | | Fix #12084. os.stat on Windows wasn't working properly with relative symlinks.Brian Curtin2011-06-134-97/+192
|/ / | | | | | | | | | | | | | | | | | | | | 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).
* | Branch mergeÉric Araujo2011-06-066-16/+16
|\ \
| * | Remove unneeded executable bit on two distutils filesÉric Araujo2011-06-042-0/+0
| | |
| * | Improve glossary entry for ABCs.Éric Araujo2011-06-044-13/+16
| | | | | | | | | | | | | | | | | | | | | - 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)
| * | Remove link that’s already present at the top of the fileÉric Araujo2011-06-031-3/+0
| | |
* | | null mergeMartin v. Löwis2011-06-050-0/+0
|\ \ \ | | |/ | |/|
| * | Add 3.1.4 UUIDs.Martin v. Löwis2011-06-051-0/+2
| | |
* | | merge:Do not add txt files twiceMartin v. Löwis2011-06-051-2/+0
|\ \ \ | |/ /
| * | Do not add txt files twice.Martin v. Löwis2011-06-051-2/+0
| | |
* | | Issue #12016: Add test_errorhandle() to TestBase_Mapping ofVictor Stinner2011-06-031-3/+33
| | | | | | | | | | | | | | | test_multibytecodec_support. Improve also error message of the test_errorhandle() of TestBase.
* | | Issue #12016: Reindent decoders of HK and JP codecsVictor Stinner2011-06-032-51/+52
| |/ |/|
* | Document working dir for “make html” (#12249). Patch by Tshepang ↵Éric Araujo2011-06-031-0/+1
| | | | | | | | Lekhonkhobe.
* | Fix named tuples to work with vars().Raymond Hettinger2011-06-034-1/+7
| |
* | Forward port doc updates for builtin functions.Raymond Hettinger2011-06-011-22/+32
| |