Commit Graph

56191 Commits

Author SHA1 Message Date
Barry Warsaw 0efcf99c9e abc fixes. 2012-07-31 17:52:32 -04:00
Barry Warsaw 38f75cbc00 Typo. 2012-07-31 16:39:43 -04:00
Barry Warsaw dbdc3db534 - Issue #15295: Reorganize and rewrite the documentation on the import system. 2012-07-31 16:10:12 -04:00
Barry Warsaw 9a5af1288d merge 2012-07-31 16:03:25 -04:00
Barry Warsaw dadebab42c Finally, a coherent set of terminology for all the lil' beasties involved. 2012-07-31 16:03:09 -04:00
Andrew Svetlov 233f6845b3 Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
2012-07-31 19:49:38 +03:00
Andrew Svetlov 06c5c6d694 Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
2012-07-31 19:48:00 +03:00
Eli Bendersky dfd72bbc4d Issue #14814: fix some typos in howto/ipaddress.rst 2012-07-31 17:25:33 +03:00
Eli Bendersky 0e49749f31 Issue #14814: reorganize ipaddress documentation and document all attributes of IPv[46]Address objects 2012-07-31 17:23:11 +03:00
Nick Coghlan 336d9ac6bd Issue #15425: Don't rely on the assumption that the current working directory is on sys.path (this will hopefully appease the XP buildbots) 2012-07-31 21:39:42 +10:00
Nick Coghlan 42c0766a53 Close #15486: Simplify the mechanism used to remove importlib frames from tracebacks when they just introduce irrelevant noise 2012-07-31 21:14:18 +10:00
Eli Bendersky 73a74dad3f Issue #15231: rephrase the last paragraph slightly 2012-07-31 06:14:59 +03:00
Victor Stinner 1713f9ae5e Update the string limit in the faulthandler documentations 2012-07-31 03:25:28 +02:00
Victor Stinner d5698cbbca Fix initialization of the faulthandler module
faulthandler requires the importlib if "-X faulthandler" option is present on
the command line, so initialize faulthandler after importlib.

Add also an unit test.
2012-07-31 02:55:49 +02:00
Brett Cannon 60622ed12a Minor markup tweak. 2012-07-30 19:31:00 -04:00
Brett Cannon 73df364ee6 Add a versionchanged mention to __import__ in regards to negative level values. 2012-07-30 18:35:17 -04:00
Brett Cannon 722d3aec2e Issue #15508: Fix the docstring for __import__ to not mention negative
'level' values and set its document default value to 0.

Thanks to Arfrever Frehtes Taifersar Arahesis for filing the bug.
2012-07-30 17:45:54 -04:00
Barry Warsaw cbc4c1930f Another XXX. 2012-07-30 16:57:20 -04:00
Barry Warsaw c1e721b979 Address substantially all of Eric Snow's comments in issue #15295, except for
those which now have additional XXX's here.  I'll get to those later. :)
2012-07-30 16:24:12 -04:00
Barry Warsaw 38732ea832 merge 2012-07-30 14:34:43 -04:00
Andrew Svetlov 504ba313fc Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog. 2012-07-30 20:01:13 +03:00
Andrew Svetlov 1fb0e3f3a2 Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog. 2012-07-30 19:59:53 +03:00
Antoine Pitrou 754d5ef8da Better test for BytesIO.__sizeof__, now that the struct module supports (s)size_t.
Followup to issue #15489.
2012-07-30 13:58:42 +02:00
Ned Deily f2fdd31e2b merge 2012-07-30 04:20:51 -07:00
Ned Deily 79a348ad64 null merge 2012-07-30 04:14:18 -07:00
Ned Deily 3b796680c3 Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs. 2012-07-30 04:09:32 -07:00
Victor Stinner 54f939b9ae Issue #15463: the faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths
2012-07-30 13:08:58 +02:00
Ned Deily eb00d09718 Issue #14018: merge 2012-07-30 03:38:02 -07:00
Ned Deily c556c64405 Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
2012-07-30 03:31:21 -07:00
Ned Deily 2910a7ba6b Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Also add tests in the OS X installer build to ensure that the desired
dynamic linking with an optional newer Tcl/Tk in /Library actually
happens.
2012-07-30 02:35:58 -07:00
Ned Deily 5d6aeb8d99 Fix invalid UTF-8 encoding in commit message. 2012-07-30 02:34:03 -07:00
Antoine Pitrou 57911f6c1a Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
2012-07-30 00:01:44 +02:00
Antoine Pitrou 8f328d0c1d Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
2012-07-30 00:01:06 +02:00
Barry Warsaw dee609c09f merged 2012-07-29 16:40:04 -04:00
Barry Warsaw dde56f4aa3 Add NEWS 2012-07-29 16:37:33 -04:00
Barry Warsaw d7d2194ea1 Integration of importdocs from the features/pep-420 repo. 2012-07-29 16:36:17 -04:00
Antoine Pitrou a264384fe6 Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
2012-07-29 19:04:57 +02:00
Antoine Pitrou 10f0c50a0b Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
2012-07-29 19:02:46 +02:00
Martin v. Löwis 2b16844326 Issue #15467: Merge 3.2 2012-07-29 16:38:45 +02:00
Martin v. Löwis 33f799725c Issue #15467: Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.
2012-07-29 16:33:05 +02:00
Nick Coghlan 5ee9892406 Close #15425: Eliminate more importlib related traceback noise 2012-07-29 20:30:36 +10:00
Meador Inge bb9b1c165d Issue #15402: Simplify Struct.__sizeof__ and make tests more precise. 2012-07-28 22:32:50 -05:00
Meador Inge 90bc2dbcce Issue #15402: Simplify Struct.__sizeof__ and make tests more precise. 2012-07-28 22:16:39 -05:00
Martin v. Löwis dbf616d9c3 Issue #15431: Drop _freeze_importlib from all build configurations,
to prevent constant regeneration of importlib.h.
2012-07-28 21:59:05 +02:00
Martin v. Löwis ee365ac254 Issue #15431: Declare PyImport_FrozenModules conditionally on Unix only. 2012-07-28 21:55:20 +02:00
Martin v. Löwis e3010a8d12 Issue #14578: Support modules registered in the Windows registry again.
Patch by Amaury Forgeot d'Arc.
2012-07-28 21:33:05 +02:00
Martin v. Löwis 96d97ec9c0 Issue #15431: Add _freeze_importlib project to regenerate importlib.h on Windows.
Patch by Kristján Valur Jónsson.
2012-07-28 20:46:52 +02:00
Martin v. Löwis 79b7ea1629 Commit unsaved edits. 2012-07-28 19:51:41 +02:00
Martin v. Löwis 7e39572aa8 Issue #15466: Stop using TYPE_INT64 in marshal,
to make importlib.h (and other byte code files) equal between 32-bit
and 64-bit systems.
2012-07-28 19:44:05 +02:00
Richard Oudkerk 5562d9dc5d Issue #1692335: Move initial args assignment to BaseException.__new__
to help pickling of naive subclasses.
2012-07-28 17:45:28 +01:00