]>
granicus.if.org Git - python/log
Brian Curtin [Mon, 6 Sep 2010 16:29:29 +0000 (16:29 +0000)]
Fix #8956. ValueError message was only mentioning one signal.
Rather than list out the three signals (or more over time), the message was
made less specific but still descriptive.
Brian Curtin [Mon, 6 Sep 2010 16:04:10 +0000 (16:04 +0000)]
Clean up the fix to #9324 with some of the suggestions raised on python-dev
in response to the original checkin.
Move the validation from the original loop into a switch statement,
and adjust a platform check in the tests.
Antoine Pitrou [Mon, 6 Sep 2010 12:36:55 +0000 (12:36 +0000)]
Add an option to choose the IO module under test (allows to bench
e.g. the pure Python implementation in _pyio).
Gregory P. Smith [Mon, 6 Sep 2010 08:30:23 +0000 (08:30 +0000)]
hashlib has two new constant attributes: algorithms_guaranteed and
algorithms_avaiable that respectively list the names of hash algorithms
guaranteed to exist in all Python implementations and the names of hash
algorithms available in the current process.
Renames the attribute new in 3.2a0 'algorithms' to 'algorithms_guaranteed'.
Georg Brandl [Mon, 6 Sep 2010 06:49:07 +0000 (06:49 +0000)]
#9780: both { and } are not valid fill characters.
Georg Brandl [Mon, 6 Sep 2010 06:45:47 +0000 (06:45 +0000)]
Remove redundant word.
Éric Araujo [Mon, 6 Sep 2010 01:31:11 +0000 (01:31 +0000)]
Revert accidental commit, apologies for the noise
Raymond Hettinger [Mon, 6 Sep 2010 01:29:23 +0000 (01:29 +0000)]
Fix nits
Éric Araujo [Mon, 6 Sep 2010 01:27:06 +0000 (01:27 +0000)]
Update
Raymond Hettinger [Mon, 6 Sep 2010 01:16:46 +0000 (01:16 +0000)]
More updates to whatsnew3.2
Benjamin Peterson [Mon, 6 Sep 2010 00:32:12 +0000 (00:32 +0000)]
link to docs
Raymond Hettinger [Sun, 5 Sep 2010 23:50:32 +0000 (23:50 +0000)]
Clean-up example of using fileinput as a context manager.
Raymond Hettinger [Sun, 5 Sep 2010 23:15:06 +0000 (23:15 +0000)]
Take advantage of the frozenset constant optimization.
Antoine Pitrou [Sun, 5 Sep 2010 23:01:12 +0000 (23:01 +0000)]
Issue #9293: I/O streams now raise `io.UnsupportedOperation` when an
unsupported operation is attempted (for example, writing to a file open
only for reading).
Georg Brandl [Sun, 5 Sep 2010 21:29:17 +0000 (21:29 +0000)]
Post-release update.
Georg Brandl [Sun, 5 Sep 2010 19:01:40 +0000 (19:01 +0000)]
Re-tag 3.2a2.
Éric Araujo [Sun, 5 Sep 2010 18:59:49 +0000 (18:59 +0000)]
Fix accidental suppression in r84537
Georg Brandl [Sun, 5 Sep 2010 18:58:42 +0000 (18:58 +0000)]
Remove tag.
Georg Brandl [Sun, 5 Sep 2010 18:48:14 +0000 (18:48 +0000)]
Tagging release 3.2a2.
Éric Araujo [Sun, 5 Sep 2010 18:43:07 +0000 (18:43 +0000)]
Make naming consistent
Ronald Oussoren [Sun, 5 Sep 2010 18:25:59 +0000 (18:25 +0000)]
Fix for issue9662, patch by Łukasz Langa in issue5504.
Éric Araujo [Sun, 5 Sep 2010 18:21:46 +0000 (18:21 +0000)]
Fix amk’s tracker name
Georg Brandl [Sun, 5 Sep 2010 17:32:31 +0000 (17:32 +0000)]
Fix reST in NEWS, and remove NEWS.help (all committers should now know reST anyway, and for those who do not, there is Documenting Python.)
Éric Araujo [Sun, 5 Sep 2010 17:32:25 +0000 (17:32 +0000)]
Fix typos and wording in what’s new 3.2.
- The entry about shutil.copytree is just a revert of r84524 which
looks like an unfinished edition.
- The use of gender-neutral language (s/his/their/) removes the
implicit assumption that programmer == male (change agreed by Antoine).
- Other changes should be uncontroversial fixes.
I haven’t rewrapped under 80 lines to keep the diffs readable; I’ll
rewrap later.
Georg Brandl [Sun, 5 Sep 2010 17:09:18 +0000 (17:09 +0000)]
#9776: fix some spacing.
Georg Brandl [Sun, 5 Sep 2010 17:07:12 +0000 (17:07 +0000)]
#9747: fix copy-paste error in getresgid() doc.
Georg Brandl [Sun, 5 Sep 2010 17:06:50 +0000 (17:06 +0000)]
Rewrap.
Georg Brandl [Sun, 5 Sep 2010 11:28:33 +0000 (11:28 +0000)]
Rewrap and consistency fixes.
Raymond Hettinger [Sun, 5 Sep 2010 08:54:32 +0000 (08:54 +0000)]
Fill-in sqlite3 stubs
Raymond Hettinger [Sun, 5 Sep 2010 08:46:36 +0000 (08:46 +0000)]
Add example of ftplib's new context manager.
Raymond Hettinger [Sun, 5 Sep 2010 08:35:38 +0000 (08:35 +0000)]
Add PEP 391 to whatsnew
Georg Brandl [Sun, 5 Sep 2010 08:30:40 +0000 (08:30 +0000)]
Bump to 3.2a2.
Georg Brandl [Sun, 5 Sep 2010 08:28:41 +0000 (08:28 +0000)]
Update pydoc topics.
Raymond Hettinger [Sun, 5 Sep 2010 06:13:47 +0000 (06:13 +0000)]
More updates to whatsnew.
Raymond Hettinger [Sun, 5 Sep 2010 05:57:35 +0000 (05:57 +0000)]
Clean-up functools.total_ordering().
Raymond Hettinger [Sun, 5 Sep 2010 05:56:44 +0000 (05:56 +0000)]
Add an example
Raymond Hettinger [Sun, 5 Sep 2010 05:26:10 +0000 (05:26 +0000)]
Inline cmp_lt().
Raymond Hettinger [Sun, 5 Sep 2010 01:00:19 +0000 (01:00 +0000)]
More updates to whatsnew
Raymond Hettinger [Sun, 5 Sep 2010 00:36:26 +0000 (00:36 +0000)]
Typo
Raymond Hettinger [Sun, 5 Sep 2010 00:27:25 +0000 (00:27 +0000)]
Update whatsnew for Pep3149.
Benjamin Peterson [Sun, 5 Sep 2010 00:09:07 +0000 (00:09 +0000)]
run autoreconf
Raymond Hettinger [Sat, 4 Sep 2010 23:53:24 +0000 (23:53 +0000)]
Update whatsnew for Pep3147.
Raymond Hettinger [Sat, 4 Sep 2010 22:46:06 +0000 (22:46 +0000)]
Adopt more descriptive attribute names as suggested on python-dev.
Martin v. Löwis [Sat, 4 Sep 2010 22:12:46 +0000 (22:12 +0000)]
Drop cabarc artifact.
Antoine Pitrou [Sat, 4 Sep 2010 20:53:29 +0000 (20:53 +0000)]
Issue #8734: Avoid crash in msvcrt.get_osfhandle() when an invalid file
descriptor is provided. Patch by Pascal Chambon.
Antoine Pitrou [Sat, 4 Sep 2010 20:16:53 +0000 (20:16 +0000)]
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.
Antoine Pitrou [Sat, 4 Sep 2010 18:50:35 +0000 (18:50 +0000)]
Issue #9777: test_idna requires the "network" resource
Antoine Pitrou [Sat, 4 Sep 2010 18:45:37 +0000 (18:45 +0000)]
Fix typos in error messages (thanks Arfrever).
Antoine Pitrou [Sat, 4 Sep 2010 18:43:52 +0000 (18:43 +0000)]
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.
Brett Cannon [Sat, 4 Sep 2010 18:24:04 +0000 (18:24 +0000)]
_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.
Antoine Pitrou [Sat, 4 Sep 2010 17:46:44 +0000 (17:46 +0000)]
Fix running the copy module from the command-line (however use{ful,less} it may be).
Antoine Pitrou [Sat, 4 Sep 2010 17:40:51 +0000 (17:40 +0000)]
Fix Björn's name in ACKS.
Antoine Pitrou [Sat, 4 Sep 2010 17:40:21 +0000 (17:40 +0000)]
Issue #
1100562 : Fix deep-copying of objects derived from the list and dict types.
Patch by Michele Orrù and Björn Lindqvist.
Antoine Pitrou [Sat, 4 Sep 2010 17:32:06 +0000 (17:32 +0000)]
Issue #9581: Fix non-working PosixGroupsTester test case
(it only runs as root, which is why nobody bothered about the failure)
Antoine Pitrou [Sat, 4 Sep 2010 17:21:57 +0000 (17:21 +0000)]
Issue #7736: Release the GIL around calls to opendir() and closedir()
in the posix module. Patch by Marcin Bachry.
Antoine Pitrou [Sat, 4 Sep 2010 16:28:00 +0000 (16:28 +0000)]
Workaround PEP 3149 build problems.
Martin v. Löwis [Sat, 4 Sep 2010 14:38:09 +0000 (14:38 +0000)]
Issue #
1303434 : Include PDBs in release.
Patch by James Lee and Daniel Stutzbach.
Fred Drake [Sat, 4 Sep 2010 04:35:34 +0000 (04:35 +0000)]
add consistent support for the vars and default arguments on all
configuration parser classes
(http://bugs.python.org/issue9421)
Florent Xicluna [Fri, 3 Sep 2010 23:47:32 +0000 (23:47 +0000)]
Welcome to the UTF-8 world.
Georg Brandl [Fri, 3 Sep 2010 22:49:27 +0000 (22:49 +0000)]
Fix missing word.
Amaury Forgeot d'Arc [Fri, 3 Sep 2010 22:43:08 +0000 (22:43 +0000)]
Add an entry in whatsnew about the PyCObject -> PyCapsule move.
(It seems that I am the first SWIG user to try python 3.2...)
Georg Brandl [Fri, 3 Sep 2010 22:40:02 +0000 (22:40 +0000)]
#9760: clarify what context expression is.
Georg Brandl [Fri, 3 Sep 2010 22:36:22 +0000 (22:36 +0000)]
#9767: doctest run over json docs.
Georg Brandl [Fri, 3 Sep 2010 22:33:27 +0000 (22:33 +0000)]
More inclusive title.
Georg Brandl [Fri, 3 Sep 2010 22:29:08 +0000 (22:29 +0000)]
Revert unintended change from r84458.
Georg Brandl [Fri, 3 Sep 2010 22:20:58 +0000 (22:20 +0000)]
Make PEP section a bit less ugly and at least list implemented PEPs.
Georg Brandl [Fri, 3 Sep 2010 22:19:07 +0000 (22:19 +0000)]
Fix typos and use tabs consistently.
Georg Brandl [Fri, 3 Sep 2010 22:14:52 +0000 (22:14 +0000)]
Use tabs consistently.
Victor Stinner [Fri, 3 Sep 2010 22:13:42 +0000 (22:13 +0000)]
Add versionadded tag to PyUnicode_AsUnicodeCopy's doc
Éric Araujo [Fri, 3 Sep 2010 22:03:10 +0000 (22:03 +0000)]
Fix invalid bytes for UTF-8
Florent Xicluna [Fri, 3 Sep 2010 20:23:40 +0000 (20:23 +0000)]
Typo
Florent Xicluna [Fri, 3 Sep 2010 20:00:37 +0000 (20:00 +0000)]
Strengthen BytesWarning tests.
Florent Xicluna [Fri, 3 Sep 2010 19:55:26 +0000 (19:55 +0000)]
Remove redundant context manager.
Florent Xicluna [Fri, 3 Sep 2010 19:54:02 +0000 (19:54 +0000)]
Remove unused import, fix typo and rewrap docstrings.
Florent Xicluna [Fri, 3 Sep 2010 19:52:03 +0000 (19:52 +0000)]
Use a context manager for some file objects.
Antoine Pitrou [Fri, 3 Sep 2010 18:38:17 +0000 (18:38 +0000)]
Issue #3805: clean up implementation of the _read method in _ssl.c.
Barry Warsaw [Fri, 3 Sep 2010 18:36:11 +0000 (18:36 +0000)]
NEWS for PEP 3149, and clean up a few other entries.
Daniel Stutzbach [Fri, 3 Sep 2010 18:31:07 +0000 (18:31 +0000)]
Doc fix: unicode() is now str()
Barry Warsaw [Fri, 3 Sep 2010 18:30:30 +0000 (18:30 +0000)]
PEP 3149 is accepted.
http://mail.python.org/pipermail/python-dev/2010-September/103408.html
Victor Stinner [Fri, 3 Sep 2010 16:23:29 +0000 (16:23 +0000)]
Document PyUnicode_AsUnicodeCopy()
Victor Stinner [Fri, 3 Sep 2010 16:18:00 +0000 (16:18 +0000)]
Rename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy()
Antoine Pitrou [Fri, 3 Sep 2010 16:12:14 +0000 (16:12 +0000)]
Fix NEWS entry.
Daniel Stutzbach [Fri, 3 Sep 2010 12:38:33 +0000 (12:38 +0000)]
Fix Issue9753: socket.dup() does not always work right on Windows
Daniel Stutzbach [Fri, 3 Sep 2010 11:11:43 +0000 (11:11 +0000)]
fromfd exists on Windows now
Georg Brandl [Fri, 3 Sep 2010 10:52:55 +0000 (10:52 +0000)]
Reindent.
Raymond Hettinger [Fri, 3 Sep 2010 10:00:50 +0000 (10:00 +0000)]
Issue 8420: Fix obscure set crashers.
Fred Drake [Fri, 3 Sep 2010 04:22:36 +0000 (04:22 +0000)]
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)
Raymond Hettinger [Thu, 2 Sep 2010 19:58:35 +0000 (19:58 +0000)]
Readability nit.
Raymond Hettinger [Thu, 2 Sep 2010 19:56:28 +0000 (19:56 +0000)]
Better method name. Tighten inner-loop with bound methods.
Antoine Pitrou [Thu, 2 Sep 2010 19:48:07 +0000 (19:48 +0000)]
BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.
Raymond Hettinger [Thu, 2 Sep 2010 18:44:16 +0000 (18:44 +0000)]
Make OrderedDict.popitem() a bit smarter and faster
Daniel Stutzbach [Thu, 2 Sep 2010 15:13:35 +0000 (15:13 +0000)]
Credit where credit is due
Daniel Stutzbach [Thu, 2 Sep 2010 15:06:06 +0000 (15:06 +0000)]
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.
Daniel Stutzbach [Thu, 2 Sep 2010 15:06:03 +0000 (15:06 +0000)]
Removed an extraneous semicolon
Raymond Hettinger [Thu, 2 Sep 2010 09:44:28 +0000 (09:44 +0000)]
Speed-up cache updates
Raymond Hettinger [Thu, 2 Sep 2010 09:17:31 +0000 (09:17 +0000)]
Keep contents order the same between versions.
Victor Stinner [Wed, 1 Sep 2010 23:43:53 +0000 (23:43 +0000)]
Create PyUnicode_strdup() function
Victor Stinner [Wed, 1 Sep 2010 23:43:50 +0000 (23:43 +0000)]
Create Py_UNICODE_strcat() function
Raymond Hettinger [Wed, 1 Sep 2010 22:11:53 +0000 (22:11 +0000)]
Glossary cleanup
Raymond Hettinger [Wed, 1 Sep 2010 21:27:31 +0000 (21:27 +0000)]
Cleanup heapq docs