]> granicus.if.org Git - python/log
python
14 years agoFix two small issues.
Georg Brandl [Sun, 16 Jan 2011 09:11:45 +0000 (09:11 +0000)]
Fix two small issues.

14 years agoPost-release updates.
Georg Brandl [Sun, 16 Jan 2011 08:44:50 +0000 (08:44 +0000)]
Post-release updates.

14 years agoPackage zip_cp437_header.zip.
Martin v. Löwis [Sat, 15 Jan 2011 19:43:18 +0000 (19:43 +0000)]
Package zip_cp437_header.zip.
Don't try to package subprocessdata/*.py twice.

14 years agoTagging 3.2rc1.
Georg Brandl [Sat, 15 Jan 2011 19:02:06 +0000 (19:02 +0000)]
Tagging 3.2rc1.

14 years agoFix mmap and test_mmap under Windows too (followup to r88022) v3.2rc1
Antoine Pitrou [Sat, 15 Jan 2011 17:25:58 +0000 (17:25 +0000)]
Fix mmap and test_mmap under Windows too (followup to r88022)

14 years agoBump to 3.2rc1.
Georg Brandl [Sat, 15 Jan 2011 17:08:53 +0000 (17:08 +0000)]
Bump to 3.2rc1.

14 years agoFix "make suspicious" errors and update ignore file.
Georg Brandl [Sat, 15 Jan 2011 17:05:20 +0000 (17:05 +0000)]
Fix "make suspicious" errors and update ignore file.

14 years agoFix a few doc errors, mostly undefined keywords.
Georg Brandl [Sat, 15 Jan 2011 17:03:02 +0000 (17:03 +0000)]
Fix a few doc errors, mostly undefined keywords.

14 years agoUpdate to 1.0.7.
Georg Brandl [Sat, 15 Jan 2011 16:45:03 +0000 (16:45 +0000)]
Update to 1.0.7.

14 years agoUpdate pydoc topics.
Georg Brandl [Sat, 15 Jan 2011 16:44:11 +0000 (16:44 +0000)]
Update pydoc topics.

14 years agoIssue #10916: mmap should not segfault when a file is mapped using 0 as
Antoine Pitrou [Sat, 15 Jan 2011 16:17:07 +0000 (16:17 +0000)]
Issue #10916: mmap should not segfault when a file is mapped using 0 as
length and a non-zero offset, and an attempt to read past the end of file
is made (IndexError is raised instead).  Patch by Ross Lagerwall.

Requested by Georg.

14 years agoNits
Antoine Pitrou [Sat, 15 Jan 2011 14:31:49 +0000 (14:31 +0000)]
Nits

14 years agoIssue #10913: Deprecate misleading functions PyEval_AcquireLock() and
Antoine Pitrou [Sat, 15 Jan 2011 13:11:48 +0000 (13:11 +0000)]
Issue #10913: Deprecate misleading functions PyEval_AcquireLock() and
PyEval_ReleaseLock().  The thread-state aware APIs should be used instead.

14 years agoReword and restructure the GIL API doc
Antoine Pitrou [Sat, 15 Jan 2011 12:54:19 +0000 (12:54 +0000)]
Reword and restructure the GIL API doc

14 years agoAdd mention of how to switch interpreters
Antoine Pitrou [Sat, 15 Jan 2011 12:21:53 +0000 (12:21 +0000)]
Add mention of how to switch interpreters

14 years agoImprove description of issues
Antoine Pitrou [Sat, 15 Jan 2011 12:10:48 +0000 (12:10 +0000)]
Improve description of issues

14 years agoRestructure a bit
Antoine Pitrou [Sat, 15 Jan 2011 11:57:42 +0000 (11:57 +0000)]
Restructure a bit

14 years agoStandard streams use file descriptors, not FILE pointers.
Antoine Pitrou [Sat, 15 Jan 2011 11:44:17 +0000 (11:44 +0000)]
Standard streams use file descriptors, not FILE pointers.

