Commit graph

15614 commits

Author SHA1 Message Date
Brett Cannon
a04dbe4fe7 Issue #17621: Introduce importlib.util.LazyLoader. 2014-04-04 13:53:38 -04:00
Giampaolo Rodola'
f22b2f0cf4 update Misc/NEWS 2014-04-04 17:17:36 +02:00
Brett Cannon
e7ef805833 merge of fix for issue #20942 2014-04-04 10:03:42 -04:00
Brett Cannon
18fc4e70f3 Issue #20942: PyImport_ImportFrozenModuleObject() no longer sets
__file__.

This causes _frozen_importlib to no longer have __file__ set as well
as any frozen module imported using imp.init_frozen() (which is
deprecated).
2014-04-04 10:01:46 -04:00
Serhiy Storchaka
bcc174615c Issue #20636: Improved the repr of Tkinter widgets. 2014-04-04 15:45:02 +03:00
Serhiy Storchaka
578c9211d6 Issue #19505: The items, keys, and values views of OrderedDict now support
reverse iteration using reversed().
2014-04-04 15:19:36 +03:00
Vinay Sajip
3d1e2e4cbb Closes #21149: Improved thread-safety in logging cleanup during interpreter shutdown. 2014-04-04 10:57:25 +01:00
Vinay Sajip
156307bfd6 Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown. 2014-04-04 10:51:49 +01:00
Benjamin Peterson
d818fc9205 merge 3.4 (#21134) 2014-04-02 12:16:55 -04:00
Benjamin Peterson
9b09ba1234 bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134) 2014-04-02 12:15:06 -04:00
Benjamin Peterson
18395290c3 merge 3.4 (#21082) 2014-04-01 19:21:57 -04:00
Benjamin Peterson
9dc203fff9 merge 3.3 (#21082) 2014-04-01 19:18:48 -04:00
Benjamin Peterson
4717e2112b merge 3.2 (#21082) 2014-04-01 19:17:57 -04:00
Benjamin Peterson
ee5f1c13d1 remove directory mode check from makedirs (closes #21082) 2014-04-01 19:13:18 -04:00
Benjamin Peterson
a8768336d0 merge 3.4 2014-03-30 20:34:30 -04:00
Benjamin Peterson
f5bdfda270 merge 3.3 2014-03-30 20:34:20 -04:00
Benjamin Peterson
aa2d085d29 merge 3.2 2014-03-30 20:34:05 -04:00
Benjamin Peterson
8aef28a5d0 add Ian Beer 2014-03-30 20:33:47 -04:00
Benjamin Peterson
af2b3f4f3e merge 3.4 2014-03-30 17:16:18 -04:00
Benjamin Peterson
ff57aefa97 update notes to talk about -X showrefcount 2014-03-30 17:16:09 -04:00
Martin v. Löwis
3da9fbbe83 Add test case for freeze. 2014-03-30 21:32:03 +02:00
Martin v. Löwis
669b095031 Merge 3.4 (#16047) 2014-03-30 21:15:26 +02:00
Martin v. Löwis
c00d39e96a Issue #16047: Fix module exception list and __file__ handling in freeze.
Patch by Meador Inge.
2014-03-30 21:07:25 +02:00
Martin v. Löwis
6e50ccd303 Merge 3.4: Issue #11824: Consider ABI tags in freeze. Patch by Meador Inge. 2014-03-30 20:29:56 +02:00
Martin v. Löwis
a7fcd926e8 Issue #11824: Consider ABI tags in freeze. Patch by Meador Inge. 2014-03-30 20:28:52 +02:00
Martin v. Löwis
80c09cfa49 Add test case for freeze. 2014-03-30 20:18:58 +02:00
Ned Deily
13399445e3 Issue #20022: Eliminate use of deprecated bundlebuilder in OS X builds. 2014-03-29 23:54:15 -07:00
Eric Snow
f269cc6b14 Issue #21097: Move test_namespace_pkgs into test_importlib. 2014-03-29 15:57:44 -06:00
Eric Snow
c4bbd7a492 Issue #21097: Move test_namespace_pkgs into test_importlib. 2014-03-29 15:57:44 -06:00
Ned Deily
2819718ee7 Issue #21093: merge from 3.4 2014-03-29 00:09:56 -07:00
Ned Deily
c420343c0c Issue #21093: Prevent failures of ctypes test_macholib on OS X if a
copy of libz exists in $HOME/lib or /usr/local/lib.
2014-03-29 00:08:44 -07:00
Eric Snow
e50f9aa4bd Issue #19697: Document cases where __main__.__spec__ is None. 2014-03-28 18:10:33 -06:00
Eric Snow
03fd2ea447 Issue #19697: Document cases where __main__.__spec__ is None. 2014-03-28 18:10:33 -06:00
Ned Deily
c318288f69 Issue #17654: merge from 3.4 2014-03-27 20:51:15 -07:00
Ned Deily
b7601676b0 Issue #17654: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.
2014-03-27 20:49:14 -07:00
Ned Deily
090eb1fd18 Issue #6676: merge from 3.4 2014-03-27 16:44:06 -07:00
Ned Deily
e7d532fbc9 Issue #6676: Ensure a meaningful exception is raised when attempting
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
2014-03-27 16:39:58 -07:00
Yury Selivanov
dccfa13cdb inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.
Patch by Jeremiah Lowin. Closes #20817.
2014-03-27 18:42:52 -04:00
Yury Selivanov
2542b66bb0 inspect: Fix getcallargs() to fail correctly if more than 3 args are missing.
Patch by Jeremiah Lowin. Closes #20817.
2014-03-27 18:42:52 -04:00
Yury Selivanov
875df20e8a inspect: Fix getcallargs() to raise correct TypeError
... for missing keyword-only arguments. Patch by Jeremiah Lowin.
Closes #20816.
2014-03-27 18:23:03 -04:00
Yury Selivanov
b1d060bf8b inspect: Fix getcallargs() to raise correct TypeError
... for missing keyword-only arguments. Patch by Jeremiah Lowin.
Closes #20816.
2014-03-27 18:23:03 -04:00
Yury Selivanov
374375dd26 inspect.signature: Improve repr of Signature and Parameter. Closes #20378 2014-03-27 12:41:53 -04:00
Yury Selivanov
00abf385ac asyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668 2014-03-27 12:21:20 -04:00
Yury Selivanov
722e2489bb asyncio.tests: Autodiscover asyncio tests. Patch by Vajrasky Kok. Closes #20668 2014-03-27 12:21:20 -04:00
Yury Selivanov
da39645ad3 inspect.Signature: Add 'Signature.from_callable' classmethod. Closes #17373 2014-03-27 12:09:24 -04:00
Yury Selivanov
a5d63dd7b8 inspect.signature: Make Signature and Parameter picklable. Closes #20726 2014-03-27 11:31:43 -04:00
Yury Selivanov
21e83a5564 inspect.signature: Use enum for parameter kind constants. Closes #19573
Patch by Antony Lee.
2014-03-27 11:23:13 -04:00
Ned Deily
c74e48566f Issue #20939: merge from 3.4 2014-03-26 23:33:28 -07:00
Ned Deily
5a507f0f05 Issue #20939: Use www.example.com instead of www.python.org to avoid test
failures when ssl is not present.
2014-03-26 23:31:39 -07:00
R David Murray
ef1c26798c backport: #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.
Previously a non-string, non-regex second argument and missing callable
argument could cause the test to appear to always pass.

Initial patch by Kamilla Holanda.
2014-03-25 15:31:50 -04:00