Commit Graph

56538 Commits

Author SHA1 Message Date
Victor Stinner ca2b64682e Issue #15785: Modify window.get_wch() API of the curses module: return a
character for most keys, and an integer for special keys, instead of always
returning an integer. So it is now possible to distinguish special keys like
keypad keys.
2012-08-29 01:40:57 +02:00
Georg Brandl 3694401ad2 Post-release updates. 2012-08-25 21:33:08 +02:00
Georg Brandl 44ac85057e Added tag v3.3.0rc1 for changeset 8bb5c7bc46ba 2012-08-25 12:16:59 +02:00
Georg Brandl 4ab4ec258c Bump to 3.3.0rc1. 2012-08-25 12:16:37 +02:00
Georg Brandl d183f0be0b Update pydoc topics and suspicious markup file. 2012-08-25 12:14:59 +02:00
Ronald Oussoren cb460b920f Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is
compiled using the clang compiler

(merge from 3.2)
2012-08-25 11:24:00 +02:00
Ronald Oussoren 25437565f9 Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler 2012-08-25 11:19:14 +02:00
Georg Brandl cc0274b90f merge with 3.2 2012-08-25 10:12:47 +02:00
Georg Brandl c8076dfa9d Fix wrong way of adding Error information in shutil.copytree. 2012-08-25 10:11:57 +02:00
Nick Coghlan 06e1ab0a6b Close #15573: use value-based memoryview comparisons (patch by Stefan Krah) 2012-08-25 17:59:50 +10:00
Ned Deily 5c0b1ca55e Update various OS X README files for 3.3.0. 2012-08-24 19:57:33 -07:00
Brett Cannon 12c6bda4f0 Issue #15316: Let exceptions raised during imports triggered by the
fromlist of __import__ propagate.

The problem previously was that if something listed in fromlist didn't
exist then that's okay. The fix for that was too broad in terms of
catching ImportError.