14 years agoAvoid ResourceWarnings in ccbench
Antoine Pitrou [Sat, 15 Jan 2011 11:39:23 +0000 (11:39 +0000)]
Avoid ResourceWarnings in ccbench

14 years agoFix the GIL with subinterpreters. Hopefully this will allow mod_wsgi to work with...
Antoine Pitrou [Sat, 15 Jan 2011 11:37:11 +0000 (11:37 +0000)]
Fix the GIL with subinterpreters. Hopefully this will allow mod_wsgi to work with 3.2.
(we need some tests for this)

14 years agoIssue #10912: Clarify the documentation of PyObject_RichCompareBool. Thanks to Devin...
Eli Bendersky [Sat, 15 Jan 2011 10:23:34 +0000 (10:23 +0000)]
Issue #10912: Clarify the documentation of PyObject_RichCompareBool. Thanks to Devin Jeanpierre for spotting the problem.

14 years agoAdd self to mac platform area in maintainers.rst.
Ned Deily [Sat, 15 Jan 2011 05:53:33 +0000 (05:53 +0000)]
Add self to mac platform area in maintainers.rst.

14 years agoRemove spurious copy of Mac/IDLE/idlemain.py left over from
Ned Deily [Sat, 15 Jan 2011 05:44:21 +0000 (05:44 +0000)]
Remove spurious copy of Mac/IDLE/idlemain.py left over from
conversion from Python 2 build process.  The correct version
is in Mac/IDLE/IDLE.app/Contents/Resources/

14 years ago#10843: Update third-party library versions used in OS X 32-bit
Ned Deily [Sat, 15 Jan 2011 05:29:12 +0000 (05:29 +0000)]
#10843: Update third-party library versions used in OS X 32-bit
        installer builds: bzip2 1.0.6, readline 6.1.2, SQLite 3.7.4
        (with FTS3/FTS4 and RTREE enabled), and ncursesw 5.5 (wide-char
        support enabled).

14 years ago#10843: Install the Tools directory on OS X in the applications
Ned Deily [Sat, 15 Jan 2011 05:05:53 +0000 (05:05 +0000)]
#10843: Install the Tools directory on OS X in the applications
        Extras (/Applications/Python 3.n/Extras/) where the Demo
        directory had previous been installed.

14 years ago#10907: Update OS X installer build README to better reflect
Ned Deily [Sat, 15 Jan 2011 04:44:12 +0000 (04:44 +0000)]
#10907: Update OS X installer build README to better reflect
        current build practices.

14 years ago#10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,
Ned Deily [Sat, 15 Jan 2011 04:37:12 +0000 (04:37 +0000)]
#10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,
        rather than the currently problematic Apple-supplied one,
        when running with the 64-/32-bit installer variant.

14 years agoIssue #4953: add the author of the patch
Victor Stinner [Fri, 14 Jan 2011 14:11:45 +0000 (14:11 +0000)]
Issue #4953: add the author of the patch

14 years agourllib doc: add versionchanged sections for parse_qs() and parse_qsl()
Victor Stinner [Fri, 14 Jan 2011 13:31:45 +0000 (13:31 +0000)]
urllib doc: add versionchanged sections for parse_qs() and parse_qsl()

14 years agocgi: use isinstance(x, list) instead of type(x) == type([])
Victor Stinner [Fri, 14 Jan 2011 13:08:27 +0000 (13:08 +0000)]
cgi: use isinstance(x, list) instead of type(x) == type([])

14 years agoIssue #4953: cgi.FieldStorage and cgi.parse() parse the request as bytes, not
Victor Stinner [Fri, 14 Jan 2011 13:05:21 +0000 (13:05 +0000)]
Issue #4953: cgi.FieldStorage and cgi.parse() parse the request as bytes, not
as unicode, and accept binary files. Add encoding and errors attributes to
cgi.FieldStorage.

