]> granicus.if.org Git - python/log
python
12 years ago#14804: Remove [] around optional arguments with default values
Hynek Schlawack [Mon, 21 May 2012 11:35:03 +0000 (13:35 +0200)]
#14804: Remove [] around optional arguments with default values

12 years ago#14804: Remove [] around optional arguments with default values
Hynek Schlawack [Mon, 21 May 2012 09:01:54 +0000 (11:01 +0200)]
#14804: Remove [] around optional arguments with default values

12 years agoFix `versionchanged` tags for json.load
Hynek Schlawack [Sun, 20 May 2012 16:34:11 +0000 (18:34 +0200)]
Fix `versionchanged` tags for json.load

`versionchanged` tags about 2.7 are useless in 3.x branches.

12 years agoFix `versionchanged` tags for json.load
Hynek Schlawack [Sun, 20 May 2012 16:32:53 +0000 (18:32 +0200)]
Fix `versionchanged` tags for json.load

`versionchanged` tags about 2.7 are useless in 3.x branches.

12 years agoCloses #14864: Added documentation on how to undo the effects of a logging.disable...
Vinay Sajip [Sun, 20 May 2012 14:37:33 +0000 (15:37 +0100)]
Closes #14864: Added documentation on how to undo the effects of a logging.disable() call. Thanks to user Guillaume for the suggestion.

12 years agoFixes #14864: Added documentation on how to undo the effects of a logging.disable...
Vinay Sajip [Sun, 20 May 2012 14:36:17 +0000 (15:36 +0100)]
Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call.

12 years agoIssue 14821:
Kristján Valur Jónsson [Sun, 20 May 2012 11:25:48 +0000 (11:25 +0000)]
Issue 14821:
If a dependency is expressed both in the .sln file and the .vcxproj file
msbuild is confused.  Removing the .sln dependencies which are
deprecated anyway.  See:
http://blogs.msdn.com/b/visualstudio/archive/2010/12/21/incorrect-solution-build-ordering-when-using-msbuild-exe.aspx

12 years agoRemove an incorrect implementation detail
Nick Coghlan [Sun, 20 May 2012 11:22:27 +0000 (21:22 +1000)]
Remove an incorrect implementation detail

12 years agoIssue #14814: addition of the ipaddress module (stage 1 - code and tests)
Nick Coghlan [Sun, 20 May 2012 11:01:57 +0000 (21:01 +1000)]
Issue #14814: addition of the ipaddress module (stage 1 - code and tests)

12 years agoDocument when json.load's parse_constant behaviour changed
Hynek Schlawack [Sun, 20 May 2012 10:04:01 +0000 (12:04 +0200)]
Document when json.load's parse_constant behaviour changed

It doesn't get called on 'null', 'true', 'false' since f686aced02a3.

12 years agoDocument when json.load's parse_constant behaviour changed
Hynek Schlawack [Sun, 20 May 2012 10:03:17 +0000 (12:03 +0200)]
Document when json.load's parse_constant behaviour changed

It doesn't get called on 'null', 'true', 'false' since f686aced02a3.

12 years agoMerge.
Charles-François Natali [Sun, 20 May 2012 09:43:28 +0000 (11:43 +0200)]
Merge.

12 years agoIssue #12760: Add some mising documentation about the new `x` exclusive
Charles-François Natali [Sun, 20 May 2012 09:41:53 +0000 (11:41 +0200)]
Issue #12760: Add some mising documentation about the new `x` exclusive
creation flag to open().

12 years agoClarify a paragraph in the new metaclass docs
Nick Coghlan [Sun, 20 May 2012 09:36:40 +0000 (19:36 +1000)]
Clarify a paragraph in the new metaclass docs

12 years agomerge - Fix for issue14426 - buildbots here I come
Senthil Kumaran [Sun, 20 May 2012 08:58:59 +0000 (16:58 +0800)]
merge - Fix for issue14426 - buildbots here I come

