Commit Graph

51303 Commits

Author SHA1 Message Date
Nadeem Vawda 1c82a14e86 Oops, zlib.ZLIB_VERSION isn't new in 3.3 - just newly-documented... 2011-09-12 00:09:27 +02:00
Nadeem Vawda 7cd4f203c0 Terminology fix: .gz and .bz2 are not archive formats. 2011-09-12 00:06:49 +02:00
Nadeem Vawda 64d25ddb9c Issue #12306: Add ZLIB_RUNTIME_VERSION to the zlib module.
While we're at it, also document ZLIB_VERSION.

Patch by Torsten Landschoff.
2011-09-12 00:04:13 +02:00
Nadeem Vawda 249ab5e8d1 BZ2File now uses the compresslevel argument given by the caller,
instead of ignoring it and always using a compression level of 9.
2011-09-11 22:38:11 +02:00
Benjamin Peterson c92f6226d7 add ChainMap to __all__ (closes #12959)
Thanks July Tikhonov.
2011-09-11 12:55:34 -04:00
Éric Araujo 647ef8cd68 Wrap pydoc output under 80 characters 2011-09-11 00:43:20 +02:00
Éric Araujo fb7d24492f Remove obsolete comment (yes, build_ext supports C++) 2011-09-10 18:22:31 +02:00
Éric Araujo 1f2bcd35bb Don’t let invalid line in setup.cfg pass silently 2011-09-10 18:22:04 +02:00
Éric Araujo c6d52eddaa Fix usage of bytes in packaging's bdist_wininst.
This is copied from the namesake distutils command; there is no
automated test, so buildbots won’t call for my head this time, but it
should be okay as Python 3 users have tested the distutils command.
2011-09-10 18:14:08 +02:00
Éric Araujo 030cfe26a3 Use bytes regex instead of decoding whole pages 2011-09-10 18:10:58 +02:00
Éric Araujo c8f9c81cfa Fix usage of dry-run in packaging bdist_wininst and install_distinfo.
In dry-run mode, packaging commands should log the same info as in real
operation and should collect the same files in self.outputs, so that
users can run a command in verbose and dry-run mode to see exactly what
operations will be done in the real run.
2011-09-10 18:10:23 +02:00
Ezio Melotti d964ee9cd5 #12940: merge with 3.2. 2011-09-10 10:08:13 +03:00
Ezio Melotti 4165bfb6e9 #12940: fix cmd example. Patch by Tim Chase. 2011-09-10 10:06:01 +03:00
Éric Araujo e6db7a3a29 Fix determination of Metadata version in packaging (#8933).
Original patch by Filip Gruszczyński.
2011-09-10 05:22:48 +02:00
Éric Araujo 6bbd775377 Consolidate tests for packaging.metadata.
New tests were added in test_metadata and old tests inherited from
distutils were still in test_dist, so I moved them into test_metadata
(except for one which was more at home in test_run) and merged
duplicates.

I also added some skips to lure contributors <wink>, optimized the
Metadata.update method a trifle, and added notes about a number of
issues.

A note: The tests in test_dist used to dump the Metadata objects to a
file in the METADATA format and look for strings in its contents; I
updated them to use the mapping API of Metadata instead.  For some
fields with special writing rules, I have added tests to ensure my
conversion did not lose anything.
2011-09-10 05:18:20 +02:00
Éric Araujo 92ffc500d1 Merge fix for #8933 from 3.2 2011-09-10 04:56:44 +02:00
Jesus Cea 9af32ccb71 NEWS 2011-09-10 04:40:13 +02:00
Jesus Cea aaa899138a NEWS 2011-09-10 04:37:07 +02:00
Jesus Cea 76ae3a38d7 MERGE: Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana 2011-09-10 04:14:04 +02:00
Jesus Cea ab7060e502 Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana 2011-09-10 04:04:09 +02:00
Jesus Cea bbd8bec389 Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana 2011-09-10 04:04:09 +02:00
Jesus Cea 54b01498e3 Typo 2011-09-10 01:53:19 +02:00
Éric Araujo 13e8c8e721 Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński. 2011-09-10 01:51:40 +02:00
Jesus Cea 9c82227277 Yet another fix for #12763: test_posix failure on OpenIndiana 2011-09-10 01:40:52 +02:00
Éric Araujo fce67fcd84 Slight cleanup in distutils test_dist.
I have tests to add in this file and it’s always nice to start from a
clean base.
2011-09-10 01:34:44 +02:00
Jesus Cea ceb5d169e9 Better fix for #12763: test_posix failure on OpenIndiana 2011-09-10 01:16:55 +02:00
Jesus Cea f2cb4e8b35 Close issue 12952: Solaris/Illumos (OpenIndiana) Scheduling policies 2011-09-09 23:55:42 +02:00
Jesus Cea 1e1c8f4913 Fix issue #12948: multiprocessing test failures can hang the buildbots 2011-09-09 22:16:57 +02:00
Jesus Cea da752d80c8 Fix issue #12948: multiprocessing test failures can hang the buildbots 2011-09-09 22:15:16 +02:00
Jesus Cea 440b3834e2 Close issue #12948: multiprocessing test failures can hang the buildbots 2011-09-09 20:29:01 +02:00
Jesus Cea 94f964f810 Close issue #12948: multiprocessing test failures can hang the buildbots 2011-09-09 20:26:57 +02:00
Éric Araujo 46a9d62828 Merge 3.2 2011-09-09 19:11:04 +02:00
Éric Araujo eb933de807 Fix current name of the Python 3 binary on Unix (#12896).
Also fix some markup and typos.
2011-09-09 19:03:41 +02:00
Larry Hastings 9e3e70b331 Issue #12904: os.utime, os.futimes, os.lutimes, and os.futimesat now write
atime and mtime with nanosecond precision on modern POSIX platforms.
2011-09-08 19:29:07 -07:00
Victor Stinner d169fdcb63 Issue #12852: Set _POSIX_C_SOURCE to 200809 to get POSIX 2008
configure.in: Set _POSIX_C_SOURCE to 200809L, instead of 200112L, to activate
features from IEEE Stds 1003.1-2008.
2011-09-08 00:56:17 +02:00
Victor Stinner 14d098d3ac Issue #12852: Set _XOPEN_SOURCE to 700 to get POSIX 2008
configure: Set _XOPEN_SOURCE to 700, instead of 600, to get POSIX 2008
functions on OpenBSD (e.g. fdopendir).
2011-09-07 22:29:43 +02:00
Nadeem Vawda 3d5881ec2b Issue #12909: Make PyLong_As* functions consistent in their use of exceptions.
PyLong_AsDouble() and PyLong_AsUnsignedLongLong() now raise TypeError (rather
than SystemError) when passed a non-integer argument, matching the behavior of
all the other PyLong_As*() functions.
2011-09-07 21:40:26 +02:00
Victor Stinner 425fcd3045 Issue #12929: faulthandler now uses char* for arithmetic on pointers
instead of void*
2011-09-07 16:18:56 +02:00
Charles-François Natali ea0d5fcb4a Issue #12871: sched_get_priority_(min|max) might not be defined even though
<sched.h> is available (most notably on OpenBSD when built without pthread):
add an explicit configure check.
2011-09-06 19:03:35 +02:00
Vinay Sajip e0afb16a31 Closes #12906: Merged fix from 3.2. 2011-09-06 14:08:24 +01:00
Vinay Sajip 4eb0e73ff2 Closes #12906: Fixed bug in YAML configuration. 2011-09-06 14:07:23 +01:00
Benjamin Peterson 2825c0b7d9 merge 3.2 2011-09-06 07:57:43 -04:00
Benjamin Peterson 388c0e2325 merge heads 2011-09-06 07:57:38 -04:00
Benjamin Peterson 7f5556095e merge heads 2011-09-06 07:57:26 -04:00
Benjamin Peterson 6d8f744730 merge 3.2 (#1616) 2011-09-06 07:56:47 -04:00
Benjamin Peterson f22913b8c3 cast to getter 2011-09-06 07:55:34 -04:00
Victor Stinner 900c292c6b Issue #12567: Fix curses.unget_wch() tests
Skip the test if the function is missing. Use U+0061 (a) instead of U+00E9 (é)
because U+00E9 raises a _curses.error('unget_wch() returned ERR') on some
buildbots. It's maybe because of the locale encoding.
2011-09-06 10:08:28 +02:00
Brett Cannon 5c9a8d0908 Minor grammar fix. 2011-09-05 21:08:14 -07:00
Victor Stinner f955eb210f Merge 3.2: Fix PyUnicode_AsWideCharString() doc
- Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null
   character
 - Fix spelling of the null character
2011-09-06 02:01:29 +02:00
Victor Stinner d88d9836c5 Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character
Fix also spelling of the null character.
2011-09-06 02:00:05 +02:00