]>
granicus.if.org Git - python/log
Victor Stinner [Sat, 6 Oct 2012 21:48:20 +0000 (23:48 +0200)]
Issue #16147: PyUnicode_FromFormatV() doesn't need anymore to allocate a buffer
on the heap to format numbers.
Victor Stinner [Sat, 6 Oct 2012 21:05:45 +0000 (23:05 +0200)]
Issue #16147: PyUnicode_FromFormatV() now raises an error if the argument of
'%c' is not in the range(0x110000).
Victor Stinner [Sat, 6 Oct 2012 21:05:00 +0000 (23:05 +0200)]
Issue #16147: PyUnicode_FromFormatV() now detects integer overflow when parsing
width and precision
Victor Stinner [Sat, 6 Oct 2012 21:03:36 +0000 (23:03 +0200)]
Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API
* Simplify the code: replace 4 steps with one unique step using the
_PyUnicodeWriter API. PyUnicode_Format() has the same design. It avoids to
store intermediate results which require to allocate an array of pointers on
the heap.
* Use the _PyUnicodeWriter API for speed (and its convinient API):
overallocate the buffer to reduce the number of "realloc()"
* Implement "width" and "precision" in Python, don't rely on sprintf(). It
avoids to need of a temporary buffer allocated on the heap: only use a small
buffer allocated in the stack.
* Add _PyUnicodeWriter_WriteCstr() function
* Split PyUnicode_FromFormatV() into two functions: add
unicode_fromformat_arg().
* Inline parse_format_flags(): the format of an argument is now only parsed
once, it's no more needed to have a subfunction.
* Optimize PyUnicode_FromFormatV() for characters between two "%" arguments:
search the next "%" and copy the substring in one chunk, instead of copying
character per character.
Georg Brandl [Sat, 6 Oct 2012 20:39:16 +0000 (22:39 +0200)]
merge with 3.3.
Georg Brandl [Sat, 6 Oct 2012 20:38:20 +0000 (22:38 +0200)]
Fix markup in Counter note.
R David Murray [Sat, 6 Oct 2012 20:30:46 +0000 (16:30 -0400)]
Merge: whatsnew updates for smtplib and collections.Counter.
R David Murray [Sat, 6 Oct 2012 20:29:14 +0000 (16:29 -0400)]
whatsnew updates for smtplib and collections.Counter.
R David Murray [Sat, 6 Oct 2012 20:06:41 +0000 (16:06 -0400)]
Merge: Fix typos.
R David Murray [Sat, 6 Oct 2012 20:06:16 +0000 (16:06 -0400)]
Fix typos.
R David Murray [Sat, 6 Oct 2012 18:38:17 +0000 (14:38 -0400)]
merge #10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
R David Murray [Sat, 6 Oct 2012 18:35:35 +0000 (14:35 -0400)]
#10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
Mark Dickinson [Sat, 6 Oct 2012 17:50:19 +0000 (18:50 +0100)]
Issue #16096: port fix from 3.3
Mark Dickinson [Sat, 6 Oct 2012 17:50:02 +0000 (18:50 +0100)]
Issue #16096: Fix signed overflow in Objects/longobject.c. Thanks Serhiy Storchaka.
Mark Dickinson [Sat, 6 Oct 2012 17:05:14 +0000 (18:05 +0100)]
Issue #16096: Merge fixes from 3.3.
Mark Dickinson [Sat, 6 Oct 2012 17:04:49 +0000 (18:04 +0100)]
Issue #16096: Fix several occurrences of potential signed integer overflow. Thanks Serhiy Storchaka.
Andrew Svetlov [Sat, 6 Oct 2012 15:46:09 +0000 (18:46 +0300)]
revert accidental inclusion of subprocess tests
Andrew Svetlov [Sat, 6 Oct 2012 15:45:47 +0000 (18:45 +0300)]
revert accidental inclusion of subprocess tests
Andrew Svetlov [Sat, 6 Oct 2012 15:45:24 +0000 (18:45 +0300)]
revert accidental inclusion of subprocess tests
Andrew Svetlov [Sat, 6 Oct 2012 15:38:30 +0000 (18:38 +0300)]
Add spaces to follow PEP8.
Christian Heimes [Sat, 6 Oct 2012 15:16:39 +0000 (17:16 +0200)]
and another one
Christian Heimes [Sat, 6 Oct 2012 15:14:02 +0000 (17:14 +0200)]
merge
Christian Heimes [Sat, 6 Oct 2012 15:13:29 +0000 (17:13 +0200)]
move var declaration to top of block to fix compilation on Windows, fixes
a7ec0a1b0f7c
Andrew Svetlov [Sat, 6 Oct 2012 15:10:52 +0000 (18:10 +0300)]
Issue #16025: Minor corrections to the zipfile documentation.
Patch by Serhiy Storchaka.
Andrew Svetlov [Sat, 6 Oct 2012 15:10:01 +0000 (18:10 +0300)]
Issue #16025: Minor corrections to the zipfile documentation.
Patch by Serhiy Storchaka.
Andrew Svetlov [Sat, 6 Oct 2012 15:02:05 +0000 (18:02 +0300)]
Issue #16025: Minor corrections to the zipfile documentation.
Patch by Serhiy Storchaka.
Andrew Svetlov [Sat, 6 Oct 2012 14:11:45 +0000 (17:11 +0300)]
Issue #16120: Use |yield from| in stdlib.
Patch by Berker Peksag.
Christian Heimes [Sat, 6 Oct 2012 13:44:29 +0000 (15:44 +0200)]
remove #warning from sha3module.c
Christian Heimes [Sat, 6 Oct 2012 13:09:06 +0000 (15:09 +0200)]
fix possible memory leak, dealloc newobj
Armin Ronacher [Sat, 6 Oct 2012 12:30:32 +0000 (14:30 +0200)]
Fixed a missing incref introduced by
a7ec0a1b0f7c
Armin Ronacher [Sat, 6 Oct 2012 12:28:58 +0000 (14:28 +0200)]
Added notimplemented_dealloc for better error reporting
Armin Ronacher [Sat, 6 Oct 2012 12:12:21 +0000 (14:12 +0200)]
merge default
Armin Ronacher [Sat, 6 Oct 2012 12:03:24 +0000 (14:03 +0200)]
Issue #16148: implemented PEP 424
Georg Brandl [Sat, 6 Oct 2012 11:50:27 +0000 (13:50 +0200)]
merge with 3.3
Georg Brandl [Sat, 6 Oct 2012 11:49:34 +0000 (13:49 +0200)]
Closes #11710: create "landing pages" (/library/package.html) for those packages that have no documented content themselves, e.g. "urllib" or "http".
Georg Brandl [Sat, 6 Oct 2012 11:48:39 +0000 (13:48 +0200)]
Closes #16149: remove now-false statement about the inability to compare Decimal and float objects.
Andrew Svetlov [Sat, 6 Oct 2012 10:52:19 +0000 (13:52 +0300)]
Issue #13896: Make shelf instances work with 'with' as context managers.
Original patch by Filip GruszczyĆski.
Andrew Svetlov [Sat, 6 Oct 2012 10:44:12 +0000 (13:44 +0300)]
Update NEWS for adding missed changes.
Christian Heimes [Sat, 6 Oct 2012 01:40:10 +0000 (03:40 +0200)]
fixed _sha3 VS project file
Christian Heimes [Sat, 6 Oct 2012 01:16:12 +0000 (03:16 +0200)]
Issue #16133: add Windows project file for _sha3 module. I choose to build _sha3 as a sparat module as it's rather large (190k for AMD64).
Christian Heimes [Sat, 6 Oct 2012 00:27:57 +0000 (02:27 +0200)]
add note to Misc/NEWS
Christian Heimes [Sat, 6 Oct 2012 00:23:36 +0000 (02:23 +0200)]
Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes
Victor Stinner [Fri, 5 Oct 2012 22:40:45 +0000 (00:40 +0200)]
In debug mode, unicode_write_cstr() now checks that non-ASCII characters are
not written into an ASCII string
Andrew Svetlov [Fri, 5 Oct 2012 19:53:12 +0000 (22:53 +0300)]
Merge issue #16115: Add test for check that executable arg to Popen() takes precedence over args[0] arg\n \n Patch by Kushal Das
Andrew Svetlov [Fri, 5 Oct 2012 19:52:15 +0000 (22:52 +0300)]
Issue #16115: Add test for check that executable arg to Popen() takes precedence over args[0] arg\n \n Patch by Kushal Das
Andrew Svetlov [Fri, 5 Oct 2012 19:16:55 +0000 (22:16 +0300)]
normalize whitespaces
Andrew Svetlov [Fri, 5 Oct 2012 19:12:44 +0000 (22:12 +0300)]
Issue #16123: IDLE - deprecate running without a subprocess.
Patch by Roger Serwy
Ezio Melotti [Fri, 5 Oct 2012 11:10:57 +0000 (14:10 +0300)]
Merge ftplib doc fix with 3.3.
Ezio Melotti [Fri, 5 Oct 2012 11:10:39 +0000 (14:10 +0300)]
Merge ftplib doc fix with 3.2.
Ezio Melotti [Fri, 5 Oct 2012 11:09:59 +0000 (14:09 +0300)]
The file obj passed to ftp.storbinary/storlines must be opened in binary mode.
Andrew Svetlov [Fri, 5 Oct 2012 10:27:02 +0000 (13:27 +0300)]
Merge issue #16138: fix typo.
Andrew Svetlov [Fri, 5 Oct 2012 10:26:42 +0000 (13:26 +0300)]
Merge issue #16138: fix typo.
Andrew Svetlov [Fri, 5 Oct 2012 10:26:10 +0000 (13:26 +0300)]
Issue #16138: fix typo.
Jesus Cea [Fri, 5 Oct 2012 03:32:10 +0000 (05:32 +0200)]
MERGE: #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
Jesus Cea [Fri, 5 Oct 2012 03:31:31 +0000 (05:31 +0200)]
MERGE: #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
Jesus Cea [Fri, 5 Oct 2012 03:21:42 +0000 (05:21 +0200)]
#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch
Jesus Cea [Fri, 5 Oct 2012 02:58:38 +0000 (04:58 +0200)]
#16112: platform.architecture does not correctly escape argument to /usr/bin/file. Use 'communicate()' and decode the bytes
Jesus Cea [Fri, 5 Oct 2012 02:02:41 +0000 (04:02 +0200)]
Issue #14446: Remove deprecated tkinter functions: Delete an unused function to avoid a warning
Jesus Cea [Fri, 5 Oct 2012 01:57:56 +0000 (03:57 +0200)]
Issue #14446: Remove deprecated tkinter functions: Delete an unused function to avoid a warning
Jesus Cea [Fri, 5 Oct 2012 01:36:11 +0000 (03:36 +0200)]
Closes #16135: Removal of OS/2 support
Jesus Cea [Fri, 5 Oct 2012 01:28:20 +0000 (03:28 +0200)]
Test should be skipped in 'riscos', as intented
Jesus Cea [Fri, 5 Oct 2012 01:15:39 +0000 (03:15 +0200)]
#16135: Removal of OS/2 support (Python code partial cleanup)
Jesus Cea [Fri, 5 Oct 2012 00:48:46 +0000 (02:48 +0200)]
#16135: Removal of OS/2 support (Remove OS2 and OS/2 references)
Ezio Melotti [Fri, 5 Oct 2012 00:34:02 +0000 (03:34 +0300)]
#16127: merge with 3.3.
Ezio Melotti [Fri, 5 Oct 2012 00:33:31 +0000 (03:33 +0300)]
#16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka.
Jesus Cea [Fri, 5 Oct 2012 00:27:40 +0000 (02:27 +0200)]
#16135: Removal of OS/2 support (C code and Docs)
Jesus Cea [Fri, 5 Oct 2012 00:11:36 +0000 (02:11 +0200)]
#16135: Removal of OS/2 support (Modules/*)
Jesus Cea [Thu, 4 Oct 2012 23:48:08 +0000 (01:48 +0200)]
#16135: Removal of OS/2 support (posixmodule y platform dependent files)
Jesus Cea [Thu, 4 Oct 2012 23:11:10 +0000 (01:11 +0200)]
#16135: Removal of OS/2 support (Docs)
Jesus Cea [Thu, 4 Oct 2012 23:04:27 +0000 (01:04 +0200)]
#16135: Removal of OS/2 support (I)
Victor Stinner [Thu, 4 Oct 2012 22:37:11 +0000 (00:37 +0200)]
merge 3.3 (bug already fixed, differently, in default)
Victor Stinner [Thu, 4 Oct 2012 22:09:33 +0000 (00:09 +0200)]
Fix PyUnicode_Format(): return NULL if PyUnicode_READY(uformat) failed
This error cannot occur in practice: PyUnicode_FromObject() always return
a "ready" string.
Victor Stinner [Thu, 4 Oct 2012 20:59:45 +0000 (22:59 +0200)]
Optimize unicode_compare(): use memcmp() when comparing two UCS1 strings
Victor Stinner [Thu, 4 Oct 2012 19:53:50 +0000 (21:53 +0200)]
Enable also ptr==ptr optimization in PyUnicode_Compare()
It was already implemented in PyUnicode_RichCompare()
Andrew Svetlov [Thu, 4 Oct 2012 19:50:58 +0000 (22:50 +0300)]
Merge: Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
Andrew Svetlov [Thu, 4 Oct 2012 19:50:13 +0000 (22:50 +0300)]
Merge: Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
Andrew Svetlov [Thu, 4 Oct 2012 19:48:34 +0000 (22:48 +0300)]
Issue #14997: disable <F5> in idle shell window.
Thanks to Roger Serwy for patch.
Andrew Svetlov [Thu, 4 Oct 2012 19:10:09 +0000 (22:10 +0300)]
Issue #14446: Remove deprecated tkinter functions
Thanks to Michael Driscoll
Andrew Svetlov [Thu, 4 Oct 2012 18:48:58 +0000 (21:48 +0300)]
Issue #15417: Add support for csh and fish in venv activation scripts.
Antoine Pitrou [Thu, 4 Oct 2012 17:54:53 +0000 (19:54 +0200)]
Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL).
Antoine Pitrou [Thu, 4 Oct 2012 17:53:29 +0000 (19:53 +0200)]
Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL).
Andrew Svetlov [Thu, 4 Oct 2012 16:55:04 +0000 (19:55 +0300)]
Merge heads
Andrew Svetlov [Thu, 4 Oct 2012 16:52:56 +0000 (19:52 +0300)]
Merge: Fix typo in documentation for time module, thanks to docs@
Andrew Svetlov [Thu, 4 Oct 2012 16:52:32 +0000 (19:52 +0300)]
Fix typo in documentation for time module, thanks to docs@
Benjamin Peterson [Thu, 4 Oct 2012 16:45:10 +0000 (12:45 -0400)]
3.3 -> 3.4 (closes #16130)
Andrew Svetlov [Thu, 4 Oct 2012 16:29:55 +0000 (19:29 +0300)]
Merge: Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
Andrew Svetlov [Thu, 4 Oct 2012 16:29:25 +0000 (19:29 +0300)]
Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
Jesus Cea [Thu, 4 Oct 2012 14:07:03 +0000 (16:07 +0200)]
MERGE: Closes #16126: PyErr_Format format mismatch in _testcapimodule.c
Jesus Cea [Thu, 4 Oct 2012 14:06:30 +0000 (16:06 +0200)]
Closes #16126: PyErr_Format format mismatch in _testcapimodule.c
Jesus Cea [Thu, 4 Oct 2012 11:58:22 +0000 (13:58 +0200)]
MERGE: Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file
Jesus Cea [Thu, 4 Oct 2012 11:56:23 +0000 (13:56 +0200)]
MERGE: Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file
Jesus Cea [Thu, 4 Oct 2012 11:51:43 +0000 (13:51 +0200)]
Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file
Jesus Cea [Thu, 4 Oct 2012 10:37:56 +0000 (12:37 +0200)]
Closes #15488: Closed files keep their buffer alive
Jesus Cea [Thu, 4 Oct 2012 00:59:09 +0000 (02:59 +0200)]
MERGE: Whatsnew typo
Jesus Cea [Thu, 4 Oct 2012 00:58:48 +0000 (02:58 +0200)]
Whatsnew typo
Jesus Cea [Thu, 4 Oct 2012 00:51:44 +0000 (02:51 +0200)]
MERGE: whatsnew
Jesus Cea [Thu, 4 Oct 2012 00:51:22 +0000 (02:51 +0200)]
whatsnew
Victor Stinner [Thu, 4 Oct 2012 00:43:02 +0000 (02:43 +0200)]
long_to_decimal_string_internal() doesn't need to write the final NULL character
Victor Stinner [Thu, 4 Oct 2012 00:32:58 +0000 (02:32 +0200)]
unicode_result_wchar(): move the assert() to the "#ifdef Py_DEBUG" block
Victor Stinner [Thu, 4 Oct 2012 00:19:54 +0000 (02:19 +0200)]
Split the huge PyUnicode_Format() function (+540 lines) into subfunctions