12 years agoFix for issue14426 - buildbots here I come
Senthil Kumaran [Sun, 20 May 2012 08:58:30 +0000 (16:58 +0800)]
Fix for issue14426 - buildbots here I come

12 years agoDescribe the default hash correctly, and mark a couple of CPython implementation...
Nick Coghlan [Sun, 20 May 2012 08:30:49 +0000 (18:30 +1000)]
Describe the default hash correctly, and mark a couple of CPython implementation details

12 years agoFix typo in new metaclass docs
Nick Coghlan [Sun, 20 May 2012 08:15:11 +0000 (18:15 +1000)]
Fix typo in new metaclass docs

12 years agoMinor change to default lru size. Set default to a power of two.
Raymond Hettinger [Sun, 20 May 2012 04:20:48 +0000 (21:20 -0700)]
Minor change to default lru size.  Set default to a power of two.

12 years agonews for Issue14426
Senthil Kumaran [Sun, 20 May 2012 04:08:29 +0000 (12:08 +0800)]
news for Issue14426

12 years ago Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch...
Senthil Kumaran [Sun, 20 May 2012 04:06:51 +0000 (12:06 +0800)]
 Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert

12 years agonews for Issue14426
Senthil Kumaran [Sun, 20 May 2012 04:06:24 +0000 (12:06 +0800)]
news for Issue14426

12 years ago Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch...
Senthil Kumaran [Sun, 20 May 2012 04:05:16 +0000 (12:05 +0800)]
 Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert

12 years agoIssue #14849: setup Element data members to be assignable in subclasses
Eli Bendersky [Sun, 20 May 2012 03:33:29 +0000 (06:33 +0300)]
Issue #14849: setup Element data members to be assignable in subclasses

12 years agoRemove missing files from the PCbuild pythoncore project. This avoids a
Kristján Valur Jónsson [Sat, 19 May 2012 21:25:41 +0000 (21:25 +0000)]
Remove missing files from the PCbuild pythoncore project.  This avoids a
"missing dependency", causing pythocore to be rebuilt every time.

12 years agoClean up the PCBuild project files, removing redundant settings and
Kristján Valur Jónsson [Sat, 19 May 2012 21:10:14 +0000 (21:10 +0000)]
Clean up the PCBuild project files, removing redundant settings and
use "references" to link to dependent projects.
Update readme and batch files.

12 years agoClose #14588: added a PEP 3115 compliant dynamic type creation mechanism
Nick Coghlan [Sat, 19 May 2012 16:34:13 +0000 (02:34 +1000)]
Close #14588: added a PEP 3115 compliant dynamic type creation mechanism

12 years ago#14494: Document that absolute imports became default in 3.0 instead of 2.7.
Petri Lehtinen [Sat, 19 May 2012 15:38:27 +0000 (18:38 +0300)]
#14494: Document that absolute imports became default in 3.0 instead of 2.7.

12 years ago#14494: Document that absolute imports became default in 3.0 instead of 2.7.
Petri Lehtinen [Sat, 19 May 2012 15:34:06 +0000 (18:34 +0300)]
#14494: Document that absolute imports became default in 3.0 instead of 2.7.

12 years ago#14072: merge with 3.2.
Ezio Melotti [Sat, 19 May 2012 14:16:22 +0000 (17:16 +0300)]
#14072: merge with 3.2.

12 years ago#14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter.
Ezio Melotti [Sat, 19 May 2012 14:15:19 +0000 (17:15 +0300)]
#14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter.

12 years ago#13152: Allow to specify a custom tabsize for expanding tabs in textwrap
Hynek Schlawack [Sat, 19 May 2012 11:33:11 +0000 (13:33 +0200)]
#13152: Allow to specify a custom tabsize for expanding tabs in textwrap

Patch by John Feuerstein.

12 years agomerge - Fix Issue14721: Send Content-length: 0 for empty body () in the http.client...
Senthil Kumaran [Sat, 19 May 2012 08:58:45 +0000 (16:58 +0800)]
merge - Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests

