]>
granicus.if.org Git - python/log
Victor Stinner [Fri, 16 Dec 2011 22:48:55 +0000 (23:48 +0100)]
(Merge 3.2) main() now displays an error message before exiting if a command
line argument cannot be decoded
Victor Stinner [Fri, 16 Dec 2011 22:48:31 +0000 (23:48 +0100)]
main() now displays an error message before exiting if a command line argument
cannot be decoded
Antoine Pitrou [Fri, 16 Dec 2011 14:04:12 +0000 (15:04 +0100)]
Skip test if the path is too long for a AF_UNIX socket
Antoine Pitrou [Fri, 16 Dec 2011 13:46:36 +0000 (14:46 +0100)]
Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystem
encoding and the surrogateescape error handler, rather than UTF-8. Patch
by David Watson.
Antoine Pitrou [Fri, 16 Dec 2011 11:29:37 +0000 (12:29 +0100)]
Issue #10350: Read and save errno before calling a function which might overwrite it.
Original patch by Hallvard B Furuseth.
Antoine Pitrou [Fri, 16 Dec 2011 11:28:32 +0000 (12:28 +0100)]
Issue #10350: Read and save errno before calling a function which might overwrite it.
Original patch by Hallvard B Furuseth.
Antoine Pitrou [Fri, 16 Dec 2011 10:25:15 +0000 (11:25 +0100)]
Add ACKS entry for
57f0af61da53 .
Antoine Pitrou [Fri, 16 Dec 2011 10:24:27 +0000 (11:24 +0100)]
Issue #6695: Full garbage collection runs now clear the freelist of set objects.
Initial patch by Matthias Troffaes.
Benjamin Peterson [Fri, 16 Dec 2011 00:24:49 +0000 (19:24 -0500)]
property -> staticmethod
Benjamin Peterson [Thu, 15 Dec 2011 20:57:47 +0000 (15:57 -0500)]
merge heads
Benjamin Peterson [Thu, 15 Dec 2011 20:57:15 +0000 (15:57 -0500)]
fix this test to actually test something (closes #13606)
Thanks Mark Shannon.
Victor Stinner [Thu, 15 Dec 2011 20:48:39 +0000 (21:48 +0100)]
Close #13596: Only recompile Lib/_sysconfigdata.py when needed
Benjamin Peterson [Thu, 15 Dec 2011 20:44:16 +0000 (15:44 -0500)]
merge heads
Benjamin Peterson [Thu, 15 Dec 2011 20:43:56 +0000 (15:43 -0500)]
input() in this sense is gone
Victor Stinner [Thu, 15 Dec 2011 20:42:28 +0000 (21:42 +0100)]
(Merge 3.2) Issue #13545: Fix platform.libc_version() is the SO version is missing
Victor Stinner [Thu, 15 Dec 2011 20:42:03 +0000 (21:42 +0100)]
Issue #13545: Fix platform.libc_version() is the SO version is missing
Benjamin Peterson [Thu, 15 Dec 2011 20:34:02 +0000 (15:34 -0500)]
improve abstract property support (closes #11610)
Thanks to Darren Dale for patch.
Antoine Pitrou [Thu, 15 Dec 2011 15:26:03 +0000 (16:26 +0100)]
Issue #13597: Improve documentation of standard streams.
Antoine Pitrou [Thu, 15 Dec 2011 15:25:34 +0000 (16:25 +0100)]
Issue #13597: Improve documentation of standard streams.
Antoine Pitrou [Thu, 15 Dec 2011 13:31:28 +0000 (14:31 +0100)]
Fix OSError.__init__ and OSError.__new__ so that each of them can be
overriden and take additional arguments (followup to issue #12555).
Antoine Pitrou [Thu, 15 Dec 2011 13:17:36 +0000 (14:17 +0100)]
Fix the fix for issue #12149: it was incorrect, although it had the side
effect of appearing to resolve the issue. Thanks to Mark Shannon for
noticing.
Antoine Pitrou [Thu, 15 Dec 2011 13:15:31 +0000 (14:15 +0100)]
Fix the fix for issue #12149: it was incorrect, although it had the side
effect of appearing to resolve the issue. Thanks to Mark Shannon for
noticing.
Meador Inge [Thu, 15 Dec 2011 04:53:13 +0000 (22:53 -0600)]
Issue #13593: updating the importlib utility decorators for __qualname__.
Meador Inge [Thu, 15 Dec 2011 04:39:28 +0000 (22:39 -0600)]
Issue #13591: Moving the NEWS line to the right release.
Meador Inge [Thu, 15 Dec 2011 04:37:48 +0000 (22:37 -0600)]
Issue #13591: Moving the NEWS line to the right release.
Meador Inge [Thu, 15 Dec 2011 04:27:28 +0000 (22:27 -0600)]
Issue #13591: import_module potentially imports a module twice.
Meador Inge [Thu, 15 Dec 2011 04:23:46 +0000 (22:23 -0600)]
Issue #13591: import_module potentially imports a module twice.
Ned Deily [Wed, 14 Dec 2011 23:14:52 +0000 (15:14 -0800)]
Issue #4625: Add NEWS entry.
Ned Deily [Wed, 14 Dec 2011 23:06:50 +0000 (15:06 -0800)]
Issue #4625: add NEWS entry.
Ned Deily [Wed, 14 Dec 2011 23:03:31 +0000 (15:03 -0800)]
Issue #4625: If IDLE cannot write to its recent file or breakpoint
files, display a message popup and continue rather than crash.
(original patch by Roger Serwy)
Ned Deily [Wed, 14 Dec 2011 22:58:24 +0000 (14:58 -0800)]
Issue #4625: If IDLE cannot write to its recent file or breakpoint
files, display a message popup and continue rather than crash.
(original patch by Roger Serwy)
Charles-François Natali [Wed, 14 Dec 2011 18:29:56 +0000 (19:29 +0100)]
Issue #13453: Fix a race condition in test_poplib.
Charles-François Natali [Wed, 14 Dec 2011 18:28:56 +0000 (19:28 +0100)]
Issue #13453: Fix a race condition in test_poplib.
Charles-François Natali [Wed, 14 Dec 2011 17:40:35 +0000 (18:40 +0100)]
Null merge - Issue #4028: Make multiprocessing build on SunOS.
Charles-François Natali [Wed, 14 Dec 2011 17:39:09 +0000 (18:39 +0100)]
Issue #4028: Make multiprocessing build on SunOS.
Giampaolo Rodola' [Wed, 14 Dec 2011 13:38:45 +0000 (14:38 +0100)]
Fix #13449: add 'blocking' parameter to sched.scheduler.run() so that the scheduler can be used in non-blocking applications
Giampaolo Rodola' [Wed, 14 Dec 2011 12:34:26 +0000 (13:34 +0100)]
Fix #8684: make sched.scheduler class thread-safe
Alexandre Vassalotti [Tue, 13 Dec 2011 18:22:42 +0000 (13:22 -0500)]
Merge 3.2
Alexandre Vassalotti [Tue, 13 Dec 2011 18:08:09 +0000 (13:08 -0500)]
Issue #13505: Make pickling of bytes object compatible with Python 2.
Initial patch by sbt.
Ezio Melotti [Tue, 13 Dec 2011 13:53:47 +0000 (15:53 +0200)]
#6570: merge with 3.2.
Ezio Melotti [Tue, 13 Dec 2011 13:49:22 +0000 (15:49 +0200)]
#6570: clarify tutorial section about keyword arguments.
Ezio Melotti [Tue, 13 Dec 2011 13:38:13 +0000 (15:38 +0200)]
#13549: merge with 3.2.
Ezio Melotti [Tue, 13 Dec 2011 13:36:19 +0000 (15:36 +0200)]
#13549: improve tutorial section about listcomps.
Antoine Pitrou [Mon, 12 Dec 2011 18:18:24 +0000 (19:18 +0100)]
Fix test_gdb failure
Florent Xicluna [Mon, 12 Dec 2011 17:54:29 +0000 (18:54 +0100)]
Issue #13575: there is only one class type.
Antoine Pitrou [Mon, 12 Dec 2011 12:47:25 +0000 (13:47 +0100)]
Issue #13577: various kinds of descriptors now have a __qualname__ attribute.
Patch by sbt.
Victor Stinner [Mon, 12 Dec 2011 12:24:15 +0000 (13:24 +0100)]
PyUnicode_Resize(): warn about canonical representation
Call also directly unicode_resize() in unicodeobject.c
Victor Stinner [Mon, 12 Dec 2011 12:08:33 +0000 (13:08 +0100)]
Fix PyUnicode_Resize() for compact string: leave the string unchanged on error
Fix also PyUnicode_Resize() doc
Lars Gustäbel [Mon, 12 Dec 2011 09:22:56 +0000 (10:22 +0100)]
Add missing versionchanged information.
Meador Inge [Mon, 12 Dec 2011 04:37:31 +0000 (22:37 -0600)]
Issue #13544: Add __qualname__ to functools.WRAPPER_ASSIGNMENTS.
Patch by Filip Gruszczyński.
Victor Stinner [Mon, 12 Dec 2011 00:53:47 +0000 (01:53 +0100)]
Make PyUnicode_Copy() private => _PyUnicode_Copy()
Undocument the function.
Make also decode_utf8_errors() as private (static).
Victor Stinner [Sun, 11 Dec 2011 23:13:42 +0000 (00:13 +0100)]
resize_copy() now supports legacy ready strings
Victor Stinner [Sun, 11 Dec 2011 23:01:39 +0000 (00:01 +0100)]
Rewrite PyUnicode_Append(); unicode_modifiable() is more strict
* Rename unicode_resizable() to unicode_modifiable()
* Rename _PyUnicode_Dirty() to unicode_check_modifiable() to make it clear
that the function is private
* Inline PyUnicode_Concat() and unicode_append_inplace() in PyUnicode_Append()
to simplify the code
* unicode_modifiable() return 0 if the hash has been computed or if the string
is not an exact unicode string
* Remove _PyUnicode_DIRTY(): no need to reset the hash anymore, because if the
hash has already been computed, you cannot modify a string inplace anymore
* PyUnicode_Concat() checks for integer overflow
Victor Stinner [Mon, 12 Dec 2011 00:24:20 +0000 (01:24 +0100)]
PyUnicode_IS_ASCII() macro ensures that the string is ready
It has no sense to check if a not ready string is ASCII or not.
Victor Stinner [Sun, 11 Dec 2011 21:44:26 +0000 (22:44 +0100)]
Create unicode_result_unchanged() subfunction
Victor Stinner [Sun, 11 Dec 2011 21:22:39 +0000 (22:22 +0100)]
Fix fixup() for unchanged unicode subtype
If maxchar_new == 0 and self is a unicode subtype, return u instead of duplicating u.
Victor Stinner [Sun, 11 Dec 2011 20:54:30 +0000 (21:54 +0100)]
unicode_fromascii() doesn't check string content twice in debug mode
_PyUnicode_CheckConsistency() also checks string content.
Victor Stinner [Sun, 11 Dec 2011 20:53:09 +0000 (21:53 +0100)]
Call directly PyUnicode_DecodeUTF8Stateful() instead of PyUnicode_DecodeUTF8()
* Remove micro-optimization from PyUnicode_FromStringAndSize():
PyUnicode_DecodeUTF8Stateful() has already these optimizations (for size=0
and one ascii char).
* Rename utf8_max_char_size_and_char_count() to utf8_scanner(), and remove an
useless variable
Victor Stinner [Sun, 11 Dec 2011 20:44:00 +0000 (21:44 +0100)]
Use directly unicode_empty instead of PyUnicode_New(0, 0)
Victor Stinner [Sun, 11 Dec 2011 19:09:03 +0000 (20:09 +0100)]
Move the slowest UTF-8 decoder to its own subfunction
* Create decode_utf8_errors()
* Reuse unicode_fromascii()
* decode_utf8_errors() doesn't refit at the beginning
* Remove refit_partial_string(), use unicode_adjust_maxchar() instead
Victor Stinner [Sun, 11 Dec 2011 19:04:56 +0000 (20:04 +0100)]
Fix error handling in resize_compact()
Benjamin Peterson [Sat, 10 Dec 2011 22:55:31 +0000 (17:55 -0500)]
merge heads
Benjamin Peterson [Sat, 10 Dec 2011 22:50:22 +0000 (17:50 -0500)]
alias resource.error to OSError
Giampaolo Rodola' [Sat, 10 Dec 2011 20:25:04 +0000 (21:25 +0100)]
fix #13563: make use of with statement in ftplib.py where needed
Florent Xicluna [Sat, 10 Dec 2011 20:14:53 +0000 (21:14 +0100)]
Fix imports in xml.dom.
Lars Gustäbel [Sat, 10 Dec 2011 19:38:14 +0000 (20:38 +0100)]
Issue #5689: Add support for lzma compression to the tarfile module.
Benjamin Peterson [Sat, 10 Dec 2011 17:44:37 +0000 (12:44 -0500)]
merge 3.2
Benjamin Peterson [Sat, 10 Dec 2011 17:44:25 +0000 (12:44 -0500)]
we're always going to have gc
Benjamin Peterson [Sat, 10 Dec 2011 17:38:52 +0000 (12:38 -0500)]
merge 3.2
Benjamin Peterson [Sat, 10 Dec 2011 17:31:42 +0000 (12:31 -0500)]
you can't get resource.error if you can't import resource
Victor Stinner [Sat, 10 Dec 2011 13:37:53 +0000 (14:37 +0100)]
Issue #11886: Fix also test_time for the non-DST timezone name (EST/AEST)
Charles-François Natali [Sat, 10 Dec 2011 12:17:46 +0000 (13:17 +0100)]
Issue #13453: Catch EAI_FAIL in support.transient_internet.
Charles-François Natali [Sat, 10 Dec 2011 12:16:44 +0000 (13:16 +0100)]
Issue #13453: Catch EAI_FAIL in support.transient_internet.
Florent Xicluna [Sat, 10 Dec 2011 12:02:17 +0000 (13:02 +0100)]
Fix comment in difflib.
Lars Gustäbel [Sat, 10 Dec 2011 11:48:03 +0000 (12:48 +0100)]
Merge with 3.2: Fix doc typo.
Lars Gustäbel [Sat, 10 Dec 2011 11:45:45 +0000 (12:45 +0100)]
Fix doc typo.
Florent Xicluna [Sat, 10 Dec 2011 10:07:42 +0000 (11:07 +0100)]
Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd).
Florent Xicluna [Fri, 9 Dec 2011 22:42:29 +0000 (23:42 +0100)]
Merge 3.2
Florent Xicluna [Fri, 9 Dec 2011 22:41:21 +0000 (23:41 +0100)]
Remove obsolete py3k comment.
Florent Xicluna [Fri, 9 Dec 2011 22:41:19 +0000 (23:41 +0100)]
Fix docstring typo.
Antoine Pitrou [Fri, 9 Dec 2011 22:11:16 +0000 (23:11 +0100)]
Issue #13528: rework the performance question in the programming FAQ
Antoine Pitrou [Fri, 9 Dec 2011 22:10:31 +0000 (23:10 +0100)]
Issue #13528: rework the performance question in the programming FAQ
Florent Xicluna [Fri, 9 Dec 2011 21:35:06 +0000 (22:35 +0100)]
Closes #2979: add parameter 'use_builtin_types' to the SimpleXMLRPCServer.
Victor Stinner [Fri, 9 Dec 2011 19:49:49 +0000 (20:49 +0100)]
Write tests for invalid characters (U+
00110000 )
Test the following functions:
* codecs.raw_unicode_escape_decode()
* PyUnicode_FromWideChar()
* PyUnicode_FromUnicode()
* "unicode_internal" and "unicode_escape" decoders
Victor Stinner [Fri, 9 Dec 2011 19:21:17 +0000 (20:21 +0100)]
(Merge 3.2) Issue #5905: time.strftime() is now using the locale encoding,
instead of UTF-8, if the wcsftime() function is not available.
Victor Stinner [Fri, 9 Dec 2011 19:19:24 +0000 (20:19 +0100)]
Issue #5905: time.strftime() is now using the locale encoding, instead of
UTF-8, if the wcsftime() function is not available.
Victor Stinner [Fri, 9 Dec 2011 10:29:44 +0000 (11:29 +0100)]
Issue #13441: Enable the workaround for Solaris locale bug
Skip locales triggering the mbstowcs() bug. I collected the locale list thanks
my previous commit:
* hu_HU (ISO8859-2): character U+
30000020
* de_AT (ISO8859-1): character U+
30000076
* cs_CZ (ISO8859-2): character U+
30000020
* sk_SK (ISO8859-2): character U+
30000020
* pl_PL (ISO8859-2): character U+
30000020
* fr_CA (ISO8859-1): character U+
30000020
Victor Stinner [Fri, 9 Dec 2011 09:28:45 +0000 (10:28 +0100)]
Issue #13441: Skip some locales (e.g. cs_CZ and hu_HU) on Solaris to workaround
a mbstowcs() bug. For example, on Solaris, the hu_HU locale uses the locale
encoding ISO-8859-2, the thousauds separator is b'\xA0' and it is decoded as
U+
30000020 (an invalid character) by mbstowcs().
The workaround is not enabled yet (commented): I would like first to get
more information about the failing locales.
Victor Stinner [Fri, 9 Dec 2011 00:20:03 +0000 (01:20 +0100)]
Issue #13441: Don't test the hu_HU locale on Solaris to workaround a mbstowcs()
bug. On Solaris, if the locale is hu_HU (and if the locale encoding is not
UTF-8), the thousauds separator is b'\xA0' which is decoded as U+
30000020
instead of U+0020 by mbstowcs().
Nadeem Vawda [Thu, 8 Dec 2011 23:32:46 +0000 (01:32 +0200)]
What's New in Python 3.3: Add entry for lzma module (issue #6715).
Victor Stinner [Thu, 8 Dec 2011 23:18:11 +0000 (00:18 +0100)]
Document PyUnicode_Copy() and PyUnicode_EncodeCodePage()
Victor Stinner [Thu, 8 Dec 2011 23:10:41 +0000 (00:10 +0100)]
What's New in Python 3.3: Add a Deprecated section
Victor Stinner [Thu, 8 Dec 2011 22:42:52 +0000 (23:42 +0100)]
Issue #13441: Log the locale when localeconv() fails
Stefan Krah [Thu, 8 Dec 2011 22:31:40 +0000 (23:31 +0100)]
Merge fix for issue #13547.
Stefan Krah [Thu, 8 Dec 2011 22:25:15 +0000 (23:25 +0100)]
Issue #13547: clean Lib/_sysconfigdata.py and Modules/_testembed
Stefan Krah [Thu, 8 Dec 2011 21:30:18 +0000 (22:30 +0100)]
Merge.
Stefan Krah [Thu, 8 Dec 2011 21:22:58 +0000 (22:22 +0100)]
Merge second fix for issue #11149.
Stefan Krah [Thu, 8 Dec 2011 21:20:31 +0000 (22:20 +0100)]
Issue #11149: Also enable -fwrapv if $CC is a full path
or has a trailing version number.
Victor Stinner [Thu, 8 Dec 2011 21:14:11 +0000 (22:14 +0100)]
PyUnicode_FromWideChar() and PyUnicode_FromUnicode() raise a ValueError if a
character in not in range [U+0000; U+10ffff].
Victor Stinner [Wed, 7 Dec 2011 23:33:14 +0000 (00:33 +0100)]
(Merge 3.2) Issue #11886: workaround an OS bug (time zone data) in test_time
Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard
Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which
is wrong. See for example this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810