summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | 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).
* | | | | | Issue #8407: skip sigwait() tests if pthread_sigmask() is missingVictor Stinner2011-06-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new tests now requires pthread_sigmask(). Skip the test if the function is missing, e.g. if Python is compiled without threads.
* | | | | | test_platform: ignore DeprecationWarning on popen() testVictor Stinner2011-06-101-15/+20
| | | | | |
* | | | | | Issue #8407: write error message on sigwait test failureVictor Stinner2011-06-101-3/+4
| | | | | |
* | | | | | Issue #8407: Make signal.sigwait() tests more reliableVictor Stinner2011-06-101-14/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Block the signal before calling sigwait(). Use os.fork() to ensure that we have only one thread. Initial patch written by Charles-François Natali.
* | | | | | Issue #9344: Add os.getgrouplist().Ross Lagerwall2011-06-106-252/+368
| | | | | |
* | | | | | Issue #8407: signal.sigwait() releases the GILVictor Stinner2011-06-092-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | Initial patch by Charles-François Natali.
* | | | | | Removed a Windows 9x trick used before LoadLibraryExW.Brian Curtin2011-06-091-17/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows 9x has long been unsupported and the result of GetFullPathName was not even being used in the first place.
* | | | | | Merge #10694: zipfile now ignores garbage at the end of a zipfile.R David Murray2011-06-093-10/+28
|\ \ \ \ \ \ | |/ / / / /
| * | | | | #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.
* | | | | | merge #12283: Fixed regression in smtplib quoting of leading dots in DATA.R David Murray2011-06-093-1/+18
|\ \ \ \ \ \ | |/ / / / /
| * | | | | #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.
* | | | | | Merged upstream changes.Vinay Sajip2011-06-093-10/+69
|\ \ \ \ \ \
| * | | | | | #10424: argument names are now included in the missing argument messageR David Murray2011-06-093-10/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix and initial test patch by Michele Orrù.
* | | | | | | Made time formats in Formatter more configurable.Vinay Sajip2011-06-091-2/+5
|/ / / / / /
* | | | | | Merged fix for issue #12168 from 3.2.Vinay Sajip2011-06-093-3/+14
|\ \ \ \ \ \ | |/ / / / /
| * | | | | 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.
* | | | | | Merge 3.2Brian Curtin2011-06-092-6/+7
|\ \ \ \ \ \ | |/ / / / / | | | / / / | |_|/ / / |/| | | |
| * | | | 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.
* | | | | Merge doc fixes from 3.2Éric Araujo2011-06-098-19/+33
|\ \ \ \ \ | |/ / / /
| * | | | 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
| | | | | |
* | | | | | The change done for #10645 deserves a NEWS entryÉric Araujo2011-06-091-0/+3
| | | | | |
* | | | | | Branch mergeÉric Araujo2011-06-0917-83/+108
|\ \ \ \ \ \
| * | | | | | Stop creating a Python-X.Y.Z-pyX.Y.egg-info file on install (#10645)Éric Araujo2011-06-091-0/+7
| | | | | | |
| * | | | | | Document how to define extension modules in setup.cfgÉric Araujo2011-06-092-2/+36
| | | | | | |
| * | | | | | Fix incorrect nesting of sections in setup.cfg specificationÉric Araujo2011-06-091-18/+18
| | | | | | |
| * | | | | | Fix example in packaging test_config.Éric Araujo2011-06-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The example C extension used the “three.fast_taunt” name, but no “three” parent was defined in the setup.cfg. This did not cause a failure nor even print a warning, we may want to change that.
| * | | | | | Style change in packaging: use “not in” over “not x in”.Éric Araujo2011-06-085-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Such tests are IMO easier to read if both operators are grouped.
| * | | | | | Packaging: always use repr to display project names.Éric Araujo2011-06-081-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps debugging in case of trailing blanks and such things.
| * | | | | | Fix misunderstanding of how booleans workÉric Araujo2011-06-081-1/+2
| | | | | | |
| * | | | | | Packaging cleanup: normalize print calls.Éric Araujo2011-06-084-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Namely: use default arguments instead of explicit empty string; use multiple arguments instead of building strings.
| * | | | | | Packaging cleanup: remove use of script_name where obsoleteÉric Araujo2011-06-086-20/+0
| | | | | | |
* | | | | | | 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.
| * | | | | | 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.
* | | | | | Issue #12021: Make mmap's read() method argument optional. Patch by PetriCharles-François Natali2011-06-085-6/+65
| | | | | | | | | | | | | | | | | | | | | | | | Lehtinen.
* | | | | | Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killedAntoine Pitrou2011-06-088-107/+587
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock.
* | | | | | Revert a reversed comparison order introduced in r70695.Brett Cannon2011-06-081-1/+1
| |/ / / / |/| | | |
* | | | | Kill dead code in importlib.test.__main__ (#12019, reviewed by Brett Cannon)Éric Araujo2011-06-071-6/+1
| | | | |
* | | | | Branch merge: packaging fixesÉric Araujo2011-06-076-88/+107
|\ \ \ \ \
| * | | | | Fix UnboundLocalError in a finally block of one packaging testÉric Araujo2011-06-061-1/+1
| | | | | |
| * | | | | Fix sdist to always include setup.cfg (#11092), to comply with the specÉric Araujo2011-06-063-19/+32
| | | | | |
| * | | | | Use strings instead of sets of lines in packaging.create tests.Éric Araujo2011-06-061-57/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using sets in tests did not check whether the values were written in the right section or with the right key.
| * | | | | Fix commentÉric Araujo2011-06-061-1/+1
| | | | | |
| * | | | | Update comments in sysconfig.cfgÉric Araujo2011-06-061-7/+7
| | | | | |
| * | | | | Fix documentation of requires-python field in setup.cfg (#11041)Éric Araujo2011-06-061-3/+3
| | |_|/ / | |/| | |
* | | | | #12274: use proper escaping for % in IDLE config (merged from 3.2).Łukasz Langa2011-06-071-2/+2
|\ \ \ \ \ | | |/ / / | |/| | |