12 years agoFix Issue14721: Send Content-length: 0 for empty body () in the http.client requests
Senthil Kumaran [Sat, 19 May 2012 08:58:09 +0000 (16:58 +0800)]
Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests

12 years agoIssue9374 - Generic parsing of query and fragment portion of urls for any scheme
Senthil Kumaran [Sat, 19 May 2012 00:12:46 +0000 (08:12 +0800)]
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme

12 years agoIssue9374 - Generic parsing of query and fragment portion of urls for any scheme
Senthil Kumaran [Sat, 19 May 2012 00:12:00 +0000 (08:12 +0800)]
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme

12 years ago#14798: pyclbr now raises ImportError instead of KeyError for missing packages
Petri Lehtinen [Fri, 18 May 2012 18:51:11 +0000 (21:51 +0300)]
#14798: pyclbr now raises ImportError instead of KeyError for missing packages

12 years ago#14798: pyclbr now raises ImportError instead of KeyError for missing packages
Petri Lehtinen [Fri, 18 May 2012 18:51:11 +0000 (21:51 +0300)]
#14798: pyclbr now raises ImportError instead of KeyError for missing packages

12 years agoFix time.time() references in the time module docs
Petri Lehtinen [Fri, 18 May 2012 18:27:27 +0000 (21:27 +0300)]
Fix time.time() references in the time module docs

Closes #14842.

12 years agoFix time.time() references in the time module docs
Petri Lehtinen [Fri, 18 May 2012 18:19:17 +0000 (21:19 +0300)]
Fix time.time() references in the time module docs

Closes #14842.

12 years agoFix whitespace
Antoine Pitrou [Fri, 18 May 2012 16:33:32 +0000 (18:33 +0200)]
Fix whitespace

