]>
granicus.if.org Git - python/log
É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..)
É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.
É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
Éric Araujo [Fri, 9 Sep 2011 23:51:40 +0000 (01:51 +0200)]
Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński.
É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.
É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
Benjamin Peterson [Sat, 3 Sep 2011 13:32:24 +0000 (09:32 -0400)]
merge 3.2 (#12878)
Benjamin Peterson [Sat, 3 Sep 2011 13:26:20 +0000 (09:26 -0400)]
add a __dict__ descr for IOBase (closes #12878)
Éric Araujo [Fri, 2 Sep 2011 22:48:17 +0000 (00:48 +0200)]
Merge fix for #8286 from 3.2
Éric Araujo [Fri, 2 Sep 2011 22:42:04 +0000 (00:42 +0200)]
Warn instead of crashing because of invalid path in MANIFEST.in (#8286).
sdist used to crash with a full traceback dump instead of printing a
nice warning with the faulty line number.
Éric Araujo [Fri, 2 Sep 2011 22:28:43 +0000 (00:28 +0200)]
Enable catching WARN-level logging messages in distutils' test_sdist
Łukasz Langa [Fri, 2 Sep 2011 21:19:52 +0000 (23:19 +0200)]
oops, someone beat me to it: merging minor configparser documentation cleanups
Łukasz Langa [Fri, 2 Sep 2011 21:18:39 +0000 (23:18 +0200)]
merged configparser documentation leftovers cleanup from 3.2
Łukasz Langa [Fri, 2 Sep 2011 21:17:39 +0000 (23:17 +0200)]
removed misleading editing leftovers
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 21:07:54 +0000 (23:07 +0200)]
ctypes: Slightly better error message when a struct field name is not a string.
Sandro Tosi [Fri, 2 Sep 2011 19:24:55 +0000 (21:24 +0200)]
merge with 3.2
Sandro Tosi [Fri, 2 Sep 2011 19:24:40 +0000 (21:24 +0200)]
Give credit to Adam
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 18:43:59 +0000 (20:43 +0200)]
Merge from 3.2: Issue #12764: Fix a crash in ctypes when the name of a
Structure field is not a string.
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 18:39:40 +0000 (20:39 +0200)]
Issue #12764: Fix a crash in ctypes when the name of a Structure field is not
a string.
Sandro Tosi [Fri, 2 Sep 2011 18:07:34 +0000 (20:07 +0200)]
#12781: merge with 3.2
Sandro Tosi [Fri, 2 Sep 2011 18:06:31 +0000 (20:06 +0200)]
#12781: Mention SO_REUSEADDR flag near socket examples
Éric Araujo [Fri, 2 Sep 2011 15:32:30 +0000 (17:32 +0200)]
Merge 3.2
Éric Araujo [Fri, 2 Sep 2011 15:30:55 +0000 (17:30 +0200)]
Branch merge
Éric Araujo [Fri, 2 Sep 2011 15:30:36 +0000 (17:30 +0200)]
Branch merge
Victor Stinner [Thu, 1 Sep 2011 23:02:23 +0000 (01:02 +0200)]
Merge 3.2: Issue #12636: IDLE reads the coding cookie when executing a Python script.
And "IDLE: fix some RessourceWarning, reuse tokenize.open()"
Victor Stinner [Thu, 1 Sep 2011 23:00:40 +0000 (01:00 +0200)]
Issue #12636: IDLE reads the coding cookie when executing a Python script.
Victor Stinner [Thu, 1 Sep 2011 22:57:04 +0000 (00:57 +0200)]
IDLE: fix some RessourceWarning, reuse tokenize.open()
Victor Stinner [Thu, 1 Sep 2011 22:13:16 +0000 (00:13 +0200)]
Merge 3.2: Remove unused variable if Python is build without threads
Victor Stinner [Thu, 1 Sep 2011 22:11:43 +0000 (00:11 +0200)]
Remove unused variable if Python is build without threads
Éric Araujo [Thu, 1 Sep 2011 22:03:20 +0000 (00:03 +0200)]
Merge doc changes from 3.2 (#10454, #12298)
Éric Araujo [Thu, 1 Sep 2011 21:48:13 +0000 (23:48 +0200)]
Minor: tweak docstrings and __all__ in packaging.tests.support
Victor Stinner [Thu, 1 Sep 2011 21:45:04 +0000 (23:45 +0200)]
Issue #12494: Close pipes and kill process on error in subprocess functions
On error, call(), check_call(), check_output() and getstatusoutput() functions
of the subprocess module now kill the process, read its status (to avoid
zombis) and close pipes.
Éric Araujo [Thu, 1 Sep 2011 21:37:56 +0000 (23:37 +0200)]
Fix typo (was build) and remove redundancy in docstring
Éric Araujo [Thu, 1 Sep 2011 21:10:36 +0000 (23:10 +0200)]
Add links from library/functions to other docs.
Suggested by Terry J. Reedy in #12298.
Éric Araujo [Thu, 1 Sep 2011 21:08:55 +0000 (23:08 +0200)]
Fix a few links in the table of built-in functions (#12298)
Charles-François Natali [Thu, 1 Sep 2011 21:08:21 +0000 (23:08 +0200)]
Issue #12868: Skip test_faulthandler.test_stack_overflow() on OpenBSD:
sigaltstack(2) doesn't work when linked with pthread.
Benjamin Peterson [Thu, 1 Sep 2011 20:33:56 +0000 (16:33 -0400)]
merge 3.2
Benjamin Peterson [Thu, 1 Sep 2011 20:32:31 +0000 (16:32 -0400)]
make sure to initialize the method wrapper type
Éric Araujo [Thu, 1 Sep 2011 20:06:23 +0000 (22:06 +0200)]
Remove obsolete comment
Antoine Pitrou [Thu, 1 Sep 2011 19:38:37 +0000 (21:38 +0200)]
Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).
Antoine Pitrou [Thu, 1 Sep 2011 19:37:43 +0000 (21:37 +0200)]
Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).
Éric Araujo [Thu, 1 Sep 2011 18:00:33 +0000 (20:00 +0200)]
#10454: a few edits to compileall help messages
Éric Araujo [Thu, 1 Sep 2011 16:59:06 +0000 (18:59 +0200)]
Document that format string don’t support arbitrary dictonary keys.
Text adapted from the PEP. Addition requested by Terry J. Reedy on
2011-02-23 on python-dev.
Éric Araujo [Thu, 1 Sep 2011 16:45:50 +0000 (18:45 +0200)]
Document that True/False/None don’t use :keyword: in doc.
This was discussed some months ago on python-dev. Having tons of links
to the definition of True would be annoying, contrary to links to e.g.
the nonlocal or with statements doc.
Éric Araujo [Thu, 1 Sep 2011 06:31:51 +0000 (08:31 +0200)]
Add missing name in shutil.__all__
Ezio Melotti [Thu, 1 Sep 2011 05:13:46 +0000 (08:13 +0300)]
Merge doc fix with 3.2.
Ezio Melotti [Thu, 1 Sep 2011 05:11:28 +0000 (08:11 +0300)]
From RFC 3629 5- and 6-bytes UTF-8 sequences are invalid, so remove them from the doc.
Ross Lagerwall [Thu, 1 Sep 2011 05:02:31 +0000 (07:02 +0200)]
Merge with 3.2.
Éric Araujo [Thu, 1 Sep 2011 05:01:13 +0000 (07:01 +0200)]
Minor improvement to extensions in setup.cfg: check parent package
Ross Lagerwall [Thu, 1 Sep 2011 04:58:52 +0000 (06:58 +0200)]
Remove duplicate text in os documentation.