]>
granicus.if.org Git - python/log
Larry Hastings [Sun, 6 May 2012 00:39:09 +0000 (17:39 -0700)]
Update Misc/NEWS for issues #14127 and #14705. (And, technically, #10148.)
Larry Hastings [Sat, 5 May 2012 23:54:29 +0000 (16:54 -0700)]
Issue #14705: Add 'p' format character to PyArg_ParseTuple* for bool support.
Stefan Krah [Sat, 5 May 2012 20:37:05 +0000 (22:37 +0200)]
Fix typo in exception message.
Richard Oudkerk [Sat, 5 May 2012 19:55:46 +0000 (20:55 +0100)]
Dummy merge
Richard Oudkerk [Sat, 5 May 2012 19:41:23 +0000 (20:41 +0100)]
Fix for issue 14725 for 3.2 branch
Richard Oudkerk [Sat, 5 May 2012 18:45:37 +0000 (19:45 +0100)]
Fix for Issue 14725 for 3.3 branch.
Lars Gustäbel [Sat, 5 May 2012 16:15:03 +0000 (18:15 +0200)]
Issue #13815: TarFile.extractfile() now returns io.BufferedReader objects.
The ExFileObject class was removed, some of its code went into _FileInFile.
Benjamin Peterson [Sat, 5 May 2012 13:44:08 +0000 (09:44 -0400)]
don't append the bytecode suffix to the source suffixes global
Nadeem Vawda [Sat, 5 May 2012 10:27:30 +0000 (12:27 +0200)]
Fix typo in changeset
eb5c5c23ca9b .
Antoine Pitrou [Fri, 4 May 2012 21:17:03 +0000 (23:17 +0200)]
Merge
Antoine Pitrou [Fri, 4 May 2012 21:15:47 +0000 (23:15 +0200)]
Add some whatsnew entries
Brett Cannon [Fri, 4 May 2012 20:47:54 +0000 (16:47 -0400)]
Clean up a docstring.
Antoine Pitrou [Fri, 4 May 2012 20:40:25 +0000 (22:40 +0200)]
Simplify code for load_dynamic()
Antoine Pitrou [Fri, 4 May 2012 20:16:09 +0000 (22:16 +0200)]
Merge
Antoine Pitrou [Fri, 4 May 2012 20:15:57 +0000 (22:15 +0200)]
Kill remaining mentions of import_nt.c
Brett Cannon [Fri, 4 May 2012 20:15:26 +0000 (16:15 -0400)]
Kill off another entry of import_nt.c
Brett Cannon [Fri, 4 May 2012 20:13:30 +0000 (16:13 -0400)]
Issue #13959: Move module type constants to Lib/imp.py.
Brett Cannon [Fri, 4 May 2012 20:04:59 +0000 (16:04 -0400)]
merge
Brett Cannon [Fri, 4 May 2012 20:04:14 +0000 (16:04 -0400)]
Remove dead Windows code which no longer will compile.
Brett Cannon [Fri, 4 May 2012 20:03:20 +0000 (16:03 -0400)]
update importlib.h
Vinay Sajip [Fri, 4 May 2012 19:51:59 +0000 (20:51 +0100)]
Closes #14093: Added Mercurial version information to Windows builds.
Brett Cannon [Fri, 4 May 2012 19:46:04 +0000 (15:46 -0400)]
Jython-friendly tweak.
Brett Cannon [Fri, 4 May 2012 19:20:40 +0000 (15:20 -0400)]
Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py.
This introduces a new function, imp.extension_suffixes(), which is
currently undocumented. That is forthcoming once issue #14657 is
resolved and how to expose file suffixes is decided.
Brett Cannon [Fri, 4 May 2012 17:52:49 +0000 (13:52 -0400)]
Properly mark names in importlib._bootstrap as private.
Benjamin Peterson [Fri, 4 May 2012 15:06:09 +0000 (11:06 -0400)]
initialization not needed
Antoine Pitrou [Fri, 4 May 2012 14:26:56 +0000 (16:26 +0200)]
Fix test connecting to sha256.tbs-internet.com.
The certificate has changed and the test now needs SNI to pass.
Antoine Pitrou [Fri, 4 May 2012 14:26:02 +0000 (16:26 +0200)]
Fix test connecting to sha256.tbs-internet.com.
The certificate has changed and the test now needs SNI to pass.
Richard Oudkerk [Fri, 4 May 2012 11:01:31 +0000 (12:01 +0100)]
Fix for fatal errors in os.*utime*()
The address of an object was being decreffed instead of the object.
Larry Hastings [Fri, 4 May 2012 09:31:57 +0000 (02:31 -0700)]
Issue #14127: Fix two bugs with the Windows implementation.
Richard Oudkerk [Fri, 4 May 2012 08:44:39 +0000 (09:44 +0100)]
Give test_multiprocessing better chance of avoiding timeout failures on Windows
Benjamin Peterson [Fri, 4 May 2012 05:42:41 +0000 (01:42 -0400)]
what is a invalid tuple?
Benjamin Peterson [Fri, 4 May 2012 05:31:13 +0000 (01:31 -0400)]
clean up converted path on error
Benjamin Peterson [Fri, 4 May 2012 05:14:03 +0000 (01:14 -0400)]
avoid unitialized memory
Benjamin Peterson [Fri, 4 May 2012 05:10:59 +0000 (01:10 -0400)]
check correct variable for error
Victor Stinner [Thu, 3 May 2012 23:19:15 +0000 (01:19 +0200)]
unicode_writer: don't force inline when it is not necessary
Keep inline for performance critical functions (functions used in loops)
Benjamin Peterson [Thu, 3 May 2012 22:44:33 +0000 (18:44 -0400)]
merge 3.2 (#14717)
Benjamin Peterson [Thu, 3 May 2012 22:44:09 +0000 (18:44 -0400)]
close() doesn't take any args (closes #14717)
Benjamin Peterson [Thu, 3 May 2012 22:31:07 +0000 (18:31 -0400)]
if the kind of the string to count is larger than the string to search, shortcut to 0
Victor Stinner [Thu, 3 May 2012 21:58:55 +0000 (23:58 +0200)]
unicode_writer: add finish() method and assertions to write_str() method
* The write_str() method does nothing if the length is zero.
* Replace "struct unicode_writer_t" with "unicode_writer_t"
Larry Hastings [Thu, 3 May 2012 19:56:44 +0000 (12:56 -0700)]
Issue #14127: Fix no-op stub for platforms that lack some "os" functions.
Richard Oudkerk [Thu, 3 May 2012 17:29:02 +0000 (18:29 +0100)]
Fix dangling warning for test_multiprocessing
Victor Stinner [Thu, 3 May 2012 17:27:14 +0000 (19:27 +0200)]
Issue #14687: Remove redundant length attribute of unicode_write_t
The length can be read directly from the buffer
Victor Stinner [Thu, 3 May 2012 11:43:07 +0000 (13:43 +0200)]
Issue #14687: Cleanup unicode_writer_prepare()
"Inline" PyUnicode_Resize(): call directly resize_compact()
Victor Stinner [Thu, 3 May 2012 11:10:40 +0000 (13:10 +0200)]
Issue #14687: str%tuple now uses an optimistic "unicode writer" instead of an
accumulator. Directly write characters into the output (don't use a temporary
list): resize and widen the string on demand.
Vinay Sajip [Thu, 3 May 2012 11:09:38 +0000 (12:09 +0100)]
Merged hanged order of cleanup operations from 3.2.
Vinay Sajip [Thu, 3 May 2012 11:06:52 +0000 (12:06 +0100)]
Changed order of cleanup operations to be more sensible.
Victor Stinner [Thu, 3 May 2012 10:29:04 +0000 (12:29 +0200)]
Issue #14624, #14687: Optimize unicode_widen()
Don't convert uninitialized characters. Patch written by Serhiy Storchaka.
Larry Hastings [Thu, 3 May 2012 07:30:07 +0000 (00:30 -0700)]
Issue #14127: Add ns= parameter to utime, futimes, and lutimes.
Removed futimens as it is now redundant.
Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat
and ns= parameter to utime--it once again preserves exact metadata on Linux!
Victor Stinner [Thu, 3 May 2012 01:36:40 +0000 (03:36 +0200)]
Remove buggy assertion in PyUnicode_Substring()
Use also directly unicode_empty, instead of PyUnicode_New(0,0).
Victor Stinner [Thu, 3 May 2012 00:32:34 +0000 (02:32 +0200)]
Fix PyUnicode_Substring() for start >= length and start > end
Remove the fast-path for 1-character string: unicode_fromascii() and
_PyUnicode_FromUCS*() now have their own fast-path for 1-character strings.
Victor Stinner [Thu, 3 May 2012 00:17:04 +0000 (02:17 +0200)]
Unicode: optimize creating of 1-character strings
Victor Stinner [Wed, 2 May 2012 23:44:59 +0000 (01:44 +0200)]
Issue #14687: Optimize str%tuple for the "%(name)s" syntax
Avoid an useless and expensive call to PyUnicode_READ().
Charles-François Natali [Wed, 2 May 2012 18:51:59 +0000 (20:51 +0200)]
Merge.
Charles-François Natali [Wed, 2 May 2012 18:50:13 +0000 (20:50 +0200)]
os.popen().close() returns None on success, not 0...
Charles-François Natali [Wed, 2 May 2012 18:49:14 +0000 (20:49 +0200)]
os.popen().close() returns None on success, not 0...
Richard Oudkerk [Wed, 2 May 2012 18:36:11 +0000 (19:36 +0100)]
Make test_multiprocessing cleanup properly
Previously, when an error was encountered some processes would not be
stopped until atexit callbacks were run. On Windows that was too late
to prevent a PermissionError when regrtest tried to remove the temp
directory it ran the tests in.
Charles-François Natali [Wed, 2 May 2012 18:04:40 +0000 (20:04 +0200)]
Issue #14698: Make test_posix more robust when the current UID doesn't have an
associated pwd entry.
Charles-François Natali [Wed, 2 May 2012 18:01:38 +0000 (20:01 +0200)]
Issue #14698: Make test_posix more robust when the current UID doesn't have an
associated pwd entry.
Martin v. Löwis [Wed, 2 May 2012 05:41:22 +0000 (07:41 +0200)]
Issue #13183: Revert
0b53b70a40a0 (reenable test on windows)
Senthil Kumaran [Wed, 2 May 2012 00:01:02 +0000 (08:01 +0800)]
fix closes issue13183 - windows test failure
Senthil Kumaran [Wed, 2 May 2012 00:00:22 +0000 (08:00 +0800)]
fix windows test failure - issue13183
Victor Stinner [Tue, 1 May 2012 23:15:40 +0000 (01:15 +0200)]
unicodeobject.c: Add MAX_MAXCHAR() macro to (micro-)optimize the computation
of the second argument of PyUnicode_New().
* Create also align_maxchar() function
* Optimize fix_decimal_and_space_to_ascii(): don't compute the maximum
character when ch <= 127 (it is ASCII)
Victor Stinner [Tue, 1 May 2012 22:41:57 +0000 (00:41 +0200)]
Issue #14687: Cleanup PyUnicode_Format()
Victor Stinner [Tue, 1 May 2012 22:29:36 +0000 (00:29 +0200)]
Issue #14687: Optimize str%args
* formatfloat() uses unicode_fromascii() instead of PyUnicode_DecodeASCII()
to not have to check characters, we know that it is really ASCII
* Use PyUnicode_FromOrdinal() instead of _PyUnicode_FromUCS4() to format
a character: if avoids a call to ucs4lib_find_max_char() to compute
the maximum character (whereas we already know it, it is just the character
itself)
Martin v. Löwis [Tue, 1 May 2012 16:15:13 +0000 (18:15 +0200)]
Merge sphinx changes
Benjamin Peterson [Tue, 1 May 2012 15:14:32 +0000 (11:14 -0400)]
don't use assertEqual for test for bool equality
Martin v. Löwis [Tue, 1 May 2012 14:37:44 +0000 (16:37 +0200)]
Include micro version even if it is 0.
Martin v. Löwis [Tue, 1 May 2012 14:31:18 +0000 (16:31 +0200)]
Include micro version even if it is 0.
Martin v. Löwis [Tue, 1 May 2012 14:27:55 +0000 (16:27 +0200)]
Include micro version even if it is 0.
Benjamin Peterson [Tue, 1 May 2012 13:51:46 +0000 (09:51 -0400)]
merge 3.2 (#14699)
Benjamin Peterson [Tue, 1 May 2012 13:51:09 +0000 (09:51 -0400)]
fix calling the classmethod descriptor directly (closes #14699)
Benjamin Peterson [Tue, 1 May 2012 13:38:34 +0000 (09:38 -0400)]
strip is_ prefixes on clock_info fields
Martin v. Löwis [Tue, 1 May 2012 12:08:22 +0000 (14:08 +0200)]
Check extract_version when opening a zipfile.
Georg Brandl [Tue, 1 May 2012 09:59:36 +0000 (11:59 +0200)]
Update timeit documentation w.r.t default timer changes.
Georg Brandl [Tue, 1 May 2012 09:56:22 +0000 (11:56 +0200)]
Add an option to timeit to use time.process_time() and mark -t and -c as deprecated.
Georg Brandl [Tue, 1 May 2012 07:57:42 +0000 (09:57 +0200)]
Added tag v3.3.0a3 for changeset
0b53b70a40a0
Georg Brandl [Tue, 1 May 2012 07:57:34 +0000 (09:57 +0200)]
Disable test_13183 temporarily on Windows for 3.3a3 release.
Georg Brandl [Tue, 1 May 2012 07:35:18 +0000 (09:35 +0200)]
Bump to 3.3.0a3.
Georg Brandl [Tue, 1 May 2012 07:29:56 +0000 (09:29 +0200)]
Suspicious markup check.
Georg Brandl [Tue, 1 May 2012 07:26:47 +0000 (09:26 +0200)]
Regenerate pydoc topics.
Georg Brandl [Tue, 1 May 2012 07:21:16 +0000 (09:21 +0200)]
test_pdb: fix failure of test_issue13183 in debug mode, and make sure files are cleaned up.
Georg Brandl [Tue, 1 May 2012 07:00:59 +0000 (09:00 +0200)]
Add missing comma in __all__ list.
Martin v. Löwis [Tue, 1 May 2012 06:44:08 +0000 (08:44 +0200)]
Recognize unsupported feature "compressed patch data set" from zip 2.7.
Martin v. Löwis [Tue, 1 May 2012 06:38:01 +0000 (08:38 +0200)]
Detect unsupported compression types.
Martin v. Löwis [Tue, 1 May 2012 05:58:44 +0000 (07:58 +0200)]
Issue #14371: Support bzip2 in zipfile module.
Patch by Serhiy Storchaka.
Raymond Hettinger [Tue, 1 May 2012 05:32:16 +0000 (22:32 -0700)]
Move make_key() out of the decorator body. Make keys that only need to be hashed once.
Raymond Hettinger [Tue, 1 May 2012 03:48:55 +0000 (20:48 -0700)]
Use a flag to indicate when the circular queue is fully populated and stable.
Senthil Kumaran [Tue, 1 May 2012 02:37:11 +0000 (10:37 +0800)]
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
Senthil Kumaran [Tue, 1 May 2012 02:07:49 +0000 (10:07 +0800)]
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
Raymond Hettinger [Mon, 30 Apr 2012 21:14:28 +0000 (14:14 -0700)]
Handle a possible race condition
Ned Deily [Mon, 30 Apr 2012 18:15:38 +0000 (11:15 -0700)]
Issue #10433: merge
Ned Deily [Mon, 30 Apr 2012 18:14:02 +0000 (11:14 -0700)]
Issue #10433: Document unique behavior of 'os.getgroups' on Mac OS X.
Ezio Melotti [Mon, 30 Apr 2012 16:11:11 +0000 (19:11 +0300)]
#14558: merge with 3.2.
Ezio Melotti [Mon, 30 Apr 2012 16:10:28 +0000 (19:10 +0300)]
#14558: document the module, argv, and testLoader args of unittest.main.
Senthil Kumaran [Mon, 30 Apr 2012 14:43:46 +0000 (22:43 +0800)]
Issue11352 - Update cgi module docs
Senthil Kumaran [Mon, 30 Apr 2012 14:43:13 +0000 (22:43 +0800)]
Issue11352 - Update cgi module docs
Benjamin Peterson [Mon, 30 Apr 2012 14:23:40 +0000 (10:23 -0400)]
change insertdict to not steal references (#13903)
Richard Oudkerk [Mon, 30 Apr 2012 13:48:51 +0000 (14:48 +0100)]
Issue #14669: Skip multiprocessing connection pickling test on MacOSX
Passing of fds is unreliable on MacOSX, compare issues #6560 and #12958.
Richard Oudkerk [Mon, 30 Apr 2012 13:48:50 +0000 (14:48 +0100)]
Minor fix for multiprocessing unit test
Read from socket might have returned partial message.
Richard Oudkerk [Mon, 30 Apr 2012 11:13:55 +0000 (12:13 +0100)]
Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement"
instead of BSD licence.