]> granicus.if.org Git - python/log
python
11 years agofall back when an old test_support doesn't have various data and functions (closes...
Benjamin Peterson [Sat, 30 Mar 2013 14:36:31 +0000 (10:36 -0400)]
fall back when an old test_support doesn't have various data and functions (closes #17533)

11 years agoFix typos and clear up one very odd bit of wording as pointed out by
Gregory P. Smith [Sat, 30 Mar 2013 08:38:38 +0000 (01:38 -0700)]
Fix typos and clear up one very odd bit of wording as pointed out by
Ezio.

11 years agoFix XML vulnerability link targets.
Christian Heimes [Thu, 28 Mar 2013 10:42:49 +0000 (11:42 +0100)]
Fix XML vulnerability link targets.

11 years agoIssue 17538: Document XML vulnerabilties
Christian Heimes [Tue, 26 Mar 2013 16:53:05 +0000 (17:53 +0100)]
Issue 17538: Document XML vulnerabilties

11 years agoUpdate collections ABC table to match the __abstractmethods__ attribute for each...
Raymond Hettinger [Sat, 23 Mar 2013 15:57:00 +0000 (08:57 -0700)]
Update collections ABC table to match the __abstractmethods__ attribute for each container.

11 years agofix variable reference to fix --enable-profiling (closes #17550)
Benjamin Peterson [Tue, 26 Mar 2013 12:55:37 +0000 (08:55 -0400)]
fix variable reference to fix --enable-profiling (closes #17550)

11 years agoallow any type with __getitem__ to be a mapping for the purposes of % (#15801)
Benjamin Peterson [Sun, 24 Mar 2013 03:32:00 +0000 (22:32 -0500)]
allow any type with __getitem__ to be a mapping for the purposes of % (#15801)

11 years agoupdate NEWS for #17531
Benjamin Peterson [Sat, 23 Mar 2013 21:35:45 +0000 (16:35 -0500)]
update NEWS for #17531

11 years agoalways allow -1 as a uid
Benjamin Peterson [Sat, 23 Mar 2013 21:19:04 +0000 (16:19 -0500)]
always allow -1 as a uid

11 years agogroup ids and user ids can be longs now (#17531)
Benjamin Peterson [Sat, 23 Mar 2013 20:40:36 +0000 (15:40 -0500)]
group ids and user ids can be longs now (#17531)

11 years agoundo PyInt -> PyLong change; that was wrong
Benjamin Peterson [Sat, 23 Mar 2013 20:35:24 +0000 (15:35 -0500)]
undo PyInt -> PyLong change; that was wrong

11 years agoreturn int instead long when possible (#17531)
Benjamin Peterson [Sat, 23 Mar 2013 20:22:20 +0000 (15:22 -0500)]
return int instead long when possible (#17531)

11 years agoafter 2.7.4rc1 bump
Benjamin Peterson [Sat, 23 Mar 2013 15:19:40 +0000 (10:19 -0500)]
after 2.7.4rc1 bump

11 years agoAdded tag v2.7.4rc1 for changeset a8d18780bc2b
Benjamin Peterson [Sat, 23 Mar 2013 15:18:05 +0000 (10:18 -0500)]
Added tag v2.7.4rc1 for changeset a8d18780bc2b

11 years agoversion to 2.7.4rc1 v2.7.4rc1
Benjamin Peterson [Sat, 23 Mar 2013 15:17:29 +0000 (10:17 -0500)]
version to 2.7.4rc1

11 years agoupdate pydoc topics
Benjamin Peterson [Sat, 23 Mar 2013 15:15:25 +0000 (10:15 -0500)]
update pydoc topics

11 years agononlocal isn't a 2.x topic
Benjamin Peterson [Sat, 23 Mar 2013 15:09:24 +0000 (10:09 -0500)]
nonlocal isn't a 2.x topic

11 years agoHold key reference until the links have updated.
Raymond Hettinger [Sat, 23 Mar 2013 12:27:51 +0000 (05:27 -0700)]
Hold key reference until the links have updated.

11 years agoIssue #17521: Corrected non-enabling of logger following two calls to fileConfig().
Vinay Sajip [Sat, 23 Mar 2013 11:18:10 +0000 (11:18 +0000)]
Issue #17521: Corrected non-enabling of logger following two calls to fileConfig().

11 years agoUpdated Misc/NEWS with #17508.
Vinay Sajip [Sat, 23 Mar 2013 10:56:39 +0000 (10:56 +0000)]
Updated Misc/NEWS with #17508.

11 years agoIssue #17425: Build against openssl 0.9.8y on Windows.
Martin v. Loewis [Fri, 22 Mar 2013 21:01:56 +0000 (22:01 +0100)]
Issue #17425: Build against openssl 0.9.8y on Windows.

11 years agoIssue #17508: Handled out-of-order handler configuration correctly.
Vinay Sajip [Fri, 22 Mar 2013 15:19:24 +0000 (15:19 +0000)]
Issue #17508: Handled out-of-order handler configuration correctly.

11 years agobackout 66e30c4870bb for breaking OSX (#13150)
Benjamin Peterson [Fri, 22 Mar 2013 14:37:13 +0000 (09:37 -0500)]
backout 66e30c4870bb for breaking OSX (#13150)

11 years agoModernize unittest example
Raymond Hettinger [Fri, 22 Mar 2013 14:17:38 +0000 (07:17 -0700)]
Modernize unittest example

11 years ago- Issue #13150: sysconfig no longer parses the Makefile and config.h files
doko@ubuntu.com [Thu, 21 Mar 2013 22:02:16 +0000 (15:02 -0700)]
- Issue #13150: sysconfig no longer parses the Makefile and config.h files
  when imported, instead doing it at build time.  This makes importing
  sysconfig faster and reduces Python startup time by 20%.

11 years agofix issue reference
Benjamin Peterson [Wed, 20 Mar 2013 18:11:04 +0000 (13:11 -0500)]
fix issue reference

11 years agothis obviously is not going to raise any -3 warnings
Benjamin Peterson [Wed, 20 Mar 2013 18:10:41 +0000 (13:10 -0500)]
this obviously is not going to raise any -3 warnings

11 years agosite.py is needed to set up paths
Benjamin Peterson [Wed, 20 Mar 2013 17:47:57 +0000 (12:47 -0500)]
site.py is needed to set up paths

11 years agoUse a larger amount of data for the interrupted_write tests so that
Gregory P. Smith [Wed, 20 Mar 2013 06:21:03 +0000 (23:21 -0700)]
Use a larger amount of data for the interrupted_write tests so that
they work properly on systems configured with large pipe buffers.

11 years agoIssue #10212: Support new buffer interface for struct.unpack and
Kristján Valur Jónsson [Wed, 20 Mar 2013 00:17:47 +0000 (17:17 -0700)]
Issue #10212: Support new buffer interface for struct.unpack and
cStringIO

11 years agoIssue #10211 : Buffer object should support the new buffer interface.
Kristján Valur Jónsson [Tue, 19 Mar 2013 23:50:51 +0000 (16:50 -0700)]
Issue #10211 : Buffer object should support the new buffer interface.

11 years agoIssue #12098 : Fix a missing import in the unittests.
Kristján Valur Jónsson [Wed, 20 Mar 2013 00:30:30 +0000 (17:30 -0700)]
Issue #12098 : Fix a missing import in the unittests.

11 years agoIssue #10296 : Don't handle BreakPoint exceptions using
Kristján Valur Jónsson [Tue, 19 Mar 2013 22:24:10 +0000 (15:24 -0700)]
Issue #10296 : Don't handle BreakPoint exceptions using
Structured Exception Handling on windows.

11 years agoIssue #12098: multiprocessing on Windows now starts child processes
Kristján Valur Jónsson [Tue, 19 Mar 2013 22:07:35 +0000 (15:07 -0700)]
Issue #12098: multiprocessing on Windows now starts child processes
  using the same sys.flags as the current process.
Backport from default branch.

11 years ago- update config.guess and config.sub
doko@ubuntu.com [Tue, 19 Mar 2013 22:00:46 +0000 (15:00 -0700)]
- update config.guess and config.sub

11 years agoReindent files for:
doko@ubuntu.com [Tue, 19 Mar 2013 21:50:38 +0000 (14:50 -0700)]
Reindent files for:
- Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
  db-5.x, and dropping support for db-4.1 and db-4.2.

11 years ago- Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
doko@ubuntu.com [Tue, 19 Mar 2013 21:46:29 +0000 (14:46 -0700)]
- Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
  db-5.x, and dropping support for db-4.1 and db-4.2.

11 years agoissue #9090 : Take the same approach for socketmodule as daytimemodule
Kristján Valur Jónsson [Tue, 19 Mar 2013 20:53:56 +0000 (13:53 -0700)]
issue #9090 : Take the same approach for socketmodule as daytimemodule
when it needs support from timemodule (which is a .so on linux):
link in timemodule.c for the required functions.

11 years ago#8862: Fix curses cleanup with getchar is interrupted by a signal.
R David Murray [Tue, 19 Mar 2013 20:26:53 +0000 (16:26 -0400)]
#8862: Fix curses cleanup with getchar is interrupted by a signal.

I have no idea how one would write a test for this.

Patch by July Tikhonov.

11 years agoissue #9090 : Limit the fix to windows since getting a portable simple
Kristján Valur Jónsson [Tue, 19 Mar 2013 20:01:05 +0000 (13:01 -0700)]
issue #9090 : Limit the fix to windows since getting a portable simple
time function on non-windows isn't quite simple.

11 years agoIssue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
Kristján Valur Jónsson [Tue, 19 Mar 2013 17:58:59 +0000 (10:58 -0700)]
Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
 (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed
 immediately)

11 years agoFixes issue #17192: Update the ctypes module's libffi to v3.0.13. This
Gregory P. Smith [Mon, 18 Mar 2013 23:58:50 +0000 (16:58 -0700)]
Fixes issue #17192: Update the ctypes module's libffi to v3.0.13.  This
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.

11 years agoopen file in binary mode
Benjamin Peterson [Mon, 18 Mar 2013 04:28:29 +0000 (21:28 -0700)]
open file in binary mode

11 years ago#16057: Clarify why the base method default is called in custom encoders.
R David Murray [Mon, 18 Mar 2013 02:06:18 +0000 (22:06 -0400)]
#16057: Clarify why the base method default is called in custom encoders.

Original patch by Kushal Das.

11 years agoIssue #17415: Trim trailing whitespace
Terry Jan Reedy [Sun, 17 Mar 2013 19:28:10 +0000 (15:28 -0400)]
Issue #17415: Trim trailing whitespace

11 years agoIssue #17415: Clarify 'this' referent by moving containing sentence just after
Terry Jan Reedy [Sun, 17 Mar 2013 19:21:26 +0000 (15:21 -0400)]
Issue #17415: Clarify 'this' referent by moving containing sentence just after
the sentence referred to. Make other minor edits to improve flow.

11 years agoMerge heads.
Terry Jan Reedy [Sat, 16 Mar 2013 20:03:37 +0000 (16:03 -0400)]
Merge heads.

11 years agoIssue #17418: specify that buffer sizes are bytes.
Terry Jan Reedy [Sat, 16 Mar 2013 19:55:53 +0000 (15:55 -0400)]
Issue #17418: specify that buffer sizes are bytes.

11 years ago#11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas...
Ezio Melotti [Sat, 16 Mar 2013 18:04:44 +0000 (20:04 +0200)]
#11420: make test suite pass with -B/DONTWRITEBYTECODE set.  Initial patch by Thomas Wouters.

11 years agoIssue #17398: document url argument of RobotFileParser
Terry Jan Reedy [Fri, 15 Mar 2013 20:49:22 +0000 (16:49 -0400)]
Issue #17398: document url argument of RobotFileParser

11 years agoIssue #17412: update 2.7 Doc/make.bat to also use sphinx-1.0.7.
Terry Jan Reedy [Thu, 14 Mar 2013 23:32:22 +0000 (19:32 -0400)]
Issue #17412: update 2.7 Doc/make.bat to also use sphinx-1.0.7.

11 years agoIssue #1285086: Get rid of the refcounting hack and speed up urllib.unquote().
Serhiy Storchaka [Thu, 14 Mar 2013 19:31:09 +0000 (21:31 +0200)]
Issue #1285086: Get rid of the refcounting hack and speed up urllib.unquote().

11 years agoIssue #17299: Add test coverage for cPickle with file objects and general IO
Serhiy Storchaka [Thu, 14 Mar 2013 18:59:09 +0000 (20:59 +0200)]
Issue #17299: Add test coverage for cPickle with file objects and general IO
objects.  Original patch by Aman Shah.

11 years ago#17307 - Example of HTTP PUT Request using httplib
Senthil Kumaran [Wed, 13 Mar 2013 20:30:25 +0000 (13:30 -0700)]
#17307 - Example of HTTP PUT Request using httplib

11 years ago#17402: avoid shadowing built-in map in mmap examples. Initial patch by Aman Shah.
Ezio Melotti [Wed, 13 Mar 2013 00:26:11 +0000 (02:26 +0200)]
#17402: avoid shadowing built-in map in mmap examples.  Initial patch by Aman Shah.

11 years ago#17368: Fix an off-by-one error in the Python JSON decoder that caused a failure...
Ezio Melotti [Tue, 12 Mar 2013 23:49:57 +0000 (01:49 +0200)]
#17368: Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified.

11 years agoIssue #11367: fix documentation of some find* methods in ElementTree
Eli Bendersky [Tue, 12 Mar 2013 13:08:04 +0000 (06:08 -0700)]
Issue #11367: fix documentation of some find* methods in ElementTree

11 years agoFix issue number
Terry Jan Reedy [Tue, 12 Mar 2013 06:19:09 +0000 (02:19 -0400)]
Fix issue number

11 years agoIssue #14707: add news entry
Terry Jan Reedy [Tue, 12 Mar 2013 05:26:28 +0000 (01:26 -0400)]
Issue #14707: add news entry

11 years agoIssue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
Terry Jan Reedy [Mon, 11 Mar 2013 21:56:17 +0000 (17:56 -0400)]
Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.

11 years agoIssue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,
Terry Jan Reedy [Mon, 11 Mar 2013 21:41:44 +0000 (17:41 -0400)]
Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,
as reported by Serhiy Storchaka and Matthew Barnett.

11 years agoIssue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
Terry Jan Reedy [Mon, 11 Mar 2013 21:09:58 +0000 (17:09 -0400)]
Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett

11 years ago#16004: Add `make touch`.
Ezio Melotti [Mon, 11 Mar 2013 07:14:09 +0000 (09:14 +0200)]
#16004: Add `make touch`.

11 years ago#11963: fix Windows buildbots.
Ezio Melotti [Mon, 11 Mar 2013 01:21:08 +0000 (03:21 +0200)]
#11963: fix Windows buildbots.

11 years ago#11963: remove human verification from test_subprocess.
Ezio Melotti [Sun, 10 Mar 2013 22:34:33 +0000 (00:34 +0200)]
#11963: remove human verification from test_subprocess.

11 years agoClassmethod example needs to inherit from object
Raymond Hettinger [Sun, 10 Mar 2013 16:49:08 +0000 (09:49 -0700)]
Classmethod example needs to inherit from object

11 years agoIssue #17351: Modernize the pure Python property() example.
Raymond Hettinger [Sun, 10 Mar 2013 16:36:52 +0000 (09:36 -0700)]
Issue #17351: Modernize the pure Python property() example.

11 years ago#14489: fix wrong link.
Ezio Melotti [Sun, 10 Mar 2013 02:28:28 +0000 (04:28 +0200)]
#14489: fix wrong link.

11 years ago#11963: fix Windows buildbots.
Ezio Melotti [Sun, 10 Mar 2013 01:25:45 +0000 (03:25 +0200)]
#11963: fix Windows buildbots.

11 years ago#11963: avoid printing messages in test_parser. Initial patch by Éric Araujo.
Ezio Melotti [Sat, 9 Mar 2013 20:17:33 +0000 (22:17 +0200)]
#11963: avoid printing messages in test_parser.  Initial patch by Éric Araujo.

11 years agoAdd warning in ctypes documentation for #16575 and #16576
Eli Bendersky [Sat, 9 Mar 2013 13:56:35 +0000 (05:56 -0800)]
Add warning in ctypes documentation for #16575 and #16576

11 years agoIssue #17375: Add docstrings to the threading module.
Raymond Hettinger [Sat, 9 Mar 2013 04:02:13 +0000 (21:02 -0700)]
Issue #17375:  Add docstrings to the threading module.

11 years agoIssue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey.
Terry Jan Reedy [Sat, 9 Mar 2013 00:35:15 +0000 (19:35 -0500)]
Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey.

11 years agoIssue #17376: Clarified documentation for TimedRotatingFileHandler weekday rotation.
Vinay Sajip [Fri, 8 Mar 2013 23:22:22 +0000 (23:22 +0000)]
Issue #17376: Clarified documentation for TimedRotatingFileHandler weekday rotation.

11 years agoClosing #17378: ctypes documentation fix.
Eli Bendersky [Fri, 8 Mar 2013 13:34:58 +0000 (05:34 -0800)]
Closing #17378: ctypes documentation fix.

Document that ctypes automatically applies byref() when argtypes declares
POINTER.

11 years agoFix doc grammar and line width
Eli Bendersky [Wed, 6 Mar 2013 14:53:39 +0000 (06:53 -0800)]
Fix doc grammar and line width

11 years ago#17364: remove documentation for a function that does not exist.
Ezio Melotti [Wed, 6 Mar 2013 01:20:27 +0000 (03:20 +0200)]
#17364: remove documentation for a function that does not exist.

11 years agoReverting the changeset c31d700dea8b made for Issue #12921
Senthil Kumaran [Tue, 5 Mar 2013 10:24:03 +0000 (02:24 -0800)]
Reverting the changeset c31d700dea8b made for Issue #12921

11 years agoFix Issue #12921: BaseHTTPServer's send_error should send the correct error
Senthil Kumaran [Tue, 5 Mar 2013 09:21:13 +0000 (01:21 -0800)]
Fix Issue #12921: BaseHTTPServer's send_error should send the correct error
response message when  send_error includes a message in addition to error
status. Patch contributed by Karl.

11 years agomerge
Raymond Hettinger [Tue, 5 Mar 2013 07:16:45 +0000 (02:16 -0500)]
merge

11 years agoIssue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.
Raymond Hettinger [Tue, 5 Mar 2013 07:15:01 +0000 (02:15 -0500)]
Issue #16098:  Update heapq.nsmallest to use the same algorithm as nlargest.

This removes the dependency on bisect and it bring the pure Python code
in-sync with the C code.

11 years agoIssue #16848: python-config now returns proper --ldflags values for OS X
Ned Deily [Mon, 4 Mar 2013 22:31:04 +0000 (14:31 -0800)]
Issue #16848: python-config now returns proper --ldflags values for OS X
framework builds.

11 years agoIssue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is...
Antoine Pitrou [Mon, 4 Mar 2013 19:30:01 +0000 (20:30 +0100)]
Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.

11 years ago#17346: make sure pickle tests are run against all protocols.
Ezio Melotti [Mon, 4 Mar 2013 13:23:12 +0000 (15:23 +0200)]
#17346: make sure pickle tests are run against all protocols.

11 years agoIssue #16445: Fix potential segmentation fault when deleting an exception message.
Mark Dickinson [Sun, 3 Mar 2013 11:13:34 +0000 (11:13 +0000)]
Issue #16445: Fix potential segmentation fault when deleting an exception message.

11 years agoFix markup in unittest doc.
Ezio Melotti [Fri, 1 Mar 2013 19:26:04 +0000 (21:26 +0200)]
Fix markup in unittest doc.

11 years ago#17315: unlink a file that test_posixpath was leaving around.
Ezio Melotti [Fri, 1 Mar 2013 18:56:13 +0000 (20:56 +0200)]
#17315: unlink a file that test_posixpath was leaving around.

11 years agoThe example regex should be a raw string.
Raymond Hettinger [Thu, 28 Feb 2013 19:11:11 +0000 (11:11 -0800)]
The example regex should be a raw string.

11 years agoAdd a link to the demo dir.
Ezio Melotti [Thu, 28 Feb 2013 15:55:17 +0000 (17:55 +0200)]
Add a link to the demo dir.

11 years agoFix markup in unittest docs.
Ezio Melotti [Thu, 28 Feb 2013 06:28:11 +0000 (08:28 +0200)]
Fix markup in unittest docs.

11 years agoIssue #16406: combine the doc pages for uploading and registering to PyPI.
Chris Jerdonek [Wed, 27 Feb 2013 17:55:39 +0000 (09:55 -0800)]
Issue #16406: combine the doc pages for uploading and registering to PyPI.

11 years agoIssue #14720: Enhance sqlite3 microsecond conversion, document its behavior
Petri Lehtinen [Tue, 26 Feb 2013 19:32:02 +0000 (21:32 +0200)]
Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior

11 years agoIssue #17018: Make Process.join() retry if os.waitpid() fails with EINTR.
Richard Oudkerk [Tue, 26 Feb 2013 12:37:07 +0000 (12:37 +0000)]
Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR.

11 years agoFix issue16932: Fix the urlparse example. Remote :port when scheme is not specified...
Senthil Kumaran [Tue, 26 Feb 2013 09:02:14 +0000 (01:02 -0800)]
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior

11 years agoIssue #13555: Fix an integer overflow check.
Serhiy Storchaka [Tue, 26 Feb 2013 08:07:36 +0000 (10:07 +0200)]
Issue #13555: Fix an integer overflow check.

11 years agoIssue #1470548: Do not buffer XMLGenerator output.
Serhiy Storchaka [Mon, 25 Feb 2013 11:31:29 +0000 (13:31 +0200)]
Issue #1470548: Do not buffer XMLGenerator output.
Add test for fragment producing with XMLGenerator.

11 years ago#17275: Fix class name in init errors in C bufferedio classes.
R David Murray [Sun, 24 Feb 2013 03:11:21 +0000 (22:11 -0500)]
#17275: Fix class name in init errors in C bufferedio classes.

This fixes an apparent copy-and-paste error.

Original patch by Manuel Jacob.

11 years agoRevert "Issue #16121: Fix line number accounting in shlex"
Petri Lehtinen [Sat, 23 Feb 2013 22:02:55 +0000 (23:02 +0100)]
Revert "Issue #16121: Fix line number accounting in shlex"

11 years agoIssue #16121: Fix line number accounting in shlex
Petri Lehtinen [Sat, 23 Feb 2013 21:07:39 +0000 (22:07 +0100)]
Issue #16121: Fix line number accounting in shlex

11 years agoIssue #16403: Document how distutils uses the maintainer field in PKG-INFO
Petri Lehtinen [Sat, 23 Feb 2013 20:05:27 +0000 (21:05 +0100)]
Issue #16403: Document how distutils uses the maintainer field in PKG-INFO