]>
granicus.if.org Git - python/log
Éric Araujo [Sat, 17 Sep 2011 01:31:51 +0000 (03:31 +0200)]
Packaging cleanup: remove conditionals for < 2.6 support.
PEP 370 features and sys.dont_write_bytecode are always available
in 3.3; the distutils2 backport still has the conditionals.
I also renamed an internal misnamed method and fixed a few things
(“packaging2” name, stray print, unused import, fd leak).
Éric Araujo [Thu, 15 Sep 2011 16:18:51 +0000 (18:18 +0200)]
Fix packaging.database.Distribution.list_distinfo_files (#12785).
This method was supposed to return only the file under the dist-info
directory, but it actually returned all installed files.
The tests didn’t catch this because they were flawed; I updated them.
Thanks to Nadeem Vawda and Jeremy Kloth for testing.
As a bonus, the removal of os.path.relpath use should also fix the
Windows buildbots.
Ned Deily [Wed, 14 Sep 2011 21:56:32 +0000 (14:56 -0700)]
Issue #9871: Prevent IDLE 3 crash when given byte stings
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
Ned Deily [Wed, 14 Sep 2011 21:49:14 +0000 (14:49 -0700)]
Issue #9871: Prevent IDLE 3 crash when given byte stings
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
Benjamin Peterson [Wed, 14 Sep 2011 15:46:17 +0000 (11:46 -0400)]
merge heads
Benjamin Peterson [Wed, 14 Sep 2011 15:45:52 +0000 (11:45 -0400)]
only compile xattrs on glibc (closes #12720)
Stefan Krah [Wed, 14 Sep 2011 13:17:12 +0000 (15:17 +0200)]
Merge fix for issue #11149.
Stefan Krah [Wed, 14 Sep 2011 13:14:08 +0000 (15:14 +0200)]
Issue #11149: recent versions of clang require the -fwrapv flag.
Benjamin Peterson [Tue, 13 Sep 2011 21:20:47 +0000 (17:20 -0400)]
Use xattr functions from sys/xattr.h instead of attr/xattr.h (closes #12720)
sys/xattr.h is glibc while attr/xattr.h is a separate library.
Jeremy Kloth [Tue, 13 Sep 2011 14:26:25 +0000 (08:26 -0600)]
The value is the dotted module name to the command class.
Senthil Kumaran [Mon, 12 Sep 2011 23:14:39 +0000 (07:14 +0800)]
merge from 3.2
Senthil Kumaran [Mon, 12 Sep 2011 23:14:13 +0000 (07:14 +0800)]
Fix issue12938 - Update the docstring of html.escape. Include the information on single quote.
Senthil Kumaran [Mon, 12 Sep 2011 22:41:43 +0000 (06:41 +0800)]
merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924
Senthil Kumaran [Mon, 12 Sep 2011 22:40:27 +0000 (06:40 +0800)]
Add the quote_plus call in the test.
Amaury Forgeot d'Arc [Mon, 12 Sep 2011 19:17:09 +0000 (21:17 +0200)]
Remove trailing spaces
Amaury Forgeot d'Arc [Mon, 12 Sep 2011 19:09:12 +0000 (21:09 +0200)]
Merge 3.2: Issue #12483: ctypes: Fix a crash when the destruction of a callback
object triggers the garbage collector.
Amaury Forgeot d'Arc [Mon, 12 Sep 2011 19:03:36 +0000 (21:03 +0200)]
Issue #12483: ctypes: Fix a crash when the destruction of a callback
object triggers the garbage collector.
Jeremy Kloth [Mon, 12 Sep 2011 17:12:42 +0000 (11:12 -0600)]
Factor out the distribution file-system safe name functions from install_distinfo to allow all metadata consumers access to them.
Éric Araujo [Mon, 12 Sep 2011 15:41:24 +0000 (17:41 +0200)]
Merge 3.2
Éric Araujo [Mon, 12 Sep 2011 15:34:40 +0000 (17:34 +0200)]
Branch merge
Éric Araujo [Mon, 12 Sep 2011 15:15:26 +0000 (17:15 +0200)]
Branch merge
Éric Araujo [Mon, 12 Sep 2011 14:45:38 +0000 (16:45 +0200)]
Remove unneeded --all option of “pysetup list”.
The command without arguments already prints all installed distributions
found.
In addition, change “releases” for “projects” in the description of the
list action. Strictly speaking, one installed distribution satisfies
the requirement for a release (i.e. version) of a project, but as
currently only one release per project can be installed at a time, the
two are somewhat equivalent, and “project” is more understandable in
help texts (which call their argument “dist”, by the way..)
Stefan Krah [Mon, 12 Sep 2011 14:24:48 +0000 (16:24 +0200)]
Merge fix for issue #12963.
Stefan Krah [Mon, 12 Sep 2011 14:22:47 +0000 (16:22 +0200)]
Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases.
Nadeem Vawda [Sun, 11 Sep 2011 22:09:27 +0000 (00:09 +0200)]
Oops, zlib.ZLIB_VERSION isn't new in 3.3 - just newly-documented...
Nadeem Vawda [Sun, 11 Sep 2011 22:06:49 +0000 (00:06 +0200)]
Terminology fix: .gz and .bz2 are not archive formats.
Nadeem Vawda [Sun, 11 Sep 2011 22:04:13 +0000 (00:04 +0200)]
Issue #12306: Add ZLIB_RUNTIME_VERSION to the zlib module.
While we're at it, also document ZLIB_VERSION.
Patch by Torsten Landschoff.
Nadeem Vawda [Sun, 11 Sep 2011 20:38:11 +0000 (22:38 +0200)]
BZ2File now uses the compresslevel argument given by the caller,
instead of ignoring it and always using a compression level of 9.
Benjamin Peterson [Sun, 11 Sep 2011 16:55:34 +0000 (12:55 -0400)]
add ChainMap to __all__ (closes #12959)
Thanks July Tikhonov.
Éric Araujo [Sat, 10 Sep 2011 22:43:20 +0000 (00:43 +0200)]
Wrap pydoc output under 80 characters
Éric Araujo [Sat, 10 Sep 2011 16:22:31 +0000 (18:22 +0200)]
Remove obsolete comment (yes, build_ext supports C++)
Éric Araujo [Sat, 10 Sep 2011 16:22:04 +0000 (18:22 +0200)]
Don’t let invalid line in setup.cfg pass silently
Éric Araujo [Sat, 10 Sep 2011 16:14:08 +0000 (18:14 +0200)]
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.
Éric Araujo [Sat, 10 Sep 2011 16:10:58 +0000 (18:10 +0200)]
Use bytes regex instead of decoding whole pages
Éric Araujo [Sat, 10 Sep 2011 16:10:23 +0000 (18:10 +0200)]
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.
Ezio Melotti [Sat, 10 Sep 2011 07:08:13 +0000 (10:08 +0300)]
#12940: merge with 3.2.
Ezio Melotti [Sat, 10 Sep 2011 07:06:01 +0000 (10:06 +0300)]
#12940: fix cmd example. Patch by Tim Chase.
Éric Araujo [Sat, 10 Sep 2011 03:22:48 +0000 (05:22 +0200)]
Fix determination of Metadata version in packaging (#8933).
Original patch by Filip Gruszczyński.
Éric Araujo [Sat, 10 Sep 2011 03:18:20 +0000 (05:18 +0200)]
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.
Éric Araujo [Sat, 10 Sep 2011 02:56:44 +0000 (04:56 +0200)]
Merge fix for #8933 from 3.2
Jesus Cea [Sat, 10 Sep 2011 02:40:13 +0000 (04:40 +0200)]
NEWS
Jesus Cea [Sat, 10 Sep 2011 02:37:07 +0000 (04:37 +0200)]
NEWS
Jesus Cea [Sat, 10 Sep 2011 02:14:04 +0000 (04:14 +0200)]
MERGE: Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana
Jesus Cea [Sat, 10 Sep 2011 02:04:09 +0000 (04:04 +0200)]
Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana
Jesus Cea [Sat, 10 Sep 2011 02:04:09 +0000 (04:04 +0200)]
Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana
Jesus Cea [Fri, 9 Sep 2011 23:53:19 +0000 (01:53 +0200)]
Typo
Éric Araujo [Fri, 9 Sep 2011 23:51:40 +0000 (01:51 +0200)]
Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński.
Jesus Cea [Fri, 9 Sep 2011 23:40:52 +0000 (01:40 +0200)]
Yet another fix for #12763: test_posix failure on OpenIndiana
Éric Araujo [Fri, 9 Sep 2011 23:34:44 +0000 (01:34 +0200)]
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.
Jesus Cea [Fri, 9 Sep 2011 23:16:55 +0000 (01:16 +0200)]
Better fix for #12763: test_posix failure on OpenIndiana
Jesus Cea [Fri, 9 Sep 2011 21:55:42 +0000 (23:55 +0200)]
Close issue 12952: Solaris/Illumos (OpenIndiana) Scheduling policies
Jesus Cea [Fri, 9 Sep 2011 20:16:57 +0000 (22:16 +0200)]
Fix issue #12948: multiprocessing test failures can hang the buildbots
Jesus Cea [Fri, 9 Sep 2011 20:15:16 +0000 (22:15 +0200)]
Fix issue #12948: multiprocessing test failures can hang the buildbots
Jesus Cea [Fri, 9 Sep 2011 18:29:01 +0000 (20:29 +0200)]
Close issue #12948: multiprocessing test failures can hang the buildbots
Jesus Cea [Fri, 9 Sep 2011 18:26:57 +0000 (20:26 +0200)]
Close issue #12948: multiprocessing test failures can hang the buildbots
Éric Araujo [Fri, 9 Sep 2011 17:11:04 +0000 (19:11 +0200)]
Merge 3.2
Éric Araujo [Fri, 9 Sep 2011 17:03:41 +0000 (19:03 +0200)]
Fix current name of the Python 3 binary on Unix (#12896).
Also fix some markup and typos.
Larry Hastings [Fri, 9 Sep 2011 02:29:07 +0000 (19:29 -0700)]
Issue #12904: os.utime, os.futimes, os.lutimes, and os.futimesat now write
atime and mtime with nanosecond precision on modern POSIX platforms.
Victor Stinner [Wed, 7 Sep 2011 22:56:17 +0000 (00:56 +0200)]
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.
Victor Stinner [Wed, 7 Sep 2011 20:29:43 +0000 (22:29 +0200)]
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).
Nadeem Vawda [Wed, 7 Sep 2011 19:40:26 +0000 (21:40 +0200)]
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.
Victor Stinner [Wed, 7 Sep 2011 14:18:56 +0000 (16:18 +0200)]
Issue #12929: faulthandler now uses char* for arithmetic on pointers
instead of void*
Charles-François Natali [Tue, 6 Sep 2011 17:03:35 +0000 (19:03 +0200)]
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.
Vinay Sajip [Tue, 6 Sep 2011 13:08:24 +0000 (14:08 +0100)]
Closes #12906: Merged fix from 3.2.
Vinay Sajip [Tue, 6 Sep 2011 13:07:23 +0000 (14:07 +0100)]
Closes #12906: Fixed bug in YAML configuration.
Benjamin Peterson [Tue, 6 Sep 2011 11:57:43 +0000 (07:57 -0400)]
merge 3.2
Benjamin Peterson [Tue, 6 Sep 2011 11:57:38 +0000 (07:57 -0400)]
merge heads
Benjamin Peterson [Tue, 6 Sep 2011 11:57:26 +0000 (07:57 -0400)]
merge heads
Benjamin Peterson [Tue, 6 Sep 2011 11:56:47 +0000 (07:56 -0400)]
merge 3.2 (#1616)
Benjamin Peterson [Tue, 6 Sep 2011 11:55:34 +0000 (07:55 -0400)]
cast to getter
Victor Stinner [Tue, 6 Sep 2011 08:08:28 +0000 (10:08 +0200)]
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.
Brett Cannon [Tue, 6 Sep 2011 04:08:14 +0000 (21:08 -0700)]
Minor grammar fix.
Victor Stinner [Tue, 6 Sep 2011 00:01:29 +0000 (02:01 +0200)]
Merge 3.2: Fix PyUnicode_AsWideCharString() doc
- Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null
character
- Fix spelling of the null character
Victor Stinner [Tue, 6 Sep 2011 00:00:05 +0000 (02:00 +0200)]
Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character
Fix also spelling of the null character.
Victor Stinner [Mon, 5 Sep 2011 23:53:03 +0000 (01:53 +0200)]
Issue #12567: Add curses.unget_wch() function
Push a character so the next get_wch() will return it.
Victor Stinner [Mon, 5 Sep 2011 22:11:13 +0000 (00:11 +0200)]
Issue #9561: packaging now writes egg-info files using UTF-8
instead of the locale encoding
Victor Stinner [Mon, 5 Sep 2011 21:46:05 +0000 (23:46 +0200)]
Merge 3.2: Issue #9561: distutils now reads and writes egg-info files using UTF-8
instead of the locale encoding.
Victor Stinner [Mon, 5 Sep 2011 21:44:56 +0000 (23:44 +0200)]
Issue #9561: distutils now reads and writes egg-info files using UTF-8
instead of the locale encoding.
Victor Stinner [Mon, 5 Sep 2011 19:39:25 +0000 (21:39 +0200)]
null merge 3.2
Victor Stinner [Mon, 5 Sep 2011 19:38:42 +0000 (21:38 +0200)]
Issue #12326: Remove plat-linux3 directory
sys.platform is now always 'linux2' on Linux (even on Linux 3)
Senthil Kumaran [Mon, 5 Sep 2011 16:22:15 +0000 (00:22 +0800)]
merge from 3.2. Fix closes Issue11155 - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez.
Senthil Kumaran [Mon, 5 Sep 2011 16:21:30 +0000 (00:21 +0800)]
Fix closes Issue11155 - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez.
Éric Araujo [Mon, 5 Sep 2011 15:45:07 +0000 (17:45 +0200)]
Merge 3.2
Éric Araujo [Mon, 5 Sep 2011 15:44:47 +0000 (17:44 +0200)]
Branch merge
Éric Araujo [Mon, 5 Sep 2011 15:44:07 +0000 (17:44 +0200)]
Branch merge
Lars Gustäbel [Mon, 5 Sep 2011 14:59:44 +0000 (16:59 +0200)]
Merge with 3.2: Issue #12841: Fix tarfile extraction of non-existent uids/gids.
Lars Gustäbel [Mon, 5 Sep 2011 14:58:14 +0000 (16:58 +0200)]
Issue #12841: Fix tarfile extraction of non-existent uids/gids.
tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
Ezio Melotti [Mon, 5 Sep 2011 14:15:32 +0000 (17:15 +0300)]
#12888: merge with 3.2.
Ezio Melotti [Mon, 5 Sep 2011 14:11:06 +0000 (17:11 +0300)]
#12888: Fix a bug in HTMLParser.unescape that prevented it to escape more than 128 entities. Patch by Peter Otten.
Éric Araujo [Sun, 4 Sep 2011 23:56:11 +0000 (01:56 +0200)]
Merge 3.2
Éric Araujo [Sun, 4 Sep 2011 23:55:54 +0000 (01:55 +0200)]
Branch merge
Éric Araujo [Sun, 4 Sep 2011 23:53:52 +0000 (01:53 +0200)]
Branch merge
Martin v. Löwis [Sun, 4 Sep 2011 22:17:49 +0000 (00:17 +0200)]
Merge with 3.2
Martin v. Löwis [Sun, 4 Sep 2011 22:14:09 +0000 (00:14 +0200)]
Add 3.2.2 and 3.2.3 UUIDs.
Georg Brandl [Sun, 4 Sep 2011 06:42:26 +0000 (08:42 +0200)]
Merge with 3.2.
Georg Brandl [Sun, 4 Sep 2011 06:36:22 +0000 (08:36 +0200)]
Post-release version bump.
Georg Brandl [Sun, 4 Sep 2011 06:35:54 +0000 (08:35 +0200)]
Merge with release clone.
Georg Brandl [Sun, 4 Sep 2011 06:12:27 +0000 (08:12 +0200)]
Merge with 3.2.
Georg Brandl [Sun, 4 Sep 2011 06:10:25 +0000 (08:10 +0200)]
Typo fix.
Georg Brandl [Sat, 3 Sep 2011 16:08:11 +0000 (18:08 +0200)]
Added tag v3.2.2 for changeset
137e45f15c0b