Commit Graph

99 Commits

Author SHA1 Message Date
Georg Brandl 3ad46757f4 Apply rest of #10628, and add a few todo comments. 2010-12-05 07:59:29 +00:00
Raymond Hettinger 413abbc277 Spelling 2010-12-05 07:06:47 +00:00
Raymond Hettinger dc2f9b5c98 Update the unittest section. 2010-12-05 07:02:45 +00:00
Raymond Hettinger e5e728babd New string format character. 2010-12-05 06:35:16 +00:00
Raymond Hettinger d8fae4e6ad Optimization notes. 2010-12-05 05:39:54 +00:00
Raymond Hettinger 43b5a857d6 Describe the transform/untranform methods 2010-12-05 04:04:21 +00:00
Raymond Hettinger dadf93c910 Note the updates to range objects. 2010-12-05 02:56:21 +00:00
Raymond Hettinger c269ae87c1 Optimization of Timsort. 2010-12-05 01:01:52 +00:00
Raymond Hettinger a5a3554b4d Start the argparse entry. 2010-12-05 00:39:18 +00:00
Raymond Hettinger 6e35394ed5 Mention itertools.accumulate(). 2010-12-04 23:42:12 +00:00
Raymond Hettinger 6f04adc54b Fill-in stub for concurrent.futures 2010-12-04 22:56:25 +00:00
Martin v. Löwis 932e49e394 Fix PEP number. 2010-12-04 13:49:32 +00:00
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 2010-12-03 20:14:31 +00:00
Nick Coghlan 37ee850b10 Issue 2690: Add support for slicing and negative indices to range objects (includes precalculation and storage of the range length).
Refer to the tracker issue for the language moratorium implications of this change
2010-12-03 14:26:13 +00:00
Nick Coghlan 7bb30b72d8 Improve Pydoc interactive browsing (#2001). Patch by Ron Adam.
* A -b option to start an enhanced browsing session.
* Allow -b and -p options to be used together.
* Specifying port 0 will pick an arbitrary unused socket port.
* A new browse() function to start the new server and browser.
* Show Python version information in the header.
* A *Get* field which takes the same input as the help() function.
* A *Search* field which replaces the Tkinter search box.
* Links to *Module Index*, *Topics*, and *Keywords*.
* Improved source file viewing.
* An HTMLDoc.filelink() method.
* The -g option and the gui() and serve() functions are deprecated.
2010-12-03 09:29:11 +00:00
Raymond Hettinger c74d518e73 Fix markup 2010-12-02 01:38:25 +00:00
Alexander Belopolsky 507e3f8d9d With Raymond's approval added a paragraph describing Unicode 6.0.0 changes. Not reST formatted. 2010-12-02 00:05:57 +00:00
Raymond Hettinger 7496b4171e Add example, tighten text, and minor clean-ups. 2010-11-30 19:15:45 +00:00
Nick Coghlan 9fc443cf59 Issue 9873: the URL parsing functions now accept ASCII encoded byte sequences in addition to character strings 2010-11-30 15:48:08 +00:00
Raymond Hettinger 5e20bab422 Neaten-up a bit. 2010-11-30 07:13:04 +00:00
Nick Coghlan 234515afe5 Issue 10586: change the new functools.lru_cache implementation to expose the maximum and current cache sizes through the public statistics API. This API is now a single function that returns a named tuple. 2010-11-30 06:19:46 +00:00
Georg Brandl 326c57d1d9 Typo fix. 2010-11-26 12:10:06 +00:00
Ezio Melotti 2baf1a69f4 #9424: add a DeprecationWarning for assertEquals, assertNotEquals, assertAlmostEquals, assertNotAlmostEquals, and assert_ 2010-11-22 12:56:58 +00:00
Nick Coghlan e0f04659cd Issue #10220: Add inspect.getgeneratorstate(). Initial patch by Rodolpho Eckhardt 2010-11-21 03:44:04 +00:00
Georg Brandl 97b20da02f Add stub for PEP 3148. 2010-11-16 15:15:29 +00:00
R. David Murray 7dff9e08fb #10321: Add support for sending binary DATA and Message objects to smtplib 2010-11-08 17:15:13 +00:00
Antoine Pitrou afb078dd26 More what's new 2010-11-05 22:18:28 +00:00
Antoine Pitrou 7d15a72c54 Update 3.2 what's new 2010-11-05 22:13:55 +00:00
Victor Stinner 47ce965562 What's New in Python 3.2: update Unicode section 2010-10-29 00:57:35 +00:00
Nick Coghlan 543af75961 Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer) 2010-10-24 11:23:25 +00:00
Antoine Pitrou ff150f2921 Revert r85797 (and r85798): it broke the Windows buildbots because of
test_multiprocessing's misbehaviour.
2010-10-22 21:41:05 +00:00
Antoine Pitrou 45f9cf96cd Update what's new 2010-10-22 19:45:13 +00:00
Skip Montanaro 961aaf5cfa Note the resolution of issue 9778. 2010-10-17 22:22:24 +00:00
Senthil Kumaran 8227045bbe Fix sphinx role markups. 2010-10-15 13:29:33 +00:00
Victor Stinner 8f6b6b0cc3 Issue #9992: Remove PYTHONFSENCODING environment variable. 2010-10-13 22:02:27 +00:00
Antoine Pitrou 6c314ec946 Update whatsnew about pickle optimizations 2010-10-12 21:07:20 +00:00
R. David Murray 7c0a2271ff What's new entry for email 5.1. 2010-10-08 21:37:39 +00:00
Antoine Pitrou 0ee4c9f274 Update what's new 2010-10-08 16:46:17 +00:00
Antoine Pitrou cd889af917 More new things in what's new 2010-10-06 21:13:56 +00:00
Georg Brandl 60203b41b0 Migrate to Sphinx 1.0 C language constructs. 2010-10-06 10:11:56 +00:00
Giampaolo Rodolà 977c707b42 Fix issue 6706: adds new handle_accepted() method to asyncore.dispatcher 2010-10-04 21:08:36 +00:00
Antoine Pitrou 7d49bc9911 Move library changes to the right section 2010-09-15 15:13:17 +00:00
Antoine Pitrou d305200755 Add entries to whatsnew 2010-09-15 15:09:40 +00:00
Amaury Forgeot d'Arc feb7307db4 #9210: remove --with-wctype-functions configure option.
The internal unicode database is now always used.