12 years agoMove private function _args_from_interpreter_flags() to subprocess.py, so
Antoine Pitrou [Fri, 18 May 2012 16:33:07 +0000 (18:33 +0200)]
Move private function _args_from_interpreter_flags() to subprocess.py, so
that it can be imported when threads are disabled.
(followup to issue #12098)

12 years agoDrop double quoting again. I'm at a loss when to quote and when not.
Martin v. Löwis [Fri, 18 May 2012 13:28:43 +0000 (15:28 +0200)]
Drop double quoting again. I'm at a loss when to quote and when not.

12 years ago#12098: Make multiprocessing's child processes inherit sys.flags on Windows
Richard Oudkerk [Fri, 18 May 2012 13:28:02 +0000 (14:28 +0100)]
#12098: Make multiprocessing's child processes inherit sys.flags on Windows

Initial patch by Sergey Mezentsev.

12 years agoFix typo.
Martin v. Löwis [Fri, 18 May 2012 14:42:52 +0000 (16:42 +0200)]
Fix typo.

12 years agoUpgrade OpenSSL to 1.0.1c
Martin v. Löwis [Fri, 18 May 2012 14:29:33 +0000 (16:29 +0200)]
Upgrade OpenSSL to 1.0.1c

12 years agoAssume nasm.
Martin v. Löwis [Fri, 18 May 2012 14:25:04 +0000 (16:25 +0200)]
Assume nasm.

12 years agomerge 3.2
Martin v. Löwis [Fri, 18 May 2012 13:34:22 +0000 (15:34 +0200)]
merge 3.2

12 years agoUpgrade OpenSSL to 1.0.0j
Martin v. Löwis [Fri, 18 May 2012 13:28:01 +0000 (15:28 +0200)]
Upgrade OpenSSL to 1.0.0j

12 years agomerge 3.2
Martin v. Löwis [Fri, 18 May 2012 12:25:54 +0000 (14:25 +0200)]
merge 3.2

12 years agomerge heads
Martin v. Löwis [Fri, 18 May 2012 12:24:09 +0000 (14:24 +0200)]
merge heads

12 years agomerge heads
Martin v. Löwis [Fri, 18 May 2012 12:23:13 +0000 (14:23 +0200)]
merge heads

12 years agoPort to VS 2010.
Martin v. Löwis [Fri, 18 May 2012 12:20:04 +0000 (14:20 +0200)]
Port to VS 2010.

12 years agoMerge 3.2 build_ssl changes.
Martin v. Löwis [Fri, 18 May 2012 12:18:26 +0000 (14:18 +0200)]
Merge 3.2 build_ssl changes.

12 years agoAdd another set of quotes to make cmd.exe happy.
Martin v. Löwis [Fri, 18 May 2012 12:17:43 +0000 (14:17 +0200)]
Add another set of quotes to make cmd.exe happy.

12 years agoFetch openssl directory from pyproject.vsprops.
Martin v. Löwis [Fri, 18 May 2012 12:16:53 +0000 (14:16 +0200)]
Fetch openssl directory from pyproject.vsprops.

12 years agoRemove outdated statements about threading and imports.
Antoine Pitrou [Fri, 18 May 2012 11:57:04 +0000 (13:57 +0200)]
Remove outdated statements about threading and imports.

12 years agoAdd a mention of the new import locks in whatsnew.
Antoine Pitrou [Thu, 17 May 2012 19:13:45 +0000 (21:13 +0200)]
Add a mention of the new import locks in whatsnew.

12 years agoMerge
Antoine Pitrou [Thu, 17 May 2012 19:04:49 +0000 (21:04 +0200)]
Merge

12 years agoMake the test completely clean up after itself.
Antoine Pitrou [Thu, 17 May 2012 19:02:54 +0000 (21:02 +0200)]
Make the test completely clean up after itself.

12 years agoIssue #13031: Small speed-up for tarfile when unzipping tarfiles.
Ross Lagerwall [Thu, 17 May 2012 17:49:27 +0000 (19:49 +0200)]
Issue #13031: Small speed-up for tarfile when unzipping tarfiles.
Patch by Justin Peel.

12 years agoMove import lock-related functions to a separate doc section.
Antoine Pitrou [Thu, 17 May 2012 17:00:35 +0000 (19:00 +0200)]
Move import lock-related functions to a separate doc section.

12 years agoIssue #9260: A finer-grained import lock.
Antoine Pitrou [Thu, 17 May 2012 16:55:59 +0000 (18:55 +0200)]
Issue #9260: A finer-grained import lock.

Most of the import sequence now uses per-module locks rather than the
global import lock, eliminating well-known issues with threads and imports.

12 years agoAdd mention of decoding optimizations in the what's new document.
Antoine Pitrou [Thu, 17 May 2012 15:37:02 +0000 (17:37 +0200)]
Add mention of decoding optimizations in the what's new document.

12 years ago#14823: Simplify threading.Lock.acquire argument discussion.
R David Murray [Thu, 17 May 2012 13:14:28 +0000 (09:14 -0400)]
#14823: Simplify threading.Lock.acquire argument discussion.

12 years ago#14823: Simplify threading.Lock.acquire argument discussion.
R David Murray [Thu, 17 May 2012 13:13:30 +0000 (09:13 -0400)]
#14823: Simplify threading.Lock.acquire argument discussion.

12 years agoIssue 14813: Fix Visual Studio 2008 build after the move into the PC/VS9.0
Stefan Krah [Wed, 16 May 2012 22:21:57 +0000 (00:21 +0200)]
Issue 14813: Fix Visual Studio 2008 build after the move into the PC/VS9.0
directory.

12 years agoIssue #14780: urllib.request.urlopen() now has a `cadefault` argument to use the...
Antoine Pitrou [Wed, 16 May 2012 19:40:01 +0000 (21:40 +0200)]
Issue #14780: urllib.request.urlopen() now has a `cadefault` argument to use the default certificate store.
Initial patch by James Oakley.

12 years agoIssue #14779: Get sizeof(void *) directly rather than relying on sysconfig.
Stefan Krah [Wed, 16 May 2012 18:41:56 +0000 (20:41 +0200)]
Issue #14779: Get sizeof(void *) directly rather than relying on sysconfig.

12 years agoFix Visual Studio warning.
Stefan Krah [Wed, 16 May 2012 18:20:03 +0000 (20:20 +0200)]
Fix Visual Studio warning.

12 years agoChanges in _mpd_qexp():
Stefan Krah [Wed, 16 May 2012 18:10:21 +0000 (20:10 +0200)]
Changes in _mpd_qexp():
-----------------------

  1) Reduce the number of iterations in the Horner scheme for operands with
     a negative adjusted exponent. Previously the number was overestimated
     quite generously.

  2) The function _mpd_get_exp_iterations() now has an ACL2 proof and
     is rewritten accordingly.

  3) The proof relies on abs(op) > 9 * 10**(-prec-1), so operands without
     that property are now handled by the new function _mpd_qexp_check_one().

  4) The error analysis for the evaluation of the truncated Taylor series
     in Hull&Abrham's paper relies on the fact that the reduced operand
     'r' has fewer than context.prec digits.

     Since the operands may have more than context.prec digits, a new ACL2
     proof covers the case that r.digits > context.prec. To facilitate the
     proof, the Horner step now uses fma instead of rounding twice in
     multiply/add.

