Commit graph

101860 commits

Author SHA1 Message Date
Ezio Melotti
9d2e7e010e #16478: merge with 3.3. 2012-11-16 13:17:59 +02:00
Ezio Melotti
eb24b44ef4 #16478: merge with 3.2. 2012-11-16 13:17:42 +02:00
Ezio Melotti
103f17ef91 #16478: use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy Storchaka. 2012-11-16 13:17:08 +02:00
Brett Cannon
e4710cfced Issue #15894: Document why we don't worry about re-acquiring the
global import lock after forking.
2012-11-15 21:39:36 -05:00
Brett Cannon
1e1e8aa507 Add NEWS entries for the removal of Misc/Vim and Misc/TextMate.
Also merged two duplicate sections of Tools/Demos.
2012-11-15 16:16:45 -05:00
Brett Cannon
0676caf660 merge 2012-11-15 16:13:00 -05:00
Brett Cannon
27b6793c72 Remove the TextMate bundle.
It had not been updated since May 2008 (6 months before Python 3 was
released!).

This now removes any special editor support by python-dev, alleviating
those burdens.
2012-11-15 16:12:19 -05:00
Brett Cannon
873f73a98e Remove the Vim syntax files.
They had become extremely stale (the script to generate the file was
Python 2 compatible!). Plus the community took the work and made
improvements that are available on www.vim.org.

If you want to update Vim's runtime files to the latest available,
follow the instructions at http://www.vim.org/runtime.php .
2012-11-15 16:10:16 -05:00
Mark Dickinson
73726aac0f Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError. 2012-11-15 20:58:40 +00:00
Richard Oudkerk
8f7c4b8a85 Issue #16481: Merge 2012-11-15 18:22:23 +00:00
Richard Oudkerk
021f4c2ecc Issue #16481: multiprocessing no longer leaks process handles on Windows. 2012-11-15 18:16:35 +00:00
Andrew Svetlov
9bd7f22c05 Merge heads 2012-11-15 16:30:30 +02:00
Andrew Svetlov
993fd9f03a Merge issue #16144: Fix misleading sentence in reference/import.
Patch by Manuel Pégourié-Gonnard
2012-11-15 16:28:48 +02:00
Andrew Svetlov
e2cf03e499 Issue #16144: Fix misleading sentence in reference/import.
Patch by Manuel Pégourié-Gonnard
2012-11-15 16:28:21 +02:00
Vinay Sajip
8d27023a7e Allow configuration of handler properties. 2012-11-15 14:20:18 +00:00
Georg Brandl
526b553608 Remove versionadded from the tutorial, at a location where it produces more questions than it answers. 2012-11-15 07:10:27 +01:00
Philip Jenvey
8f2b6ad96f merge 3.3 2012-11-14 14:51:44 -08:00
Philip Jenvey
21c95ebf7f merge 3.2 2012-11-14 14:49:49 -08:00
Philip Jenvey
b37ac8eaf6 don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine) 2012-11-14 14:37:24 -08:00
Brett Cannon
cc1343140d Fix a typo 2012-11-14 15:49:55 -05:00
Chris Jerdonek
080123119d Backport from 3.2: update PyPI docs regarding listing versions (issue #16400). 2012-11-14 12:36:53 -08:00
Chris Jerdonek
5aa1dd5f06 Merge from 3.3: update the PyPI docs regarding listing versions (issue #16400). 2012-11-14 12:28:38 -08:00
Chris Jerdonek
251269ccc8 Merge from 3.2: update the PyPI docs regarding listing versions (issue #16400). 2012-11-14 12:24:21 -08:00
Brett Cannon
6f7e81a549 merge 2012-11-14 15:22:56 -05:00
Brett Cannon
cd8efa3704 Clean up the messages used by some tests. 2012-11-14 15:16:53 -05:00
Brett Cannon
8c5ec0a3af Clean up test_sundry and have it error out when a module has grown
proper tests.
2012-11-14 15:16:53 -05:00
Chris Jerdonek
f9e49eaefc Update the description of which package versions PyPI displays (issue #16400). 2012-11-14 12:12:30 -08:00
Brett Cannon
613cf25d2a Use importlib instead of calling __import__ directly. 2012-11-14 13:42:51 -05:00
Mark Dickinson
d20fb82195 Issue #16290: __complex__ must now always return an instance of complex. 2012-11-14 17:08:31 +00:00
Vinay Sajip
2eb2f5e359 Closes #16378: Merged docstring changes from 3.3. 2012-11-14 11:19:42 +00:00
Vinay Sajip
87ed599b8a Issue #16378: Updated docstrings to reflect the defaults present in the code. 2012-11-14 11:18:35 +00:00
Chris Jerdonek
9e173ebde2 Link to "XRange Type" section in xrange() built-in function documentation. 2012-11-14 02:13:28 -08:00
Antoine Pitrou
3354327113 Fix whitespace. 2012-11-13 21:36:21 +01:00
Antoine Pitrou
b5b3714168 Issue #12428: Add a pure Python implementation of functools.partial().
Patch by Brian Thorne.
2012-11-13 21:35:40 +01:00
Philip Jenvey
65a35dcadd merge 3.3 2012-11-13 12:28:39 -08:00
Philip Jenvey
000bd4254f merge 3.2 2012-11-13 12:27:56 -08:00
Philip Jenvey
3acc7ef1c5 add gc_collects to weakref tests 2012-11-13 12:26:31 -08:00
Victor Stinner
ee36c24d15 Issue #15478: os.lchflags() is not always available when os.chflags() is available 2012-11-13 09:31:51 +01:00
Victor Stinner
5ff16750f5 Issue #16416: Fix Misc/NEWS entry, mention Mac OS X 2012-11-12 23:52:04 +01:00
Victor Stinner
0d92c4f667 Issue #16416: Fix error handling in _Py_wchar2char() _Py_char2wchar() functions 2012-11-12 23:32:21 +01:00
Benjamin Peterson
fc93ec5966 merge heads 2012-11-12 17:04:43 -05:00
Benjamin Peterson
c7a8a210d6 merge 3.3 (sort of) 2012-11-12 17:04:28 -05:00
Victor Stinner
e262377cab Issue #16416: OS data are now always encoded/decoded to/from
UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no
locale environment variable is set), to avoid inconsistencies with
os.fsencode() and os.fsdecode() functions which are already using
UTF-8/surrogateescape.
2012-11-12 23:04:02 +01:00
Benjamin Peterson
2a0e226131 recompile importlib.h 2012-11-12 17:02:32 -05:00
Benjamin Peterson
29824550b1 merge 3.3 2012-11-12 16:48:25 -05:00
Benjamin Peterson
debf64ce2b missing letter 2012-11-12 16:48:17 -05:00
Stefan Krah
4a3a3f3bda Backport 5db6d9ddf6e8. 2012-11-12 20:35:29 +01:00
Stefan Krah
abaca8cb06 Merge 3.3. 2012-11-12 20:24:09 +01:00
Stefan Krah
6df5cae49a Issue #15835: Define PATH_MAX on HP-UX. 2012-11-12 20:14:36 +01:00
Georg Brandl
8a0d58bb3d Use 2.x "print" syntax for this example. 2012-11-12 19:25:55 +01:00