(after 5 years: see
  http://mail.python.org/pipermail/python-dev/2004-December/050193.html
)
2010-09-12 22:42:57 +00:00
Victor Stinner 0cbec571ae Document changes on mbcs encoding 2010-09-12 20:32:57 +00:00
Amaury Forgeot d'Arc ba117ef7e9 #4617: Previously it was illegal to delete a name from the local
namespace if it occurs as a free variable in a nested block.  This limitation
of the compiler has been lifted, and a new opcode introduced (DELETE_DEREF).

This sample was valid in 2.6, but fails to compile in 3.x without this change::

   >>> def f():
   ...     def print_error():
   ...        print(e)
   ...     try:
   ...        something
   ...     except Exception as e:
   ...        print_error()
   ...        # implicit "del e" here


This sample has always been invalid in Python, and now works::

   >>> def outer(x):
   ...     def inner():
   ...        return x
   ...     inner()
   ...     del x

There is no need to bump the PYC magic number: the new opcode is used
for code that did not compile before.
2010-09-10 21:39:53 +00:00
Giampaolo Rodolà b383dbb45e Fix issue 9794: adds context manager protocol to socket.socket so that socket.create_connection() can be used with the 'with' statement. 2010-09-08 22:44:12 +00:00
Éric Araujo cc6aac60da Fix typo in whatsnew (#9793) 2010-09-07 21:35:35 +00:00
Amaury Forgeot d'Arc 4b6fdf3852 #6394: Add os.getppid() support for Windows. 2010-09-07 21:31:17 +00:00
Georg Brandl e572bcec78 Add stub entry for argparse. 2010-09-07 08:18:26 +00:00