Commit Graph

43093 Commits

Author SHA1 Message Date
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
Raymond Hettinger faf7b7f4ec Issue 8420: Fix obscure set crashers. 2010-09-03 10:00:50 +00:00
Fred Drake 8844441ae6 fix output from RawConfigParser.write and ConfigParser.write for None
values (http://bugs.python.org/issue7005)
(merged r84443 from the release27-mmaint branch, with changes to reflect
changes in Python 3)
2010-09-03 04:22:36 +00:00
Raymond Hettinger af1e140334 Readability nit. 2010-09-02 19:58:35 +00:00
Raymond Hettinger 7babc1b6a5 Better method name. Tighten inner-loop with bound methods. 2010-09-02 19:56:28 +00:00
Antoine Pitrou d5c3f6c839 BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS. 2010-09-02 19:48:07 +00:00
Raymond Hettinger 331722d411 Make OrderedDict.popitem() a bit smarter and faster 2010-09-02 18:44:16 +00:00
Daniel Stutzbach 19e5a6fb4a Credit where credit is due 2010-09-02 15:13:35 +00:00
Daniel Stutzbach 045b3ba184 Issue #9212: Added the missing isdisjoint method to the dict_keys and
dict_items views.  The method is required by the collections.Set ABC,
which the views register as supporting.
2010-09-02 15:06:06 +00:00
Daniel Stutzbach 928d4eeee8 Removed an extraneous semicolon 2010-09-02 15:06:03 +00:00
Raymond Hettinger 38d17e3df0 Speed-up cache updates 2010-09-02 09:44:28 +00:00
Raymond Hettinger ccb90e3ccd Keep contents order the same between versions. 2010-09-02 09:17:31 +00:00