Giampaolo Rodola'
80e1c43ddf
Fix issue #17996 : expose socket.AF_LINK constant on BSD and OSX.
2013-05-21 21:02:04 +02:00
R David Murray
b3a579223e
merge #17973 : fix technical inaccuracy in faq entry (it now passes doctest).
2013-05-21 11:45:09 -04:00
R David Murray
95ae99205e
#17973 : fix technical inaccuracy in faq entry (it now passes doctest).
2013-05-21 11:44:41 -04:00
Serhiy Storchaka
3ee6dabf5b
Issue #17900 : Allowed pickling of recursive OrderedDicts. Decreased pickled
...
size and pickling time.
2013-05-21 12:47:57 +03:00
Charles-François Natali
b10c71daa2
Backed out changeset c0f2b038fc12
2013-05-21 10:45:46 +02:00
Charles-François Natali
c7c333d25d
Issue #17683 : socket module: return AF_UNIX addresses in Linux abstract
...
namespace as string.
2013-05-21 09:49:18 +02:00
Roger Serwy
87ff387254
#14146 : merge with 3.3.
2013-05-20 22:16:53 -05:00
Roger Serwy
caf3024fa6
#14146 : Highlight source line while debugging on Windows.
2013-05-20 22:13:39 -05:00
Vinay Sajip
067e48b7d8
Closes #17743 : Merged fix from 3.3.
2013-05-20 15:39:11 -07:00
Vinay Sajip
bfc8f26ec2
Issue #17743 : Now use extended syntax of set command in .bat files.
2013-05-20 15:38:12 -07:00
Vinay Sajip
1eae2237e1
Closes #17744 : Merged fix from 3.3.
2013-05-20 15:30:10 -07:00
Vinay Sajip
e254751a63
Issue #17744 : Now unset VIRTUAL_ENV environment variable when deactivating.
2013-05-20 15:28:52 -07:00
Ned Deily
de88c0d2f2
Issue #18026 : merge
2013-05-20 14:32:06 -07:00
Ned Deily
ea3cfc5f34
Issue #18026 : fix ctypes doc typo
2013-05-20 14:29:44 -07:00
Benjamin Peterson
8d89c2aaba
change AST codegen to use PyModule_AddIntMacro
2013-05-20 10:28:48 -07:00
Charles-Francois Natali
74ca886788
Issue #17917 : Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()
...
when applicable.
2013-05-20 19:13:19 +02:00
Charles-Francois Natali
d66b10e165
Issue #17684 : Fix some test_socket failures due to limited FD passing support
...
on OS-X. Patch by Jeff Ramnani.
2013-05-20 19:08:19 +02:00
Charles-Francois Natali
7c4f8dacf4
Issue #17914 : We can now inline _bsd_cpu_count().
2013-05-20 17:40:32 +02:00
Charles-Francois Natali
d59087de5b
Issue #17914 : Remove OS-X special-case, and use the correct int type.
2013-05-20 17:31:06 +02:00
Benjamin Peterson
cc00e01fad
test that the compiler support -Werror=statement-after-declaration before using it
2013-05-20 08:22:04 -07:00
R David Murray
63f72908a1
Merge #17973 : Add FAQ entry for ([],)[0] += [1] both extending and raising.
2013-05-20 10:33:27 -04:00
R David Murray
bcf06d364d
#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.
2013-05-20 10:32:46 -04:00
Andrew Kuchling
2a9c8e8cd3
#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.
2013-05-20 10:14:53 -04:00
Charles-Francois Natali
44feda3cd0
Issue #17914 : Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an
...
initial patch by Trent Nelson.
2013-05-20 14:40:46 +02:00
Ezio Melotti
93c6770c72
#14097 : merge with 3.3.
2013-05-20 08:14:14 +03:00
Ezio Melotti
86aecc360f
#14097 : improve the "introduction" page of the tutorial.
2013-05-20 08:12:32 +03:00
Benjamin Peterson
d2cef8a204
merge 3.3
2013-05-19 19:39:46 -07:00
Benjamin Peterson
611d901289
add recursive repr test
2013-05-19 19:39:38 -07:00
Eli Bendersky
a369923cab
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.
2013-05-19 18:47:23 -07:00
Eli Bendersky
e26fa1bdcb
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.
2013-05-19 17:49:54 -07:00
Eli Bendersky
3a36756ba1
Issue #17989 : fix typo in error message
2013-05-19 17:00:28 -07:00
Eli Bendersky
6a55dc3b4a
Issue #17989 : fix typo in error message
2013-05-19 16:59:59 -07:00
Eli Bendersky
8687245e27
normalize whitespace
2013-05-19 09:27:13 -07:00
Eli Bendersky
e6a951b83e
Cleanup even more dead code
2013-05-19 09:25:52 -07:00
Eli Bendersky
c4e98a6a9b
Cleanup more old ET library leftovers
2013-05-19 09:24:43 -07:00
Eli Bendersky
46955b2d30
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
2013-05-19 09:20:50 -07:00
Eli Bendersky
fb625448f8
Clarify docs too: events can be any sequence (not that the C code supports it)
2013-05-19 09:09:24 -07:00
Eli Bendersky
3a4fbd8241
_elementtree.XMLParser._setevents should support any sequence, not just tuples
...
Also clean up some code around this
2013-05-19 09:01:49 -07:00
Antoine Pitrou
5b6616dee3
Try to make test more reliable (saw some sporadic failures on buildbots)
2013-05-19 15:55:59 +02:00
Antoine Pitrou
dc49b2b88c
Try to make test more reliable (saw some sporadic failures on buildbots)
2013-05-19 15:55:40 +02:00
Antoine Pitrou
c52d113e28
Issue #11995 : test_pydoc doesn't import all sys.path modules anymore.
2013-05-19 15:46:37 +02:00
Antoine Pitrou
916fc7bf28
Issue #11995 : test_pydoc doesn't import all sys.path modules anymore.
2013-05-19 15:44:54 +02:00
Serhiy Storchaka
87aa7dc211
Issue #17812 : Fixed quadratic complexity of base64.b32encode().
...
Optimize base64.b32encode() and base64.b32decode() (speed up to 3x).
2013-05-19 11:49:32 +03:00
Serhiy Storchaka
2c3f2f19df
Issue #17812 : Fixed quadratic complexity of base64.b32encode().
2013-05-19 11:41:15 +03:00
Antoine Pitrou
fef34e3186
Issue #17937 : Try harder to collect cyclic garbage at shutdown.
2013-05-19 01:11:58 +02:00
Eli Bendersky
20c1cdd64a
Issue #17901 : fix TreeBuilder construction for an explicit element_factory=None
...
Based on report and patch by Aaron Oakley.
2013-05-18 15:47:58 -07:00
Eli Bendersky
08231a9c6a
Issue #17901 : fix TreeBuilder construction for an explicit element_factory=None
...
Based on report and patch by Aaron Oakley.
2013-05-18 15:47:16 -07:00
Vinay Sajip
10e8c49a11
Re-enabled skipped test.
2013-05-18 10:19:54 -07:00
Richard Oudkerk
850800f15e
Merge.
2013-05-18 18:13:16 +01:00
Richard Oudkerk
90a24270f8
Close file before reopening to keep Windows happy in test_sax.
2013-05-18 18:11:30 +01:00