Serhiy Storchaka
68457be619
Issue #19329 : Optimized compiling charsets in regular expressions.
2013-10-27 08:20:29 +02:00
Serhiy Storchaka
1985f7b133
Issue #19405 : Fixed outdated comments in the _sre module.
2013-10-27 08:07:46 +02:00
Ned Deily
b9dcfea092
Issue Issue #15663 : merge from 3.3
2013-10-26 22:23:20 -07:00
Nick Coghlan
624a74e4b7
Mitigate #19412 : restore test skips for --without-doc-strings
2013-10-27 14:19:12 +10:00
Benjamin Peterson
77353664e2
merge 3.3 ( #19393 )
2013-10-26 13:22:08 -04:00
Tim Peters
a577f1e0f1
Changed a comment to end grammar bikeshedding ;-)
2013-10-26 11:56:16 -05:00
Nick Coghlan
367df12044
Assorted 3.4 What's New updates
...
- cross-references and attributions for inspect changes
- note improvements to inspect and pydoc handling of
metaclasses and dynamic attributes (courtesy of the
enum PEP)
- group all CPython implementation specific changes
into a common section
- add see also links for most of the PEPs
- fix the see also link for the release PEP
- add suitable caveats on Argument Clinic inclusion
- clarify the change to __wrapped__ handling
2013-10-27 01:57:34 +10:00
Nick Coghlan
862542e500
Close #19409 : add missing import in pkgutil
2013-10-27 00:27:39 +10:00
Nick Coghlan
561eb5cbe4
Issue #19330 : Handle the no-docstrings case in tests
2013-10-26 22:20:43 +10:00
Ned Deily
40820f8fba
null merge
2013-10-26 03:27:24 -07:00
Ned Deily
f87cfce450
Issue #15663 : OS X installer builtin Tcl/Tk support
...
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter. This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH. If this
proves useful, we can supply a more convenient user interface
to supply the paths. For now, this remains somewhat experimental.
2013-10-26 03:17:44 -07:00
Serhiy Storchaka
8444ebbd72
Issue #18685 : Extract template part of _sre.c into separated sre_lib.h file.
2013-10-26 11:18:42 +03:00
Nick Coghlan
059def58a5
Close #19330 by using public classes in contextlib
...
- added test cases to ensure docstrings are reasonable
- also updates various comments in contextlib for accuracy
- identifed #19404 as an issue making it difficult to provide
good help output on generator based context manager instances
2013-10-26 18:08:15 +10:00
Serhiy Storchaka
9eabac68a3
Issue #18685 : Restore re performance to pre-PEP 393 levels.
2013-10-26 10:45:48 +03:00
Serhiy Storchaka
ffb58e96f1
Move Misc/NEWS entries in correct secton.
2013-10-26 10:42:09 +03:00
Victor Stinner
ebca392a6c
(Merge 3.3) Close #19339 : telnetlib module is now using time.monotonic() when
...
available to compute timeout.
2013-10-26 09:20:38 +02:00
Nick Coghlan
0ddaed3456
Close #19396 : make test_contextlib tolerate -S
2013-10-26 16:37:47 +10:00
Tim Peters
7bad39f174
Fiddled Thread.join() to be a little simpler. Kinda ;-)
2013-10-25 22:33:52 -05:00
Tim Peters
e5bb0bf04d
Issue #19399 : fix sporadic test_subprocess failure.
...
Change Thread.join() with a negative timeout to just return. The
behavior isn't documented then, but this restores previous
behavior.
2013-10-25 20:46:51 -05:00
Ned Deily
bdb61387b7
null merge
2013-10-25 16:05:08 -07:00
Tim Golden
1cc3540669
Correct whitespace in test_os
2013-10-25 21:26:06 +01:00
Tim Golden
0fb23a23f1
Issue13234 Credit Santoso for the patch and add NEWS item
2013-10-25 21:21:20 +01:00
Tim Golden
781bbebacb
Issue13234 Allow listdir to handle extended paths on Windows (Patch by Santoso Wijaya)
2013-10-25 20:24:06 +01:00
Brett Cannon
502834cf3c
merge
2013-10-25 15:45:42 -04:00
Brett Cannon
a20800d1d9
test_resource should not assume all attributes are available when they
...
are individually controlled by #ifdef statements in the extension
code.
2013-10-25 15:45:25 -04:00
Antoine Pitrou
3b2f0f0459
Issue #19375 : The site module adding a "site-python" directory to sys.path, if it exists, is now deprecated.
2013-10-25 21:39:26 +02:00
Brett Cannon
e38b0544c4
Issue #16803 : Move test.test_importlib.extension to use both frozen and source importlib code
2013-10-25 15:39:02 -04:00
Antoine Pitrou
79aa68dfc1
Issue #19387 : explain and test the sre overlap table
2013-10-25 21:36:10 +02:00
Brett Cannon
6a4cbc00ab
merge
2013-10-25 13:53:06 -04:00
Brett Cannon
8ad37860c9
Tweak some doc wording for importlib.reload
2013-10-25 13:52:46 -04:00
bquinlan
c00cf53d84
Merge.
2013-10-26 04:51:18 +11:00
bquinlan
7749cb5c35
Issue #11161 : Update the documentation for ProcessPoolExecutor to note that it will not work in the interactive shell.
2013-10-26 04:49:55 +11:00
Brett Cannon
50aa32409b
merge from 3.3
2013-10-25 13:49:20 -04:00
Brett Cannon
ffd33c290b
Issue #16803 : Have test.test_importlib.builtin test both frozen and
...
source importlib.
2013-10-25 12:44:36 -04:00
Brett Cannon
b3d6afff2b
Issue #16803 : Stop having test.test_importlib.abc ABCs inherit from
...
unittest.TestCase in prep of running tests under frozen and source
importlib.
2013-10-25 12:33:59 -04:00
Charles-François Natali
c60dd5b0d4
test_selectors: make timeout-related errors report the actual elapsed timeout.
2013-10-25 17:56:00 +02:00
Charles-François Natali
052058fa14
test_selectors: rename test_interrupted_retry() (since it doesn't actually
...
retry on EINTR).
2013-10-25 17:49:47 +02:00
Tim Golden
23005084ad
Issue4905: use INVALID_FILE_ATTRIBUTES where appropriate. (Patch by Ulrich Eckhardt)
2013-10-25 11:22:37 +01:00
Tim Golden
7d0523621c
Closes issue #19273 : clean up the pcbuild readme.txt (Patch by Zachary Ware)
2013-10-25 08:58:16 +01:00
Ned Deily
5afe6d613a
null merge with 3.3
2013-10-25 00:52:26 -07:00
Ned Deily
a4f6b006e1
Sync 2.7.x, 3.3.x, and 3.4.x versions of OS X build-installer.py.
2013-10-25 00:47:38 -07:00
Ned Deily
4b7a023149
Issue #19019 : Change the OS X installer build script to use CFLAGS instead
...
of OPT for special build options. By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
2013-10-25 00:46:02 -07:00
Ned Deily
5b3582c919
Issue #15663 : Tcl/Tk 8.5.15 is now included with the OS X 10.6+
...
64-bit/32-bit installer for 10.6+. It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
2013-10-25 00:41:46 -07:00
Ned Deily
65657c27fa
Issue #1584 : Provide options to override default search paths for Tcl and Tk
...
when building _tkinter. configure has two new options; if used, both must
be specified:
./configure \
--with-tcltk-includes="-I/opt/local/include" \
--with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"
In addition, the options can be overridden with make:
make \
TCLTK_INCLUDES="-I/opt/local/include" \
TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
2013-10-25 00:34:44 -07:00
Christian Heimes
349b04e902
Issue 19384: Fix test_py_compile for root user, patch by Claudiu Popa.
2013-10-25 09:21:51 +02:00
Christian Heimes
c4a4b346a6
Issue #16595 : prlimit() needs Linux kernel 2.6.36+
2013-10-25 08:31:19 +02:00
Christian Heimes
2bcb1f68b6
remove unused imports from statistics module
2013-10-25 02:11:17 +02:00
Serhiy Storchaka
4f056d43d6
Issue #19288 : Fixed the "in" operator of dbm.gnu databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-25 00:08:13 +03:00
Serhiy Storchaka
7d6392c517
Issue #19288 : Fixed the "in" operator of dbm.gnu databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-25 00:06:52 +03:00
Serhiy Storchaka
124a0b314b
Issue #19287 : Fixed the "in" operator of dbm.ndbm databases for string
...
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-25 00:01:25 +03:00