]>
granicus.if.org Git - python/log
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.
Éric Araujo [Thu, 1 Sep 2011 04:29:11 +0000 (06:29 +0200)]
Minor improvement to extensions section in setup.cfg.
The right-hand part in [extension: foo] is now used as the name of the
extension module. (I changed the separator from = to : and allowed
whitespace to make the sections look nicer.)
Éric Araujo [Thu, 1 Sep 2011 03:57:12 +0000 (05:57 +0200)]
Merge doc changes from 3.2.
rstlint complains about packaging docs but I’m working on those in
another patch.
Éric Araujo [Thu, 1 Sep 2011 03:55:26 +0000 (05:55 +0200)]
Add version number for versionchanged directive (backport from 3.3)
Éric Araujo [Thu, 1 Sep 2011 03:11:29 +0000 (05:11 +0200)]
Clean up packaging.util: add __all__, remove some unused functions.
This huge module is the heir of six distutils modules, and contains
a number of miscellaneous functions. I have attempted to help readers
of the source code with an annoted __all__. Removed or deprecated
functions have been removed from the documentation; I’m working on
another patch to document the remaining public functions.
For the curious:
The unzip_file and untar_file were used by (or intended to be used by)
“pysetup install path/to/archive.tar.gz”, but the code presently used
shutil.unpack_archive and an helper function, so I just deleted them.
They’re still in the repository if we need them in the future.
The find_packages function is not used anymore but I want to discuss
module and package auto-discovery (in “pysetup create”) again before
removing it.
subst_vars now lives in sysconfig; rfc822_escape is inlined in
packaging.metadata. Other functions are for internal use only, or
deprecated; I have left them out of __all__ and sprinkled TODO notes
for future cleanups.
Benjamin Peterson [Thu, 1 Sep 2011 02:21:44 +0000 (22:21 -0400)]
news note on xattrs
Benjamin Peterson [Thu, 1 Sep 2011 02:16:34 +0000 (22:16 -0400)]
merge 3.2 (null)
Benjamin Peterson [Thu, 1 Sep 2011 02:15:17 +0000 (22:15 -0400)]
expose linux extended file system attributes (closes #12720)
Benjamin Peterson [Thu, 1 Sep 2011 02:13:03 +0000 (22:13 -0400)]
accept bytes for the AST 'string' type
This is a temporary kludge and all is well in 3.3.
Éric Araujo [Thu, 1 Sep 2011 01:20:13 +0000 (03:20 +0200)]
Adapt/remove mentions of functions gone in 3.x
Éric Araujo [Thu, 1 Sep 2011 01:19:30 +0000 (03:19 +0200)]
Fix some misuses of Sphinx roles and one typo
Éric Araujo [Thu, 1 Sep 2011 00:47:34 +0000 (02:47 +0200)]
Avoid using the default reST role. Makes Doc/tools/rstlint.py happy.
Éric Araujo [Wed, 31 Aug 2011 14:52:12 +0000 (16:52 +0200)]
Merge fix for #10086 from 3.2
Éric Araujo [Wed, 31 Aug 2011 14:48:17 +0000 (16:48 +0200)]
Fix test_sysconfig when run from a Python installed under /site (#10086).
Patch by Hallvard B Furuseth.