14 years agotest_urlparse: add tests for encoding and errors arguments
Victor Stinner [Fri, 14 Jan 2011 13:05:19 +0000 (13:05 +0000)]
test_urlparse: add tests for encoding and errors arguments

14 years agoAdd encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl()
Victor Stinner [Fri, 14 Jan 2011 12:52:12 +0000 (12:52 +0000)]
Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl()

14 years agoIssue #10902: Fix reference to run* methods
Eli Bendersky [Fri, 14 Jan 2011 08:25:03 +0000 (08:25 +0000)]
Issue #10902: Fix reference to run* methods

14 years agoRemove call to nonexisting function (relic from Python 2.x) under #ifdef __INSURE__...
Eli Bendersky [Fri, 14 Jan 2011 07:31:14 +0000 (07:31 +0000)]
Remove call to nonexisting function (relic from Python 2.x) under #ifdef __INSURE__. Issue 9844

14 years agoIssue #9268: Documented -m pickletools usage.
Alexander Belopolsky [Thu, 13 Jan 2011 21:58:44 +0000 (21:58 +0000)]
Issue #9268: Documented -m pickletools usage.

Also added a source code link.

14 years agoIssue 10899: Remove function type annotations from the stdlib
Raymond Hettinger [Thu, 13 Jan 2011 19:08:04 +0000 (19:08 +0000)]
Issue 10899: Remove function type annotations from the stdlib

14 years agoIssue #10899: Move function type annotations into docstrings.
Raymond Hettinger [Thu, 13 Jan 2011 18:15:51 +0000 (18:15 +0000)]
Issue #10899:  Move function type annotations into docstrings.

Note, the docstrings (for the most part) were already very thorough
and included type information.

14 years agoFix the example output of count().
Georg Brandl [Thu, 13 Jan 2011 07:31:18 +0000 (07:31 +0000)]
Fix the example output of count().

14 years agoAdd semicolon for consistency.
Georg Brandl [Thu, 13 Jan 2011 07:24:40 +0000 (07:24 +0000)]
Add semicolon for consistency.

14 years agoMore PEP 8: no space around "=" in argument lists.
Georg Brandl [Thu, 13 Jan 2011 07:13:06 +0000 (07:13 +0000)]
More PEP 8: no space around "=" in argument lists.

14 years agoplug reference leak
Benjamin Peterson [Thu, 13 Jan 2011 04:22:54 +0000 (04:22 +0000)]
plug reference leak

14 years agoIssue 10899: Remove function type annotations from the stdlib
Raymond Hettinger [Thu, 13 Jan 2011 02:52:26 +0000 (02:52 +0000)]
Issue 10899: Remove function type annotations from the stdlib

14 years agoIssue 10899: Remove function type annotations from the stdlib
Raymond Hettinger [Thu, 13 Jan 2011 02:31:25 +0000 (02:31 +0000)]
Issue 10899: Remove function type annotations from the stdlib

14 years agoIssue #10899: No function type annotations in the standard library.
Raymond Hettinger [Wed, 12 Jan 2011 23:39:31 +0000 (23:39 +0000)]
Issue #10899: No function type annotations in the standard library.
Removed function type annotations from _pyio.py.

