Commit Graph

43154 Commits

Author SHA1 Message Date
Raymond Hettinger bb734c6707 Add an example 2010-09-05 05:56:44 +00:00
Raymond Hettinger db6b62e756 Inline cmp_lt(). 2010-09-05 05:26:10 +00:00
Raymond Hettinger 1784ff0249 More updates to whatsnew 2010-09-05 01:00:19 +00:00
Raymond Hettinger 46462f3fb3 Typo 2010-09-05 00:36:26 +00:00
Raymond Hettinger ebea6fae86 Update whatsnew for Pep3149. 2010-09-05 00:27:25 +00:00
Benjamin Peterson d7f73e913d run autoreconf 2010-09-05 00:09:07 +00:00
Raymond Hettinger f95b199339 Update whatsnew for Pep3147. 2010-09-04 23:53:24 +00:00
Raymond Hettinger 02566ec89f Adopt more descriptive attribute names as suggested on python-dev. 2010-09-04 22:46:06 +00:00
Martin v. Löwis e9a4de51ab Drop cabarc artifact. 2010-09-04 22:12:46 +00:00
Antoine Pitrou 0049249d63 Issue #8734: Avoid crash in msvcrt.get_osfhandle() when an invalid file
descriptor is provided.  Patch by Pascal Chambon.
2010-09-04 20:53:29 +00:00
Antoine Pitrou 7d6e076f6d Issue #7451: Improve decoding performance of JSON objects, and reduce
the memory consumption of said decoded objects when they use the same
strings as keys.
2010-09-04 20:16:53 +00:00
Antoine Pitrou d9107aaded Issue #9777: test_idna requires the "network" resource 2010-09-04 18:50:35 +00:00
Antoine Pitrou 1afb39a437 Fix typos in error messages (thanks Arfrever). 2010-09-04 18:45:37 +00:00
Antoine Pitrou 74a69fa662 Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replaced
by the new (and simpler) DUP_TOP_TWO.  Performance isn't changed, but
our bytecode is a bit simplified.  Patch by Demur Rumed.
2010-09-04 18:43:52 +00:00
Brett Cannon ef0e6c3b04 _warnings exposed two variables with the name 'default_action' and
'once_registry'. This is bad as the warnings module had variables named
'defaultaction' and 'onceregistry' which are what people should be looking at
(technically those variables shouldn't be mucked with as they are undocumented,
but we all know better than to believe that isn't happening). So the variables
from _warnings have been renamed to come off as private and to avoid confusion
over what variable should be used.

Closes issue #9766. Thanks to Antoine Pitrou for the discovery.
2010-09-04 18:24:04 +00:00
Antoine Pitrou d6399d2d19 Fix running the copy module from the command-line (however use{ful,less} it may be). 2010-09-04 17:46:44 +00:00
Antoine Pitrou b5cfd555b2 Fix Björn's name in ACKS. 2010-09-04 17:40:51 +00:00
Antoine Pitrou 3941a8fece Issue #1100562: Fix deep-copying of objects derived from the list and dict types.
Patch by Michele Orrù and Björn Lindqvist.
2010-09-04 17:40:21 +00:00
Antoine Pitrou e5a9101519 Issue #9581: Fix non-working PosixGroupsTester test case
(it only runs as root, which is why nobody bothered about the failure)
2010-09-04 17:32:06 +00:00
Antoine Pitrou d3ccde8a21 Issue #7736: Release the GIL around calls to opendir() and closedir()
in the posix module.  Patch by Marcin Bachry.
2010-09-04 17:21:57 +00:00
Antoine Pitrou 327fd40dde Workaround PEP 3149 build problems. 2010-09-04 16:28:00 +00:00
Martin v. Löwis a5e3109154 Issue #1303434: Include PDBs in release.
Patch by James Lee and Daniel Stutzbach.
2010-09-04 14:38:09 +00:00
Fred Drake cc645b9a59 add consistent support for the vars and default arguments on all
configuration parser classes
(http://bugs.python.org/issue9421)
2010-09-04 04:35:34 +00:00
Florent Xicluna c934f32e0a Welcome to the UTF-8 world. 2010-09-03 23:47:32 +00:00
Georg Brandl 0b37b333a8 Fix missing word. 2010-09-03 22:49:27 +00:00
Amaury Forgeot d'Arc 661730e2aa Add an entry in whatsnew about the PyCObject -> PyCapsule move.
(It seems that I am the first SWIG user to try python 3.2...)
2010-09-03 22:43:08 +00:00
Georg Brandl 3387f4887f #9760: clarify what context expression is. 2010-09-03 22:40:02 +00:00
Georg Brandl 0bb73b8be8 #9767: doctest run over json docs. 2010-09-03 22:36:22 +00:00
Georg Brandl 8d58216050 More inclusive title. 2010-09-03 22:33:27 +00:00
Georg Brandl 01669309d3 Revert unintended change from r84458. 2010-09-03 22:29:08 +00:00
Georg Brandl f11c6c46ac Make PEP section a bit less ugly and at least list implemented PEPs. 2010-09-03 22:20:58 +00:00
Georg Brandl de7d834339 Fix typos and use tabs consistently. 2010-09-03 22:19:07 +00:00
Georg Brandl 0d169ea471 Use tabs consistently. 2010-09-03 22:14:52 +00:00
Victor Stinner 2b19f35786 Add versionadded tag to PyUnicode_AsUnicodeCopy's doc 2010-09-03 22:13:42 +00:00
Éric Araujo 1670b431b3 Fix invalid bytes for UTF-8 2010-09-03 22:03:10 +00:00
Florent Xicluna 0c8414e991 Typo 2010-09-03 20:23:40 +00:00
Florent Xicluna edf5f0ddc0 Strengthen BytesWarning tests. 2010-09-03 20:00:37 +00:00
Florent Xicluna 764d612f5e Remove redundant context manager. 2010-09-03 19:55:26 +00:00
Florent Xicluna 43e4ea1b17 Remove unused import, fix typo and rewrap docstrings. 2010-09-03 19:54:02 +00:00
Florent Xicluna 7dde792e62 Use a context manager for some file objects. 2010-09-03 19:52:03 +00:00
Antoine Pitrou 24e561ae04 Issue #3805: clean up implementation of the _read method in _ssl.c. 2010-09-03 18:38:17 +00:00
Barry Warsaw aa44b2b5ca NEWS for PEP 3149, and clean up a few other entries. 2010-09-03 18:36:11 +00:00
Daniel Stutzbach 98c07bde45 Doc fix: unicode() is now str() 2010-09-03 18:31:07 +00:00
Barry Warsaw 35f3a2cbeb PEP 3149 is accepted.
http://mail.python.org/pipermail/python-dev/2010-September/103408.html
2010-09-03 18:30:30 +00:00
Victor Stinner e4ea994f20 Document PyUnicode_AsUnicodeCopy() 2010-09-03 16:23:29 +00:00
Victor Stinner 46408606d8 Rename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy() 2010-09-03 16:18:00 +00:00
Antoine Pitrou 8b358e55db Fix NEWS entry. 2010-09-03 16:12:14 +00:00
Daniel Stutzbach 6c765284a3 Fix Issue9753: socket.dup() does not always work right on Windows 2010-09-03 12:38:33 +00:00
Daniel Stutzbach 06a3c8ae82 fromfd exists on Windows now 2010-09-03 11:11:43 +00:00
Georg Brandl 2d444496b3 Reindent. 2010-09-03 10:52:55 +00:00