The trick with the solution to this issue is that the proper
refactoring of import thanks to importlib doesn't allow for a way to
distinguish (portably) between an ImportError because finders couldn't
find a loader, or a loader raised the exception. In Python 3.4 the
hope is to introduce a new exception (e.g. ModuleNotFound) to make it
clean to differentiate why ImportError was raised.
2012-08-24 18:25:59 -04:00
Mark Dickinson 7a54d16dc5 Null merge from 3.2 2012-08-24 20:32:24 +01:00
Mark Dickinson 6f64796c22 Remove overeager test (don't depend on the sign of a nan; cf. issue #14521) 2012-08-24 20:31:33 +01:00
Vinay Sajip a6894ba3c9 Reverted change to venv initialisation. 2012-08-24 20:01:02 +01:00
Mark Dickinson 3bb6318ac6 Null merge 2012-08-24 19:51:32 +01:00
Mark Dickinson 448f57762d Remove incorrect lines (meant for cdecimal) from recently added Decimal tests. 2012-08-24 19:51:00 +01:00
Mark Dickinson 451097737b Null merge from 3.2. 2012-08-24 19:40:25 +01:00
Mark Dickinson e4204bcfb7 Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 2012-08-24 19:32:13 +01:00
Stefan Krah 029780be09 Issue #13072: The array module's 'u' format code is now deprecated and
will be removed in Python 4.0.
2012-08-24 20:14:12 +02:00
Antoine Pitrou 8d649ef951 Merge 2012-08-24 19:51:09 +02:00
Mark Dickinson fc33d4ce0a Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 2012-08-24 18:53:10 +01:00
Antoine Pitrou 0ac0b11ec1 Add glossary references 2012-08-24 19:50:43 +02:00
Antoine Pitrou 15251a99bb Add glossary references 2012-08-24 19:49:08 +02:00
Antoine Pitrou cb0ec7dc42 Merge 2012-08-24 19:47:02 +02:00
Brett Cannon ba0a3edd26 Issue #2051: Tweak last commit for this issue to pass in mode instead
of source path to set_data() and make the new argument private until
possible API changes can be discussed more thoroughly in Python 3.4.
2012-08-24 13:48:39 -04:00
Antoine Pitrou cbf9d5f6cd Issue #14674: Add a discussion of the json module's standard compliance.
Patch by Chris Rebert.
2012-08-24 19:39:47 +02:00
Antoine Pitrou 331624b67d Issue #14674: Add a discussion of the json module's standard compliance.
Patch by Chris Rebert.
2012-08-24 19:37:23 +02:00
Brett Cannon 07c6e71689 Issue #15778: Coerce ImportError.args to a string when it isn't
already one.

Patch by Dave Malcolm.
2012-08-24 13:05:09 -04:00
Georg Brandl 491b1dc79e Closes #9374: merge with 3.2 2012-08-24 18:15:46 +02:00
Georg Brandl a61b09f406 Closes #9374: add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name. 2012-08-24 18:15:29 +02:00
Andrew Svetlov 82649f3b87 Issue #15776: Allow pyvenv to work in existing directory with --clean.
Patch by Vinay Sajip.
2012-08-24 19:00:15 +03:00
R David Murray ad2a7d528a Merge #15249: Mangle From lines correctly when body contains invalid bytes.
Fix by Colin Su.  Test by me, based on a test written by Petri Lehtinen.
2012-08-24 11:23:50 -04:00
R David Murray 638d40b433 #15249: Mangle From lines correctly when body contains invalid bytes.
Fix by Colin Su.  Test by me, based on a test written by Petri Lehtinen.
2012-08-24 11:14:13 -04:00
Martin v. Löwis 4784e0267e Output lib files for PGO build into PGO directory. 2012-08-24 16:12:28 +02:00
Martin v. Löwis 5951ec0fdd Pick up 32-bit launcher from PGO directory on 64-bit PGO build. 2012-08-24 16:06:10 +02:00
Martin v. Löwis bddf7244f0 Drop PC\python_nt.h as it's not used.
Add input dependency on custom build step.
2012-08-24 15:47:53 +02:00
Martin v. Löwis b4b92becf1 Issue #15511: Drop explicit dependency on pythonxy.lib from amd64 configuration. 2012-08-24 15:21:24 +02:00
Martin v. Löwis 3234cc808c Add missing PGI/PGO configurations for pywlauncher. 2012-08-24 15:06:50 +02:00
Ross Lagerwall a4b070102a Merge with 3.2 2012-08-24 13:32:14 +02:00
Ross Lagerwall f2b34b8b96 Issue 15777: Fix a refleak in _posixsubprocess.
It was exposed by 03c98d05b140 and dbbf3ccf72e8.
2012-08-24 13:25:59 +02:00
Nick Coghlan ffffa8e8b2 Close #2051: Oops, transposed the digits in the issue number in the previous commit 2012-08-24 18:36:31 +10:00
Nick Coghlan a508770e20 Close #2501: Permission bits are once again correctly copied from the source file to the cached bytecode file. Test by Eric Snow. 2012-08-24 18:32:40 +10:00
Ned Deily 36d188c7f7 Issue #15037: Use correct path to system terminfo database. 2012-08-24 00:44:01 -07:00
Stefan Krah 66e63170d9 Issue #15770: Check invalid arguments in test function. Patch by Victor Stinner. 2012-08-23 15:53:45 +02:00
Stefan Krah f21587e3a8 mpd_qpowmod(): calculate result with zero-exponent for compatibility with
decimal.py. The hack to remove the ideal exponent is no longer required.
2012-08-23 15:05:29 +02:00
Ned Deily bbd3437c27 Issue #14292: Ensure that the OS X installer build configures the CXX
environment variable to a value comparable to what it sets for CC for
the benefit of C++ extension modules.
(Patch by Ronald Oussoren)
2012-08-22 23:34:50 -07:00
Ned Deily 6fc81d7eec Issue #15645: Ensure 2to3 grammar pickles are properly installed.
(Patch by Ronald Oussoren)
2012-08-22 23:34:13 -07:00
Ned Deily 12d1f67be4 issue #15645: null merge 2012-08-22 23:32:29 -07:00
Ned Deily 01d183732e Issue #15645: Ensure 2to3 grammar pickles are properly installed.
(Patch by Ronald Oussoren)
2012-08-22 23:27:26 -07:00