Commit Graph

54428 Commits

Author SHA1 Message Date
Benjamin Peterson 403bb39d1d merge heads 2012-04-06 13:20:39 -04:00
Benjamin Peterson 049208635d merge heads 2012-04-06 13:20:25 -04:00
Benjamin Peterson 161aece9d3 merge 3.2 2012-04-06 13:20:16 -04:00
Benjamin Peterson dcb89f4f09 port 3.1.5rc2 tag 2012-04-06 13:20:01 -04:00
Benjamin Peterson 718a8e8140 merge 3.1 2012-04-06 13:19:52 -04:00
Benjamin Peterson 7fddb4b2f6 Added tag v3.1.5 for changeset 7395330e495e 2012-04-06 13:17:30 -04:00
Benjamin Peterson c37a4fdf54 bump to 3.1.5 final 2012-04-06 13:17:25 -04:00
Brett Cannon d62cd5627f Issue #14500: Fix importlib.test.import_.test_packages to clean up
after itself properly.
2012-04-06 13:13:08 -04:00
Brett Cannon 83c02ee8e8 merge 2012-04-06 12:54:57 -04:00
Kristján Valur Jónsson b2e58185e5 Set a time threshold in test_asyncore.capture_server so that tests don't
deadlock if the main thread fails before sending all the data.
2012-04-06 14:37:45 +00:00
Sandro Tosi f3be68e0a8 Issue #14502: it's RuntimeError on 3.3 2012-04-06 11:15:06 +02:00
R David Murray 3861a322b9 Merge #14492: fix some bugs in Tools/scripts/pdeps.py.
Initial patch by Popa Claudiu.
2012-04-05 23:01:13 -04:00
R David Murray d3af6344ef #14492: fix some bugs in Tools/scripts/pdeps.py.
Initial patch by Popa Claudiu.
2012-04-05 22:59:13 -04:00
Benjamin Peterson e0029baba6 merge 3.2 2012-04-05 22:57:10 -04:00
Sandro Tosi e3c3f24736 merge heads 2012-04-05 22:59:41 +02:00
Victor Stinner afb5205c48 Close #14249: Use bit shifts instead of an union, it's more efficient.
Patch written by Serhiy Storchaka
2012-04-05 22:54:49 +02:00
Sandro Tosi 5d1c2f0702 Issue #14502: merge with 3.2 2012-04-05 22:53:21 +02:00
Sandro Tosi fee3fc748e Issue #14502: release() and unlocked lock generates a ThreadError 2012-04-05 22:51:54 +02:00
Raymond Hettinger 02184282c7 Clarify that the purpose of computing all the miscellaneous collection types is to register them with the appropriate ABCs. 2012-04-05 13:31:12 -07:00
Andrew Svetlov dfe980bb82 Issue #8515: Set __file__ when run file in IDLE. 2012-04-05 21:54:39 +03:00
Stefan Krah 0130ad14dd Merge. 2012-04-05 16:25:21 +02:00
Stefan Krah 4771cca817 Whitespace. 2012-04-05 16:15:25 +02:00
Stefan Krah 871b96bd5a Reduce array size. 2012-04-05 16:07:22 +02:00
Andrew Svetlov 73d2da4209 Merge from 3.2 2012-04-05 17:04:28 +03:00
Andrew Svetlov 1024541a0d Issue #14496: Fix wrong name in idlelib/tabbedpages.py.
Patch by Popa Claudiu.
2012-04-05 16:58:05 +03:00
Stefan Krah a6169484c2 Formatting. 2012-04-05 15:48:59 +02:00
Stefan Krah ff3eca0cc3 Allow printing a leading '-' and the maximum number of exponent digits
rather than raising RuntimeError (allocated space is sufficient for the
additional character).
2012-04-05 15:46:19 +02:00
Stefan Krah 0774e9b9f5 Raise InvalidOperation if exponents of zeros are clamped during exact
conversion in the Decimal constructor. Exact here refers to the
representation and not to the value (clamping does not change the value).
2012-04-05 15:21:58 +02:00
Victor Stinner e7eee01f36 Close #14249: Use an union instead of a long to short pointer to avoid aliasing
issue. Speed up UTF-16 by 20%.
2012-04-05 13:44:34 +02:00
Andrew Svetlov 20bbf54f5e Issue #3033: Add displayof parameter to tkinter font.
Patch by Guilherme Polo.
2012-04-05 12:41:20 +03:00
Georg Brandl 9a13b432e7 Replace ThreadError by RuntimeError: the former is now an obsolete alias of the latter. 2012-04-05 09:53:04 +02:00
Eli Bendersky 0069bab115 Reformat by replacing tabs with 4-spaces. Makes the code more PEP-7 compliant
and gets rid of some gross formatting on tab=4-space-configured editors.
2012-04-05 06:42:48 +03:00
Éric Araujo 4f61a2dbde A few tweaks to whatsnew/3.3 (fixes #14362) 2012-04-04 23:01:01 -04:00
Eli Bendersky 828efdea56 Replace bootstrap imports with real C API calls. 2012-04-05 05:40:58 +03:00
R David Murray b5ebf271de Merge: test_tools fix: don't import analyze_dxp if no _thread module 2012-04-04 22:38:26 -04:00
R David Murray ca60b36735 test_tools fix: don't import analyze_dxp if no _thread module 2012-04-04 22:37:50 -04:00
R David Murray ce9806215b Merge #14490, #14491: add 'sundry'-style import tests for Tools/scripts.
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running.  Also fixes the
syntax errors revealed by the tests.
2012-04-04 21:29:03 -04:00
R David Murray 54ac832a24 #14490, #14491: add 'sundry'-style import tests for Tools/scripts.
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running.  Also fixes the
syntax errors revealed by the tests.
2012-04-04 21:28:14 -04:00
Antoine Pitrou a701388de1 Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI. 2012-04-05 00:04:20 +02:00
Brett Cannon 8ac95ee62a Fix test_site from modifying sysconfig._CONFIG_VARS. 2012-04-04 17:31:16 -04:00
Georg Brandl d4dc6dc9e7 merge with 3.2 2012-04-04 20:17:27 +02:00
Georg Brandl b6046301ef Closes #14495: fix typo. 2012-04-04 20:17:06 +02:00
Eli Bendersky 08b852970e Fix Windows compilation errors 2012-04-04 15:55:07 +03:00
Matthias Klose da80b1eb2f - Issue #14493: Use gvfs-open/xdg-open in Lib/webbrowser.py. 2012-04-04 14:19:04 +02:00
Matthias Klose 597e6b4cc5 Followup for issue #14321, remove references to Parser/pgen.stamp 2012-04-04 13:20:55 +02:00
Eli Bendersky ebf37a2ffb Fixes and enhancements to _elementtree:
* Fixed refleak problems when GC collection is run (see messages in
  issue #14065)
* Added weakref support to Element objects
2012-04-03 22:02:37 +03:00
Antoine Pitrou 5c73e8eaf4 Issue #14482: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_UNIX type address under
Windows.  Patch by Popa Claudiu.
2012-04-03 20:13:45 +02:00
Antoine Pitrou 6d20cba8d6 Issue #14482: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_UNIX type address under
Windows.  Patch by Popa Claudiu.
2012-04-03 20:12:23 +02:00
R David Murray 395c879da7 Merge #14481: fix formatting of example in subprocess docs. 2012-04-03 08:47:14 -04:00
R David Murray 28b8b94760 #14481: fix formatting of example in subprocess docs. 2012-04-03 08:46:48 -04:00