]>
granicus.if.org Git - python/log
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
Victor Stinner [Wed, 7 Dec 2011 23:32:51 +0000 (00:32 +0100)]
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
Victor Stinner [Wed, 7 Dec 2011 23:08:22 +0000 (00:08 +0100)]
libpython.py: defer call to gdb.lookup_type('PyUnicodeObject')
The lookup fails at startup if Python is linked to a shared library.
Charles-François Natali [Wed, 7 Dec 2011 22:17:58 +0000 (23:17 +0100)]
Followup to
a541bda2f5e2 : Add a short comment.
Ezio Melotti [Wed, 7 Dec 2011 22:03:59 +0000 (00:03 +0200)]
#13531: merge with 3.2.
Ezio Melotti [Wed, 7 Dec 2011 22:02:00 +0000 (00:02 +0200)]
#13531: add a test for defaultdict with a non-callable arg. Patch by Mike Cheng.
Charles-François Natali [Wed, 7 Dec 2011 18:16:01 +0000 (19:16 +0100)]
Issue #11051: Reduce the number of syscalls per import.
Ned Deily [Wed, 7 Dec 2011 09:12:50 +0000 (01:12 -0800)]
Issue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".
(Patch by Tal Einat)
Ned Deily [Wed, 7 Dec 2011 09:08:35 +0000 (01:08 -0800)]
Issue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".
(Patch by Tal Einat)
Antoine Pitrou [Tue, 6 Dec 2011 21:34:36 +0000 (22:34 +0100)]
Fix dangling whitespace
Antoine Pitrou [Tue, 6 Dec 2011 21:33:57 +0000 (22:33 +0100)]
Issue #13464: Add a readinto() method to http.client.HTTPResponse.
Patch by Jon Kuhn.
Jesus Cea [Tue, 6 Dec 2011 19:47:38 +0000 (20:47 +0100)]
MERGE: Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop
Jesus Cea [Tue, 6 Dec 2011 19:46:57 +0000 (20:46 +0100)]
Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop
Lars Gustäbel [Tue, 6 Dec 2011 12:44:10 +0000 (13:44 +0100)]
Remove no longer needed work-around for bz2 file object support.
Lars Gustäbel [Tue, 6 Dec 2011 12:00:58 +0000 (13:00 +0100)]
Merge with 3.2: Correctly detect bzip2 compressed streams with blocksizes other than 900k.
Lars Gustäbel [Tue, 6 Dec 2011 11:56:38 +0000 (12:56 +0100)]
Correctly detect bzip2 compressed streams with blocksizes other than 900k.
Barry Warsaw [Mon, 5 Dec 2011 21:50:41 +0000 (16:50 -0500)]
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
given by Campbell Barton).
Barry Warsaw [Mon, 5 Dec 2011 21:45:02 +0000 (16:45 -0500)]
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
given by Campbell Barton).
Antoine Pitrou [Mon, 5 Dec 2011 19:40:08 +0000 (20:40 +0100)]
Issue #13503: Use a more efficient reduction format for bytearrays with
pickle protocol >= 3. The old reduction format is kept with older
protocols in order to allow unpickling under Python 2.
Patch by Irmen de Jong.
Antoine Pitrou [Mon, 5 Dec 2011 00:47:40 +0000 (01:47 +0100)]
Merge assorted fixes from 3.2
Antoine Pitrou [Mon, 5 Dec 2011 00:46:35 +0000 (01:46 +0100)]
s/SOCKSTREAM/TCP/
Antoine Pitrou [Mon, 5 Dec 2011 00:43:32 +0000 (01:43 +0100)]
Reword IPC section
Antoine Pitrou [Mon, 5 Dec 2011 00:37:34 +0000 (01:37 +0100)]
Use www.python.org instead of a hostname pointing to a parked (or squatted) domain.
Also, reformat a bit.
Antoine Pitrou [Mon, 5 Dec 2011 00:32:29 +0000 (01:32 +0100)]
Remove the outdated notion that multithreading doesn't work well on Unices.