]>
granicus.if.org Git - python/log
Vinay Sajip [Mon, 20 May 2013 22:39:11 +0000 (15:39 -0700)]
Closes #17743: Merged fix from 3.3.
Vinay Sajip [Mon, 20 May 2013 22:38:12 +0000 (15:38 -0700)]
Issue #17743: Now use extended syntax of set command in .bat files.
Vinay Sajip [Mon, 20 May 2013 22:30:10 +0000 (15:30 -0700)]
Closes #17744: Merged fix from 3.3.
Vinay Sajip [Mon, 20 May 2013 22:28:52 +0000 (15:28 -0700)]
Issue #17744: Now unset VIRTUAL_ENV environment variable when deactivating.
Ned Deily [Mon, 20 May 2013 21:32:06 +0000 (14:32 -0700)]
Issue #18026: merge
Ned Deily [Mon, 20 May 2013 21:29:44 +0000 (14:29 -0700)]
Issue #18026: fix ctypes doc typo
Benjamin Peterson [Mon, 20 May 2013 17:28:48 +0000 (10:28 -0700)]
change AST codegen to use PyModule_AddIntMacro
Charles-Francois Natali [Mon, 20 May 2013 17:13:19 +0000 (19:13 +0200)]
Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()
when applicable.
Charles-Francois Natali [Mon, 20 May 2013 17:08:19 +0000 (19:08 +0200)]
Issue #17684: Fix some test_socket failures due to limited FD passing support
on OS-X. Patch by Jeff Ramnani.
Charles-Francois Natali [Mon, 20 May 2013 15:40:32 +0000 (17:40 +0200)]
Issue #17914: We can now inline _bsd_cpu_count().
Charles-Francois Natali [Mon, 20 May 2013 15:31:06 +0000 (17:31 +0200)]
Issue #17914: Remove OS-X special-case, and use the correct int type.
Benjamin Peterson [Mon, 20 May 2013 15:22:04 +0000 (08:22 -0700)]
test that the compiler support -Werror=statement-after-declaration before using it
R David Murray [Mon, 20 May 2013 14:33:27 +0000 (10:33 -0400)]
Merge #17973: Add FAQ entry for ([],)[0] += [1] both extending and raising.
R David Murray [Mon, 20 May 2013 14:32:46 +0000 (10:32 -0400)]
#17973: Add FAQ entry for ([],)[0] += [1] both extending and raising.
This has come up often enough now on the tracker that it deserves a FAQ entry.
Andrew Kuchling [Mon, 20 May 2013 14:14:53 +0000 (10:14 -0400)]
#17955: minor updates to Functional howto
* Describe compress() and accumulate()
* Add a subsection on combinatoric functions.
* Add a forward link to skip the theoretical discussion in the first section.
* Clarify what filterfalse() is the opposite of.
* Remove the old outline and some notes at the end.
* Various small edits.
Charles-Francois Natali [Mon, 20 May 2013 12:40:46 +0000 (14:40 +0200)]
Issue #17914: Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an
initial patch by Trent Nelson.
Ezio Melotti [Mon, 20 May 2013 05:14:14 +0000 (08:14 +0300)]
#14097: merge with 3.3.
Ezio Melotti [Mon, 20 May 2013 05:12:32 +0000 (08:12 +0300)]
#14097: improve the "introduction" page of the tutorial.
Benjamin Peterson [Mon, 20 May 2013 02:39:46 +0000 (19:39 -0700)]
merge 3.3
Benjamin Peterson [Mon, 20 May 2013 02:39:38 +0000 (19:39 -0700)]
add recursive repr test
Eli Bendersky [Mon, 20 May 2013 01:47:23 +0000 (18:47 -0700)]
Get rid of ugly code duplication for ElementTree.parse when the accelerator
is imported. Instead, ElementTree.parse can look for a special internal method
defined by the accelerator.
Eli Bendersky [Mon, 20 May 2013 00:49:54 +0000 (17:49 -0700)]
Add some testing to verify which module was imported in ET tests.
This is useful when mucking with import_fresh_module to either force or block
importing of the _elementtree accelerator. These tests in place provide an
immediate indication whether the accelerator was actually imported and overrode
the classes it should have.
Eli Bendersky [Mon, 20 May 2013 00:00:28 +0000 (17:00 -0700)]
Issue #17989: fix typo in error message
Eli Bendersky [Sun, 19 May 2013 23:59:59 +0000 (16:59 -0700)]
Issue #17989: fix typo in error message
Eli Bendersky [Sun, 19 May 2013 16:27:13 +0000 (09:27 -0700)]
normalize whitespace
Eli Bendersky [Sun, 19 May 2013 16:25:52 +0000 (09:25 -0700)]
Cleanup even more dead code
Eli Bendersky [Sun, 19 May 2013 16:24:43 +0000 (09:24 -0700)]
Cleanup more old ET library leftovers
Eli Bendersky [Sun, 19 May 2013 16:20:50 +0000 (09:20 -0700)]
Issue #17988: remove unused alias for Element and rename the used one
Renaming to _Element_Py for clarity and moving it to a more logical location.
_ElementInterface OTOH is unused and is therefore removed.
Close #17988
Eli Bendersky [Sun, 19 May 2013 16:09:24 +0000 (09:09 -0700)]
Clarify docs too: events can be any sequence (not that the C code supports it)
Eli Bendersky [Sun, 19 May 2013 16:01:49 +0000 (09:01 -0700)]
_elementtree.XMLParser._setevents should support any sequence, not just tuples
Also clean up some code around this
Antoine Pitrou [Sun, 19 May 2013 13:55:59 +0000 (15:55 +0200)]
Try to make test more reliable (saw some sporadic failures on buildbots)
Antoine Pitrou [Sun, 19 May 2013 13:55:40 +0000 (15:55 +0200)]
Try to make test more reliable (saw some sporadic failures on buildbots)
Antoine Pitrou [Sun, 19 May 2013 13:46:37 +0000 (15:46 +0200)]
Issue #11995: test_pydoc doesn't import all sys.path modules anymore.
Antoine Pitrou [Sun, 19 May 2013 13:44:54 +0000 (15:44 +0200)]
Issue #11995: test_pydoc doesn't import all sys.path modules anymore.
Serhiy Storchaka [Sun, 19 May 2013 08:49:32 +0000 (11:49 +0300)]
Issue #17812: Fixed quadratic complexity of base64.b32encode().
Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).
Serhiy Storchaka [Sun, 19 May 2013 08:41:15 +0000 (11:41 +0300)]
Issue #17812: Fixed quadratic complexity of base64.b32encode().
Antoine Pitrou [Sat, 18 May 2013 23:11:58 +0000 (01:11 +0200)]
Issue #17937: Try harder to collect cyclic garbage at shutdown.
Eli Bendersky [Sat, 18 May 2013 22:47:58 +0000 (15:47 -0700)]
Issue #17901: fix TreeBuilder construction for an explicit element_factory=None
Based on report and patch by Aaron Oakley.
Eli Bendersky [Sat, 18 May 2013 22:47:16 +0000 (15:47 -0700)]
Issue #17901: fix TreeBuilder construction for an explicit element_factory=None
Based on report and patch by Aaron Oakley.
Vinay Sajip [Sat, 18 May 2013 17:19:54 +0000 (10:19 -0700)]
Re-enabled skipped test.
Richard Oudkerk [Sat, 18 May 2013 17:13:16 +0000 (18:13 +0100)]
Merge.
Richard Oudkerk [Sat, 18 May 2013 17:11:30 +0000 (18:11 +0100)]
Close file before reopening to keep Windows happy in test_sax.
Richard Oudkerk [Sat, 18 May 2013 16:35:19 +0000 (17:35 +0100)]
Use PY_FORMAT_SIZE_T because Visual Studio does not understand %zd format.
Antoine Pitrou [Sat, 18 May 2013 15:59:12 +0000 (17:59 +0200)]
Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099).
Antoine Pitrou [Sat, 18 May 2013 15:56:42 +0000 (17:56 +0200)]
Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099).
Eli Bendersky [Sat, 18 May 2013 14:53:47 +0000 (07:53 -0700)]
Issue #17989: element_setattro returned incorrect error value.
This caused an exception to be raised later than expected.
Eli Bendersky [Sat, 18 May 2013 14:52:34 +0000 (07:52 -0700)]
Issue #17989: element_setattro returned incorrect error value.
This caused an exception to be raised later than expected.
Raymond Hettinger [Sat, 18 May 2013 07:05:20 +0000 (00:05 -0700)]
Undo the deprecation of _asdict().
Backed out changeset
c4ca39bece9d
Raymond Hettinger [Sat, 18 May 2013 00:14:27 +0000 (17:14 -0700)]
Deprecate nametuple._asdict()
Raymond Hettinger [Fri, 17 May 2013 23:43:58 +0000 (16:43 -0700)]
merge
Raymond Hettinger [Fri, 17 May 2013 23:43:14 +0000 (16:43 -0700)]
Update docstring for _asdict() to indicate it is obsolete.
Use the cleaner looking @property style for __dict__.
Move _replace() to be just after make() to indicate that
it is a core method on named tuples.
Benjamin Peterson [Fri, 17 May 2013 23:22:31 +0000 (18:22 -0500)]
rewrite the parsing of field names to be more consistent wrt recursive expansion
Benjamin Peterson [Fri, 17 May 2013 22:35:28 +0000 (17:35 -0500)]
merge 3.3
Victor Stinner [Fri, 17 May 2013 22:38:43 +0000 (00:38 +0200)]
FileIO.readall(): remove trailing space from an exception message
Richard Oudkerk [Fri, 17 May 2013 22:34:42 +0000 (23:34 +0100)]
Issue #15758: Fix FileIO.readall() so it no longer has O(n**2) complexity.
Benjamin Peterson [Fri, 17 May 2013 22:34:30 +0000 (17:34 -0500)]
only recursively expand in the format spec (closes #17644)
Benjamin Peterson [Fri, 17 May 2013 16:33:26 +0000 (11:33 -0500)]
reset __class__, so multiple runs don't fail (closes #17999)
Raymond Hettinger [Fri, 17 May 2013 10:24:54 +0000 (03:24 -0700)]
merge
Raymond Hettinger [Fri, 17 May 2013 10:01:13 +0000 (03:01 -0700)]
Issue #17563: Fix dict resize performance regression.
Raymond Hettinger [Fri, 17 May 2013 09:29:27 +0000 (02:29 -0700)]
merge
Raymond Hettinger [Fri, 17 May 2013 09:28:33 +0000 (02:28 -0700)]
Remove unnecessary exception handler.
Raymond Hettinger [Fri, 17 May 2013 09:24:18 +0000 (02:24 -0700)]
merge
Raymond Hettinger [Fri, 17 May 2013 09:23:16 +0000 (02:23 -0700)]
Ignore Mac OS X entries for .DS_Store
Serhiy Storchaka [Fri, 17 May 2013 07:49:44 +0000 (10:49 +0300)]
Issue #14596: The struct.Struct() objects now use more compact implementation.
Serhiy Storchaka [Fri, 17 May 2013 07:18:40 +0000 (10:18 +0300)]
Fix some bugs in Tools/scripts/abitype.py.
Serhiy Storchaka [Fri, 17 May 2013 07:17:43 +0000 (10:17 +0300)]
Fix some bugs in Tools/scripts/abitype.py.
Benjamin Peterson [Fri, 17 May 2013 00:38:48 +0000 (19:38 -0500)]
merge 3.3
Benjamin Peterson [Fri, 17 May 2013 00:38:22 +0000 (19:38 -0500)]
move definition to top of block
Victor Stinner [Thu, 16 May 2013 22:12:04 +0000 (00:12 +0200)]
Fix compilater warnings on Windows 64-bit
Victor Stinner [Thu, 16 May 2013 22:04:56 +0000 (00:04 +0200)]
Fix a compilater warning on Windows 64-bit
Vinay Sajip [Thu, 16 May 2013 21:57:02 +0000 (22:57 +0100)]
Issue #17981: Closed socket on error in SysLogHandler.
Victor Stinner [Thu, 16 May 2013 21:48:01 +0000 (23:48 +0200)]
Fix a compilater warning on Windows 64-bit
idx variable is used for a tuple indexn so use Py_ssize_t (not int).
Vinay Sajip [Thu, 16 May 2013 22:02:54 +0000 (23:02 +0100)]
Closes #17981: Merged fix from 3.3.
Benjamin Peterson [Thu, 16 May 2013 20:33:00 +0000 (15:33 -0500)]
make GCC complain about declarations not at the top of blocks
Benjamin Peterson [Thu, 16 May 2013 20:30:09 +0000 (15:30 -0500)]
merge 3.3
Benjamin Peterson [Thu, 16 May 2013 20:29:44 +0000 (15:29 -0500)]
C89 declaration compliance
Victor Stinner [Thu, 16 May 2013 20:26:29 +0000 (22:26 +0200)]
Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function
is long, not int.
Victor Stinner [Thu, 16 May 2013 20:17:17 +0000 (22:17 +0200)]
fix compilation on Windows
Benjamin Peterson [Thu, 16 May 2013 19:37:25 +0000 (14:37 -0500)]
rather than passing locals to the class body, just execute the class body in the proper environment
Brian Curtin [Thu, 16 May 2013 17:03:40 +0000 (12:03 -0500)]
Merge with 3.3
Brian Curtin [Thu, 16 May 2013 16:59:29 +0000 (11:59 -0500)]
Add Nick Sloan for his contribution to #17732
Giampaolo Rodola' [Thu, 16 May 2013 13:21:53 +0000 (15:21 +0200)]
Issue #17992: Add timeouts to asyncore and asynchat tests so that they won't accidentally hang.
Giampaolo Rodola' [Thu, 16 May 2013 13:12:01 +0000 (15:12 +0200)]
ftplib tests: provide a global socket's TIMEOUT variable and use it everywhere so that failing tests won't accidentally hang
Benjamin Peterson [Wed, 15 May 2013 21:18:51 +0000 (16:18 -0500)]
null mege 3.3 with fix not applicable here
Benjamin Peterson [Wed, 15 May 2013 21:17:25 +0000 (16:17 -0500)]
complain about "global __class__" in a class body (closes #17983)
Benjamin Peterson [Wed, 15 May 2013 20:26:42 +0000 (15:26 -0500)]
hide the __class__ closure from the class body (#12370)
Georg Brandl [Wed, 15 May 2013 17:43:15 +0000 (19:43 +0200)]
null-merge from 3.3
Georg Brandl [Wed, 15 May 2013 17:42:39 +0000 (19:42 +0200)]
post-release update.
doko@ubuntu.com [Wed, 15 May 2013 16:08:03 +0000 (18:08 +0200)]
- Fix typos in the multiprocessing module.
doko@ubuntu.com [Wed, 15 May 2013 16:06:56 +0000 (18:06 +0200)]
- Fix typos in the multiprocessing module.
doko@ubuntu.com [Wed, 15 May 2013 16:04:50 +0000 (18:04 +0200)]
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
doko@ubuntu.com [Wed, 15 May 2013 16:02:13 +0000 (18:02 +0200)]
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
doko@ubuntu.com [Wed, 15 May 2013 16:00:05 +0000 (18:00 +0200)]
Misc/NEWS: Add 3.3.3 section and move entries made after the 3.3.2 release
to the new section.
Benjamin Peterson [Wed, 15 May 2013 03:32:34 +0000 (22:32 -0500)]
null merge 3.3 from backport
Benjamin Peterson [Wed, 15 May 2013 03:31:26 +0000 (22:31 -0500)]
when arguments are cells clear the locals slot (backport of #17927)
Antoine Pitrou [Tue, 14 May 2013 18:37:52 +0000 (20:37 +0200)]
Backout
c89febab4648 following private feedback by Guido.
(Issue #17807: Generators can now be finalized even when they are part of a reference cycle)
Barry Warsaw [Tue, 14 May 2013 15:38:38 +0000 (11:38 -0400)]
- Issue #17977: The documentation for the cadefault argument's default value
in urllib.request.urlopen() is fixed to match the code.
Barry Warsaw [Tue, 14 May 2013 15:35:16 +0000 (11:35 -0400)]
- Issue #17977: The documentation for the cadefault argument's default value
in urllib.request.urlopen() is fixed to match the code.
Benjamin Peterson [Tue, 14 May 2013 00:56:35 +0000 (19:56 -0500)]
merge 3.3 (#17968)
Benjamin Peterson [Tue, 14 May 2013 00:55:40 +0000 (19:55 -0500)]
prevent double free in cleanup code (#17968)