Ezio Melotti
185e7e91ae
#16559 : merge with 3.3.
2012-11-26 19:27:58 +02:00
Ezio Melotti
c483034048
#16559 : merge with 3.2.
2012-11-26 19:27:02 +02:00
Ezio Melotti
8c52370403
#16559 : Add more tests for the json module. Patch by Serhiy Storchaka.
2012-11-26 19:24:20 +02:00
Mark Dickinson
073f067369
Issue #16546 : merge fix from 3.3
2012-11-25 14:37:43 +00:00
Mark Dickinson
ded35aeb9d
Issue #16546 : make ast.YieldFrom argument mandatory.
2012-11-25 14:36:26 +00:00
Antoine Pitrou
ab56710989
Issue #12848 : The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
...
Patch by Serhiy Storchaka.
2012-11-24 20:42:59 +01:00
Antoine Pitrou
9982c53c2f
Issue #12848 : The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
...
Patch by Serhiy Storchaka.
2012-11-24 20:41:34 +01:00
Antoine Pitrou
bf6ecf92fa
Issue #12848 : The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does.
...
Patch by Serhiy Storchaka.
2012-11-24 20:40:21 +01:00
Antoine Pitrou
df204be922
Issue #16423 : urllib.request now has support for ``data:`` URLs.
...
Patch by Mathias Panzenböck.
2012-11-24 17:59:08 +01:00
Antoine Pitrou
8618d7457b
Issue #4473 : Add a POP3.stls() to switch a clear-text POP3 session into an encrypted POP3 session, on supported servers.
...
Patch by Lorenzo Catucci.
2012-11-23 20:13:48 +01:00
Antoine Pitrou
25cee19beb
Issue #4473 : Add a POP3.capa() method to query the capabilities advertised by the POP3 server.
...
Patch by Lorenzo Catucci.
2012-11-23 20:07:39 +01:00
Antoine Pitrou
d89824b0e2
Issue #4473 : Ensure the socket is shutdown cleanly in POP3.close().
...
Patch by Lorenzo Catucci.
2012-11-23 20:04:45 +01:00
R David Murray
5a9d706123
#16522 : Add FAIL_FAST flag to doctest.
...
Patch by me, most of the work (doc and tests) by Daniel Urban.
2012-11-21 15:09:21 -05:00
Chris Jerdonek
d675a2c48a
Merge from 3.3: Improve str() and object.__str__() docs (issue #13538 ).
2012-11-20 17:53:17 -08:00
Chris Jerdonek
5fae0e5854
Improve str() and object.__str__() documentation (issue #13538 ).
2012-11-20 17:45:51 -08:00
Chris Jerdonek
17fc44c9b3
Improve str() and object.__str__() documentation (issue #13538 ).
2012-11-20 17:31:02 -08:00
Antoine Pitrou
39bdad813a
Issue #1160 : Fix compiling large regular expressions on UCS2 builds.
...
Patch by Serhiy Storchaka.
2012-11-20 22:30:42 +01:00
Barry Warsaw
b72c10996e
- Issue #16514 : Fix regression causing a traceback when sys.path[0] is None
...
(actually, any non-string or non-bytes type).
2012-11-20 15:35:27 -05:00
Barry Warsaw
82c1c781c7
- Issue #16514 : Fix regression causing a traceback when sys.path[0] is None
...
(actually, any non-string or non-bytes type).
2012-11-20 15:22:51 -05:00
Benjamin Peterson
e5b45cc5e5
remove unused flag ( closes #16505 )
2012-11-18 20:49:39 -06:00
Brett Cannon
5650e4f41c
Issue #15627 : Add the compile_source() method to
...
importlib.abc.SourceLoader.
This provides an easy hook into the import system to allow for source
transformations, AST optimizations, etc.
2012-11-18 10:03:31 -05:00
Ezio Melotti
195ad6ce05
#16306 : merge with 3.3.
2012-11-18 14:06:54 +02:00
Ezio Melotti
f7c709d62d
#16306 : merge with 3.2.
2012-11-18 14:02:08 +02:00
Ezio Melotti
7c66319edc
#16306 : Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
2012-11-18 13:55:52 +02:00
Ezio Melotti
6a5fc4c443
#14313 : zipfile now raises NotImplementedError when the compression type is unknown.
2012-11-18 13:20:36 +02:00
Brett Cannon
d187726504
Issue #10966 : Remove the concept of unexpected skipped tests.
...
The concept of what was unexpected was typically defined as "some
depencendy wasn't installed", which isn't unexpected at all as it's
totally optional. Since it confuses new contributors as they think
something is wrong with their installation it seems sensible to get
rid of the concept.
This change also adds the concept of optional tests that are required
to work on a specific platform(s) (e.g. test_winreg on Windows). This
should help catch compile issues instead of a test being blindly
skipped even when it should have run.
The skipped test list in the future can also print out the reason for
being skipped to make it more obvious as to why the skipping occurred.
2012-11-17 20:46:26 -05:00
Antoine Pitrou
8f1fefab9a
Issue #16408 : Fix file descriptors not being closed in error conditions in the zipfile module.
...
Patch by Serhiy Storchaka.
2012-11-17 23:54:40 +01:00
Antoine Pitrou
8572da5e96
Issue #16408 : Fix file descriptors not being closed in error conditions in the zipfile module.
...
Patch by Serhiy Storchaka.
2012-11-17 23:52:05 +01:00
Antoine Pitrou
17babc5e97
Issue #16408 : Fix file descriptors not being closed in error conditions in the zipfile module.
...
Patch by Serhiy Storchaka.
2012-11-17 23:50:08 +01:00
Antoine Pitrou
5439458a2a
Issue #16215 : Fix potential double memory free in str.replace().
...
Patch by Serhiy Storchaka.
2012-11-17 23:29:28 +01:00
Antoine Pitrou
6d5ad227a5
Issue #16215 : Fix potential double memory free in str.replace().
...
Patch by Serhiy Storchaka.
2012-11-17 23:28:17 +01:00
Antoine Pitrou
c3afba104a
Issue #14631 : Add a new :class:`weakref.WeakMethod` to simulate weak references to bound methods.
2012-11-17 18:57:38 +01:00
Brett Cannon
10f19812b5
Merge fix for #16489 from 3.3
2012-11-17 09:33:14 -05:00
Brett Cannon
56b4ca78d8
Issue #16489 : Make it clearer that importlib.find_loader() requires
...
the user to import any parent packages.
2012-11-17 09:30:55 -05:00
Jesus Cea
a4e37037a2
MERGE: Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
2012-11-17 03:43:15 +01:00
Jesus Cea
fc1a63620e
MERGE: Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
2012-11-17 03:42:41 +01:00
Jesus Cea
e4b863982c
Closes #16461 : Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
2012-11-17 03:41:54 +01: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
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
Chris Jerdonek
f9e49eaefc
Update the description of which package versions PyPI displays (issue #16400 ).
2012-11-14 12:12:30 -08:00
Mark Dickinson
d20fb82195
Issue #16290 : __complex__ must now always return an instance of complex.
2012-11-14 17:08:31 +00: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
Victor Stinner
5ff16750f5
Issue #16416 : Fix Misc/NEWS entry, mention Mac OS X
2012-11-12 23:52:04 +01:00