]>
granicus.if.org Git - python/log
Benjamin Peterson [Fri, 25 May 2012 07:24:42 +0000 (00:24 -0700)]
use PyDict_Contains
Benjamin Peterson [Fri, 25 May 2012 07:22:04 +0000 (00:22 -0700)]
return NULL on error
Benjamin Peterson [Fri, 25 May 2012 07:19:40 +0000 (00:19 -0700)]
actually return the result
Larry Hastings [Fri, 25 May 2012 05:58:30 +0000 (22:58 -0700)]
Issue #14889: PyBytes_FromObject(bytes) now just increfs and returns.
Previously, if you passed in a bytes object, it would create a whole
new object.
Benjamin Peterson [Fri, 25 May 2012 05:54:15 +0000 (22:54 -0700)]
simplify and rewrite the zipimport part of
702009f3c0b1 a bit
Benjamin Peterson [Fri, 25 May 2012 05:35:39 +0000 (22:35 -0700)]
plug ref leak
Eric V. Smith [Fri, 25 May 2012 00:22:10 +0000 (20:22 -0400)]
Whitespace cleanup.
Eric V. Smith [Fri, 25 May 2012 00:21:04 +0000 (20:21 -0400)]
issue 14660: Implement PEP 420, namespace packages.
Petri Lehtinen [Thu, 24 May 2012 18:49:59 +0000 (21:49 +0300)]
#14863: Update the documentation of os.fdopen()
Petri Lehtinen [Thu, 24 May 2012 18:44:07 +0000 (21:44 +0300)]
#14863: Update the documentation of os.fdopen()
There's no bufsize argument anymore, and os.fdopen() is only a very
thin wrapper around open() anymore. Change the documentation to
reflect that.
Senthil Kumaran [Thu, 24 May 2012 13:57:38 +0000 (21:57 +0800)]
Issue #14036: return None when port in urlparse cross 65535
Senthil Kumaran [Thu, 24 May 2012 13:56:17 +0000 (21:56 +0800)]
Issue #14036: return None when port in urlparse cross 65535
Sandro Tosi [Wed, 23 May 2012 21:17:22 +0000 (23:17 +0200)]
Issue #14814: minor improvements as suggested by Hynek Schlawack
Sandro Tosi [Wed, 23 May 2012 20:26:55 +0000 (22:26 +0200)]
Issue #14814: improve docstrings and arguments value handling, as per Terry J. Reedy's comments
Petri Lehtinen [Wed, 23 May 2012 18:36:16 +0000 (21:36 +0300)]
#14862: Add missing names to os.__all__
Florent Xicluna [Wed, 23 May 2012 15:42:50 +0000 (17:42 +0200)]
Remove duplicate entries in Misc/NEWS.
Hynek Schlawack [Wed, 23 May 2012 09:22:44 +0000 (11:22 +0200)]
#14885: Make support.skip_unless_xattr check also tempfile
There is a rare edge case where the filesystem used by the tempfile functions
(usually /tmp) doesn't support xattrs while the one used by TESTFN (the current
directory, so likely to be below /home) does. This causes the xattr related
test_shutil tests fail. skip_unless_xattr now checks both.
I have also added skip_unless_xattr to __all__ where it has been missing.
Eli Bendersky [Wed, 23 May 2012 04:09:08 +0000 (07:09 +0300)]
s/tabs/spaces, and clean trailing whitespace
Petri Lehtinen [Tue, 22 May 2012 18:05:30 +0000 (21:05 +0300)]
Merge branch '3.2'
Petri Lehtinen [Tue, 22 May 2012 17:48:16 +0000 (20:48 +0300)]
#14472: Update .gitignore
Patch by Matej Cepl.
Petri Lehtinen [Tue, 22 May 2012 17:48:16 +0000 (20:48 +0300)]
#14472: Update .gitignore
Patch by Matej Cepl.
Brian Curtin [Tue, 22 May 2012 16:04:32 +0000 (11:04 -0500)]
Update build.bat for VS2010
Hynek Schlawack [Tue, 22 May 2012 14:14:56 +0000 (16:14 +0200)]
Restore [] where default arguments are not keywords
Hynek Schlawack [Tue, 22 May 2012 14:12:18 +0000 (16:12 +0200)]
Restore [] where default arguments are not keywords
Reverts some changes of
d13fdd97cc8e .
Nick Coghlan [Tue, 22 May 2012 13:04:42 +0000 (23:04 +1000)]
Fix typo
Nick Coghlan [Tue, 22 May 2012 13:02:00 +0000 (23:02 +1000)]
Fix the versionadded tags for a couple of my recent changes
Ezio Melotti [Mon, 21 May 2012 23:53:42 +0000 (17:53 -0600)]
#14875: merge with 3.2.
Ezio Melotti [Mon, 21 May 2012 23:49:06 +0000 (17:49 -0600)]
#14875: Use float('inf') instead of float('
1e66666 ') in the json module.
Georg Brandl [Mon, 21 May 2012 18:28:58 +0000 (20:28 +0200)]
Avoid useless indentation.
Antoine Pitrou [Mon, 21 May 2012 17:23:00 +0000 (19:23 +0200)]
Remove outdated statement.
Nick Coghlan [Mon, 21 May 2012 13:03:30 +0000 (23:03 +1000)]
Close #14136 by cleaning up the PEP 409 command line test (patch by Ethan Furman)
Nick Coghlan [Mon, 21 May 2012 12:54:43 +0000 (22:54 +1000)]
Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.nested API
Hynek Schlawack [Mon, 21 May 2012 11:41:25 +0000 (13:41 +0200)]
#14804: Remove [] around optional arguments with default values
3.3 specific additions to
d13fdd97cc8e .
Hynek Schlawack [Mon, 21 May 2012 11:35:03 +0000 (13:35 +0200)]
#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
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.
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.
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.
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.
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
Nick Coghlan [Sun, 20 May 2012 11:22:27 +0000 (21:22 +1000)]
Remove an incorrect implementation detail
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)
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 .
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 .
Charles-François Natali [Sun, 20 May 2012 09:43:28 +0000 (11:43 +0200)]
Merge.
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().
Nick Coghlan [Sun, 20 May 2012 09:36:40 +0000 (19:36 +1000)]
Clarify a paragraph in the new metaclass docs
Senthil Kumaran [Sun, 20 May 2012 08:58:59 +0000 (16:58 +0800)]
merge - Fix 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
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
Nick Coghlan [Sun, 20 May 2012 08:15:11 +0000 (18:15 +1000)]
Fix typo in new metaclass docs
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.
Senthil Kumaran [Sun, 20 May 2012 04:08:29 +0000 (12:08 +0800)]
news for Issue14426
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
Senthil Kumaran [Sun, 20 May 2012 04:06:24 +0000 (12:06 +0800)]
news for Issue14426
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
Eli Bendersky [Sun, 20 May 2012 03:33:29 +0000 (06:33 +0300)]
Issue #14849: setup Element data members to be assignable in subclasses
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.
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.
Nick Coghlan [Sat, 19 May 2012 16:34:13 +0000 (02:34 +1000)]
Close #14588: added a PEP 3115 compliant dynamic type creation mechanism
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.
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.
Ezio Melotti [Sat, 19 May 2012 14:16:22 +0000 (17:16 +0300)]
#14072: merge with 3.2.
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.
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.
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
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
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
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
Petri Lehtinen [Fri, 18 May 2012 18:51:11 +0000 (21:51 +0300)]
#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
Petri Lehtinen [Fri, 18 May 2012 18:27:27 +0000 (21:27 +0300)]
Fix time.time() references in the time module docs
Closes #14842.
Petri Lehtinen [Fri, 18 May 2012 18:19:17 +0000 (21:19 +0300)]
Fix time.time() references in the time module docs
Closes #14842.
Antoine Pitrou [Fri, 18 May 2012 16:33:32 +0000 (18:33 +0200)]
Fix whitespace
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)
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.
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.
Martin v. Löwis [Fri, 18 May 2012 14:42:52 +0000 (16:42 +0200)]
Fix typo.
Martin v. Löwis [Fri, 18 May 2012 14:29:33 +0000 (16:29 +0200)]
Upgrade OpenSSL to 1.0.1c
Martin v. Löwis [Fri, 18 May 2012 14:25:04 +0000 (16:25 +0200)]
Assume nasm.
Martin v. Löwis [Fri, 18 May 2012 13:34:22 +0000 (15:34 +0200)]
merge 3.2
Martin v. Löwis [Fri, 18 May 2012 13:28:01 +0000 (15:28 +0200)]
Upgrade OpenSSL to 1.0.0j
Martin v. Löwis [Fri, 18 May 2012 12:25:54 +0000 (14:25 +0200)]
merge 3.2
Martin v. Löwis [Fri, 18 May 2012 12:24:09 +0000 (14:24 +0200)]
merge heads
Martin v. Löwis [Fri, 18 May 2012 12:23:13 +0000 (14:23 +0200)]
merge heads
Martin v. Löwis [Fri, 18 May 2012 12:20:04 +0000 (14:20 +0200)]
Port to VS 2010.
Martin v. Löwis [Fri, 18 May 2012 12:18:26 +0000 (14:18 +0200)]
Merge 3.2 build_ssl changes.
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.
Martin v. Löwis [Fri, 18 May 2012 12:16:53 +0000 (14:16 +0200)]
Fetch openssl directory from pyproject.vsprops.
Antoine Pitrou [Fri, 18 May 2012 11:57:04 +0000 (13:57 +0200)]
Remove outdated statements about threading and imports.
Antoine Pitrou [Thu, 17 May 2012 19:13:45 +0000 (21:13 +0200)]
Add a mention of the new import locks in whatsnew.
Antoine Pitrou [Thu, 17 May 2012 19:04:49 +0000 (21:04 +0200)]
Merge
Antoine Pitrou [Thu, 17 May 2012 19:02:54 +0000 (21:02 +0200)]
Make the test completely clean up after itself.
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.
Antoine Pitrou [Thu, 17 May 2012 17:00:35 +0000 (19:00 +0200)]
Move import lock-related functions to a separate doc section.
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.
Antoine Pitrou [Thu, 17 May 2012 15:37:02 +0000 (17:37 +0200)]
Add mention of decoding optimizations in the what's new document.
R David Murray [Thu, 17 May 2012 13:14:28 +0000 (09:14 -0400)]
#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.
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.