Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
| * | | Branch merge | Éric Araujo | 2011-06-09 | 8 | -19/+33 |
| |\ \ | |||||
| | * | | Fix a few misuses of :option: I missed in r86521. | Éric Araujo | 2011-06-08 | 3 | -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 Araujo | 2011-06-08 | 2 | -1/+5 |
| | | | | |||||
| | * | | Add examples that work on Windows to distutils docs (#1626300) | Éric Araujo | 2011-06-07 | 2 | -8/+17 |
| | | | | |||||
| | * | | Remove outdated bit of advice (584f9c213a6d follow-up) | Éric Araujo | 2011-06-07 | 1 | -5/+6 |
| | | | | |||||
| * | | | Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat. | Brian Curtin | 2011-06-08 | 3 | -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 Langa | 2011-06-07 | 1 | -2/+2 |
| | | | |||||
| * | | test.support: can_symlink() removes the temporary symbolic link | Victor Stinner | 2011-06-07 | 1 | -1/+4 |
| | | | |||||
* | | | Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. | Brian Curtin | 2011-06-13 | 4 | -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 Araujo | 2011-06-06 | 6 | -16/+16 |
|\ \ | |||||
| * | | Remove unneeded executable bit on two distutils files | Éric Araujo | 2011-06-04 | 2 | -0/+0 |
| | | | |||||
| * | | Improve glossary entry for ABCs. | Éric Araujo | 2011-06-04 | 4 | -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 Araujo | 2011-06-03 | 1 | -3/+0 |
| | | | |||||
* | | | null merge | Martin v. Löwis | 2011-06-05 | 0 | -0/+0 |
|\ \ \ | | |/ | |/| | |||||
| * | | Add 3.1.4 UUIDs. | Martin v. Löwis | 2011-06-05 | 1 | -0/+2 |
| | | | |||||
* | | | merge:Do not add txt files twice | Martin v. Löwis | 2011-06-05 | 1 | -2/+0 |
|\ \ \ | |/ / | |||||
| * | | Do not add txt files twice. | Martin v. Löwis | 2011-06-05 | 1 | -2/+0 |
| | | | |||||
* | | | Issue #12016: Add test_errorhandle() to TestBase_Mapping of | Victor Stinner | 2011-06-03 | 1 | -3/+33 |
| | | | | | | | | | | | | | | | test_multibytecodec_support. Improve also error message of the test_errorhandle() of TestBase. | ||||
* | | | Issue #12016: Reindent decoders of HK and JP codecs | Victor Stinner | 2011-06-03 | 2 | -51/+52 |
| |/ |/| | |||||
* | | Document working dir for “make html” (#12249). Patch by Tshepang ↵ | Éric Araujo | 2011-06-03 | 1 | -0/+1 |
| | | | | | | | | Lekhonkhobe. | ||||
* | | Fix named tuples to work with vars(). | Raymond Hettinger | 2011-06-03 | 4 | -1/+7 |
| | | |||||
* | | Forward port doc updates for builtin functions. | Raymond Hettinger | 2011-06-01 | 1 | -22/+32 |
| | |