14 years agoFix test_bigaddrspace (some tests didn't trigger the expected MemoryError)
Antoine Pitrou [Wed, 12 Jan 2011 22:02:45 +0000 (22:02 +0000)]
Fix test_bigaddrspace (some tests didn't trigger the expected MemoryError)

14 years agoA better message again
Antoine Pitrou [Wed, 12 Jan 2011 21:58:39 +0000 (21:58 +0000)]
A better message again

14 years agoMore informative skip message in @bigaddrspace
Antoine Pitrou [Wed, 12 Jan 2011 21:50:44 +0000 (21:50 +0000)]
More informative skip message in @bigaddrspace

14 years agoFix @bigmemtest when no limit is given by the user (oops)
Antoine Pitrou [Wed, 12 Jan 2011 21:40:20 +0000 (21:40 +0000)]
Fix @bigmemtest when no limit is given by the user (oops)

14 years agoMake test skipping message nicer, and remove the rather useless "overhead" parameter.
Antoine Pitrou [Wed, 12 Jan 2011 21:19:59 +0000 (21:19 +0000)]
Make test skipping message nicer, and remove the rather useless "overhead" parameter.

14 years agoRemove the funky function annotation from numbers.py.
Raymond Hettinger [Wed, 12 Jan 2011 20:52:39 +0000 (20:52 +0000)]
Remove the funky function annotation from numbers.py.

14 years agoFix the expected memory use of utf-8 encoding. Also, release the
Antoine Pitrou [Wed, 12 Jan 2011 20:46:37 +0000 (20:46 +0000)]
Fix the expected memory use of utf-8 encoding.  Also, release the
one reference to a huge object even when an exception is raised.

14 years agoRemove function annotations that slipped into _abcoll.
Raymond Hettinger [Wed, 12 Jan 2011 20:37:47 +0000 (20:37 +0000)]
Remove function annotations that slipped into _abcoll.
These are reserved for third-party use.

14 years agouse PyErr_SetString instead of PyErr_Format
Benjamin Peterson [Wed, 12 Jan 2011 18:56:07 +0000 (18:56 +0000)]
use PyErr_SetString instead of PyErr_Format

14 years agoIssue #10822: Fix test_posix:test_getgroups failure under Solaris. Patch
Antoine Pitrou [Wed, 12 Jan 2011 18:45:27 +0000 (18:45 +0000)]
Issue #10822: Fix test_posix:test_getgroups failure under Solaris.  Patch
by Ross Lagerwall.

14 years agoIssue #10225: Fixed the simple mistakes in doctests.
Alexander Belopolsky [Wed, 12 Jan 2011 16:37:14 +0000 (16:37 +0000)]
Issue #10225: Fixed the simple mistakes in doctests.

14 years agodon't segfault on deleting __abstractmethods__ #10892
Benjamin Peterson [Wed, 12 Jan 2011 15:34:01 +0000 (15:34 +0000)]
don't segfault on deleting __abstractmethods__ #10892

14 years agooops, wrong class
Benjamin Peterson [Wed, 12 Jan 2011 15:25:02 +0000 (15:25 +0000)]
oops, wrong class

14 years agomove this test to test_descr; it's not abc specific
Benjamin Peterson [Wed, 12 Jan 2011 15:24:27 +0000 (15:24 +0000)]
move this test to test_descr; it's not abc specific

14 years agofix weirdly ambigious sentence
Benjamin Peterson [Wed, 12 Jan 2011 04:44:41 +0000 (04:44 +0000)]
fix weirdly ambigious sentence

14 years agoIssue 10889: Support slicing and indexing of large ranges (no docs changes, since...
Nick Coghlan [Wed, 12 Jan 2011 03:15:52 +0000 (03:15 +0000)]
Issue 10889: Support slicing and indexing of large ranges (no docs changes, since, as far as I know, we never said anywhere that this *didn't* work)

14 years agoRevert r87946. The virtues of readability and of examples that
Raymond Hettinger [Wed, 12 Jan 2011 01:16:57 +0000 (01:16 +0000)]
Revert r87946.  The virtues of readability and of examples that
can be cut and pasted are more important than having a doctests
on examples that already work.

14 years agoIssue #10225: Correct interactive Doc/howto/sorting.rst examples so doctest runs.
Terry Reedy [Tue, 11 Jan 2011 23:05:50 +0000 (23:05 +0000)]
Issue #10225: Correct interactive Doc/howto/sorting.rst examples so doctest runs.
Based on part of A. Belopolsky's patch.

14 years agoAdd comment.
Raymond Hettinger [Tue, 11 Jan 2011 22:08:55 +0000 (22:08 +0000)]
Add comment.

14 years agoIssue #5109: array.array constructor will now use fast code when
Alexander Belopolsky [Tue, 11 Jan 2011 21:44:00 +0000 (21:44 +0000)]
Issue #5109: array.array constructor will now use fast code when
initial data is provided in an array object with correct type.

14 years agoUpdate the email section
Raymond Hettinger [Tue, 11 Jan 2011 21:20:20 +0000 (21:20 +0000)]
Update the email section

14 years agoUpdate the datetime and time section.
Raymond Hettinger [Tue, 11 Jan 2011 21:13:26 +0000 (21:13 +0000)]
Update the datetime and time section.

14 years agoClean-up threading.Barrier example.
Raymond Hettinger [Tue, 11 Jan 2011 20:51:45 +0000 (20:51 +0000)]
Clean-up threading.Barrier example.

14 years agoAdd entry for Barrier objects.
Raymond Hettinger [Tue, 11 Jan 2011 19:59:46 +0000 (19:59 +0000)]
Add entry for Barrier objects.

14 years agoTypo.
Eric Smith [Tue, 11 Jan 2011 10:24:34 +0000 (10:24 +0000)]
Typo.

14 years agoIssue 10556: test_zipimport_support implicitly imports too many modules (including...
Nick Coghlan [Tue, 11 Jan 2011 10:05:20 +0000 (10:05 +0000)]
Issue 10556: test_zipimport_support implicitly imports too many modules (including _ssl) to safely clobber sys.modules after each test

14 years agoAdd a todo.
Raymond Hettinger [Tue, 11 Jan 2011 08:49:10 +0000 (08:49 +0000)]
Add a todo.

14 years agodevelopers.txt entry for Eli (at Brett's request)
Nick Coghlan [Tue, 11 Jan 2011 02:42:15 +0000 (02:42 +0000)]
developers.txt entry for Eli (at Brett's request)

14 years agoThis should fix mktime test on Windows
Alexander Belopolsky [Tue, 11 Jan 2011 02:22:16 +0000 (02:22 +0000)]
This should fix mktime test on Windows

14 years agoMake mktime test more robust.
Alexander Belopolsky [Tue, 11 Jan 2011 01:35:22 +0000 (01:35 +0000)]
Make mktime test more robust.

14 years agoIssue #1726687: time.mktime() will now correctly compute value one
Alexander Belopolsky [Tue, 11 Jan 2011 01:21:25 +0000 (01:21 +0000)]
Issue #1726687: time.mktime() will now correctly compute value one
second before epoch.  Original patch by Peter Wang, reported by Martin
Blais.

14 years agoIssue #9611: remove useless and dangerous explicit conversion to size_t
Victor Stinner [Tue, 11 Jan 2011 00:04:12 +0000 (00:04 +0000)]
Issue #9611: remove useless and dangerous explicit conversion to size_t

14 years agoFix typos and markup.
Raymond Hettinger [Mon, 10 Jan 2011 23:38:15 +0000 (23:38 +0000)]
Fix typos and markup.

14 years agoImproved footnote for the %Y directive slightly.
Alexander Belopolsky [Mon, 10 Jan 2011 23:31:51 +0000 (23:31 +0000)]
Improved  footnote for the %Y directive slightly.

14 years agoImproved description of %Y directive.
Alexander Belopolsky [Mon, 10 Jan 2011 23:28:33 +0000 (23:28 +0000)]
Improved description of %Y directive.

14 years agoIssue #10875: Update Regular Expression HOWTO; last bit.
Terry Reedy [Mon, 10 Jan 2011 23:13:21 +0000 (23:13 +0000)]
Issue #10875: Update Regular Expression HOWTO; last bit.

14 years agoIssue #9566: Fix pyparse.xmlparser.ParseFile()
Victor Stinner [Mon, 10 Jan 2011 23:00:36 +0000 (23:00 +0000)]
Issue #9566: Fix pyparse.xmlparser.ParseFile()

Fix readinst() if file.read(n) returns a bytes object longer than n:
return -1 instead of the the buffer size to raise an exception.
Simplify also the function code.

14 years agoIssue #2568: Removed bogus rationale for supporting tm_sec=61.
Alexander Belopolsky [Mon, 10 Jan 2011 22:56:14 +0000 (22:56 +0000)]
Issue #2568: Removed bogus rationale for supporting tm_sec=61.

14 years ago#10820: Fix OS X framework installs to support version-specific
Ned Deily [Mon, 10 Jan 2011 22:14:25 +0000 (22:14 +0000)]
#10820: Fix OS X framework installs to support version-specific
        scripts (implemented in #10679).

14 years agoRemoved time.ctime from the list of functions that take a time tuple argument
Alexander Belopolsky [Mon, 10 Jan 2011 21:58:52 +0000 (21:58 +0000)]
Removed time.ctime from the list of functions that take a time tuple argument

14 years agoAdded entries about removal of year 1900 limit.
Alexander Belopolsky [Mon, 10 Jan 2011 21:55:34 +0000 (21:55 +0000)]
Added entries about removal of year 1900 limit.

14 years agoIssue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'.
Terry Reedy [Mon, 10 Jan 2011 21:27:49 +0000 (21:27 +0000)]
Issue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'.

14 years agoMisspelling.
Raymond Hettinger [Mon, 10 Jan 2011 21:26:49 +0000 (21:26 +0000)]
Misspelling.

14 years agoMissed two source links
Raymond Hettinger [Mon, 10 Jan 2011 21:16:07 +0000 (21:16 +0000)]
Missed two source links

14 years agoSeparate source link from main text.
Raymond Hettinger [Mon, 10 Jan 2011 19:54:11 +0000 (19:54 +0000)]
Separate source link from main text.

14 years agoFixed a footnote reference
Alexander Belopolsky [Mon, 10 Jan 2011 19:14:38 +0000 (19:14 +0000)]
Fixed a footnote reference

14 years agoFix typos.
Raymond Hettinger [Mon, 10 Jan 2011 05:40:57 +0000 (05:40 +0000)]
Fix typos.

14 years agoMove source links to consistent location and remove wordy, big yellow boxes.
Raymond Hettinger [Mon, 10 Jan 2011 03:26:08 +0000 (03:26 +0000)]
Move source links to consistent location and remove wordy, big yellow boxes.

14 years agoIssue #10872: The repr() of TextIOWrapper objects now includes the mode
Antoine Pitrou [Sun, 9 Jan 2011 20:38:15 +0000 (20:38 +0000)]
Issue #10872: The repr() of TextIOWrapper objects now includes the mode
if available.

(at Georg's request)

14 years agoAdd Ned Deily.
Martin v. Löwis [Sun, 9 Jan 2011 18:28:07 +0000 (18:28 +0000)]
Add Ned Deily.

14 years ago#10874: test_urllib2 shouldn't use `is` operator for comparing strings
Łukasz Langa [Sun, 9 Jan 2011 18:18:53 +0000 (18:18 +0000)]
#10874: test_urllib2 shouldn't use `is` operator for comparing strings

Patch by Adreas Stührk.

14 years ago#10871: "file" does not exist anymore in Python 3. Also adapt the reprs of opened...
Georg Brandl [Sun, 9 Jan 2011 09:31:01 +0000 (09:31 +0000)]
#10871: "file" does not exist anymore in Python 3.  Also adapt the reprs of opened file objects.

14 years agoWrap some long examples and signatures.
Georg Brandl [Sun, 9 Jan 2011 09:04:08 +0000 (09:04 +0000)]
Wrap some long examples and signatures.

14 years agoAdd missing line.
Georg Brandl [Sun, 9 Jan 2011 07:50:48 +0000 (07:50 +0000)]
Add missing line.

14 years ago#10869: do not visit root node twice in ast.increment_lineno().
Georg Brandl [Sun, 9 Jan 2011 07:38:51 +0000 (07:38 +0000)]
#10869: do not visit root node twice in ast.increment_lineno().