Commit Graph

81417 Commits

Author SHA1 Message Date
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
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 6fd25c39c4 Issue #19392: Document that imp.reload() now relies on __loader__
being defined on top of __name__.
2013-10-25 13:46:15 -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
Serhiy Storchaka 9da33ab193 Issue #19287: Fixed the "in" operator of dbm.ndbm databases for string
argument.  Original patch by Arfrever Frehtes Taifersar Arahesis.
2013-10-24 23:59:28 +03:00
Antoine Pitrou 7cb11fa890 Close #19379: Lazily import linecache in the warnings module, to make startup with warnings faster until a warning gets printed. 2013-10-24 22:23:42 +02:00
Serhiy Storchaka f740d467bf Issue #19369: Optimized the usage of __length_hint__(). 2013-10-24 23:19:51 +03:00
Serhiy Storchaka 8b150ecfc9 Issue #19327: Fixed the working of regular expressions with too big charset. 2013-10-24 22:04:37 +03:00
Serhiy Storchaka be80fc9a84 Issue #19327: Fixed the working of regular expressions with too big charset. 2013-10-24 22:02:58 +03:00
Peter Moody e5019d5183 #17400: correct handling of 100.64.0.0/10, fixing the docs and updating NEWS 2013-10-24 09:47:10 -07:00
Senthil Kumaran a46079e853 merge from 3.3: Increase the test coverage of macurl2path module. Patch by Colin Williams. 2013-10-23 21:55:35 -07:00
Senthil Kumaran b82a3dc240 Increase the coverage of macurl2path. Patch by Colin Williams. 2013-10-23 21:50:56 -07:00
Antoine Pitrou dfea31254b Issue #19360: fix test_site when Python is installed into $HOME/.local 2013-10-23 22:03:45 +02:00
Antoine Pitrou a1782e1be8 Issue #19360: fix test_site when Python is installed into $HOME/.local 2013-10-23 22:03:22 +02:00
Serhiy Storchaka 9c15ec1ce6 Issue #19365: Optimized the parsing of long replacement string in re.sub*()
functions.
2013-10-23 22:27:52 +03:00
Antoine Pitrou 4d397008cd Issue #19356: Avoid using a C variabled named "_self", it's a reserved word in some C compilers. 2013-10-23 19:21:55 +02:00
Antoine Pitrou 09fcb72048 Issue #19356: Avoid using a C variabled named "_self", it's a reserved word in some C compilers. 2013-10-23 19:20:21 +02:00
Antoine Pitrou 6c6b3f770d Issue #19352: Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv). 2013-10-23 19:15:05 +02:00
Antoine Pitrou d5d0bc35ad Issue #19352: Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv). 2013-10-23 19:11:29 +02:00
Antoine Pitrou 3d3e1ba8ac Issue #19340: Fix test_sysconfig when Python is built with an empty prefix.
Patch by Sunny K.
2013-10-23 19:08:07 +02:00
Antoine Pitrou dde25c4851 Issue #19340: Fix test_sysconfig when Python is built with an empty prefix.
Patch by Sunny K.
2013-10-23 19:07:40 +02:00
Victor Stinner 3dd263faab Close #19345: fix typo 2013-10-23 18:54:43 +02:00
Larry Hastings ef3b1fbb2b Two small, quick bugfixes for Argument Clinic. 2013-10-22 23:26:23 -07:00
Eric Snow 0db06a1c42 [Issue #19357] Ensure module "loaded" during tests gets forgotten. 2013-10-22 23:46:53 -06:00
Eric Snow 776b888071 [Issue #19357] Ensure module "loaded" during tests gets forgotten. 2013-10-22 23:27:42 -06:00
Peter Moody be9c1b133b #17400: fix documentation, add cache to is_global and correctly handle 100.64.0.0/10 2013-10-22 12:36:21 -07:00
Tim Golden a4df90ceb9 Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers) 2013-10-22 20:03:47 +01:00
Tim Golden 27a856495e Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers) 2013-10-22 19:27:34 +01:00
Larry Hastings d0a7e67804 Merge 3.4.0a4 release head back into trunk. 2013-10-22 10:49:20 -07:00
Larry Hastings e0d9a1c8bc Post-release updates for 3.4.0a4. 2013-10-22 10:44:35 -07:00