Changes in mpd_qexp():
----------------------

  1) Fix a bound in the correct rounding loop that was too optimistic. In
     practice results were always correctly rounded, because it is unlikely
     that the error in _mpd_qexp() ever reaches the theoretical maximum.

12 years ago#14692 Fix json docs to reflect changes in json.load
Hynek Schlawack [Wed, 16 May 2012 17:08:36 +0000 (19:08 +0200)]
#14692 Fix json docs to reflect changes in json.load

The behaviour of the parse_constant callback changed insofar that 'null',
'true', 'false' don't trigger its call anymore.

Patch by Serhiy Storchaka

12 years ago#14692 Fix json docs to reflect changes in json.load
Hynek Schlawack [Wed, 16 May 2012 17:01:04 +0000 (19:01 +0200)]
#14692 Fix json docs to reflect changes in json.load

The behaviour of the parse_constant callback changed insofar that 'null',
'true', 'false' don't trigger its call anymore.

Patch by Serhiy Storchaka

12 years agoIssue #14693: Under non-Windows platforms, hashlib's fallback modules are always...
Antoine Pitrou [Wed, 16 May 2012 14:41:26 +0000 (16:41 +0200)]
Issue #14693: Under non-Windows platforms, hashlib's fallback modules are always compiled, even if OpenSSL is present at build time.

12 years agomerge heads
Giampaolo Rodola' [Wed, 16 May 2012 14:03:07 +0000 (16:03 +0200)]
merge heads

12 years ago#14807: fix BB failures on Windows - avoid to to rely too many details of the mode...
Giampaolo Rodola' [Wed, 16 May 2012 14:01:59 +0000 (16:01 +0200)]
#14807: fix BB failures on Windows - avoid to to rely too many details of the mode string.

12 years agoForward port additional tests from 2.7 (issue #14829).
Antoine Pitrou [Wed, 16 May 2012 13:06:00 +0000 (15:06 +0200)]
Forward port additional tests from 2.7 (issue #14829).

12 years agoForward port additional tests from 2.7 (issue #14829).
Antoine Pitrou [Wed, 16 May 2012 13:01:40 +0000 (15:01 +0200)]
Forward port additional tests from 2.7 (issue #14829).

12 years agoMore .hgignore additions for new VS build files
Antoine Pitrou [Wed, 16 May 2012 12:42:38 +0000 (14:42 +0200)]
More .hgignore additions for new VS build files

12 years agoIssue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under...
Antoine Pitrou [Wed, 16 May 2012 12:39:36 +0000 (14:39 +0200)]
Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.

(untested, because of Windows build issues under 3.x)

12 years agoIssue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under...
Antoine Pitrou [Wed, 16 May 2012 12:37:54 +0000 (14:37 +0200)]
Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.

12 years agoAvoid "warning: no newline at end of file" in importlib.h.
Antoine Pitrou [Wed, 16 May 2012 10:58:04 +0000 (12:58 +0200)]
Avoid "warning: no newline at end of file" in importlib.h.

12 years agoFix build failure.
Antoine Pitrou [Wed, 16 May 2012 10:51:55 +0000 (12:51 +0200)]
Fix build failure.

12 years agoIssue #14732: The _csv module now uses PEP 3121 module initialization.
Antoine Pitrou [Wed, 16 May 2012 09:33:08 +0000 (11:33 +0200)]
Issue #14732: The _csv module now uses PEP 3121 module initialization.
Patch by Robin Schreiber.

12 years agoUpdate .hgignore for new MSVC files
Antoine Pitrou [Wed, 16 May 2012 09:31:13 +0000 (11:31 +0200)]
Update .hgignore for new MSVC files

12 years agoCleanup so subsequent tests won't fail. Needs to be moved into a support routine...
Eric V. Smith [Wed, 16 May 2012 08:48:04 +0000 (04:48 -0400)]
Cleanup so subsequent tests won't fail. Needs to be moved into a support routine (see 14715).

12 years ago#14809: Add HTTP status codes from RFC 6585 to http.server and http.client
Hynek Schlawack [Wed, 16 May 2012 07:51:07 +0000 (09:51 +0200)]
#14809: Add HTTP status codes from RFC 6585 to http.server and http.client

Patch by EungJun Yi.

12 years agoMerge from 3.2.
Eric V. Smith [Wed, 16 May 2012 08:49:22 +0000 (04:49 -0400)]
Merge from 3.2.

12 years agomerge #1440472: reflow
R David Murray [Wed, 16 May 2012 02:13:55 +0000 (22:13 -0400)]
merge #1440472: reflow

12 years ago#1440472: reflow
R David Murray [Wed, 16 May 2012 02:13:29 +0000 (22:13 -0400)]
#1440472: reflow

12 years agomerge #1440472: Explain that email parser/generator isn't *quite* "idempotent"
R David Murray [Wed, 16 May 2012 02:09:14 +0000 (22:09 -0400)]
merge #1440472: Explain that email parser/generator isn't *quite* "idempotent"

12 years ago#1440472: Explain that email parser/generator isn't *quite* "idempotent"
R David Murray [Wed, 16 May 2012 02:07:52 +0000 (22:07 -0400)]
#1440472: Explain that email parser/generator isn't *quite* "idempotent"

12 years agoIssue #14777: merge
Ned Deily [Wed, 16 May 2012 01:13:02 +0000 (18:13 -0700)]
Issue #14777: merge

12 years agoIssue #14777: In an X11 windowing environment, tkinter may return
Ned Deily [Wed, 16 May 2012 01:08:11 +0000 (18:08 -0700)]
Issue #14777: In an X11 windowing environment, tkinter may return
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.

12 years agoMerge from 3.2.
Eric V. Smith [Wed, 16 May 2012 00:46:06 +0000 (20:46 -0400)]
Merge from 3.2.

12 years agoIssue #14817: Add rudimentary tests for pkgutil.extend_path.
Eric V. Smith [Wed, 16 May 2012 00:44:06 +0000 (20:44 -0400)]
Issue #14817: Add rudimentary tests for pkgutil.extend_path.

12 years agoIssue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs.
Antoine Pitrou [Tue, 15 May 2012 21:48:04 +0000 (23:48 +0200)]
Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs.
Patch by Serhiy Storchaka.

12 years agomerge heads
Giampaolo Rodola' [Tue, 15 May 2012 20:21:01 +0000 (22:21 +0200)]
merge heads

12 years ago#14807: fix bb failure due to symlink test relying on hard-coded permissions
Giampaolo Rodola' [Tue, 15 May 2012 20:20:10 +0000 (22:20 +0200)]
#14807: fix bb failure due to symlink test relying on hard-coded permissions

12 years agoAdd versionadded for hmac.secure_compare().
Charles-François Natali [Tue, 15 May 2012 19:00:32 +0000 (21:00 +0200)]
Add versionadded for hmac.secure_compare().