Commit Graph

68 Commits

Author SHA1 Message Date
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
Raymond Hettinger 09e4ebb6cd Fix markup nits 2010-09-06 19:55:51 +00:00
Georg Brandl 9e75cad234 Remove redundant word. 2010-09-06 06:45:47 +00:00
Raymond Hettinger db9044e065 Fix nits 2010-09-06 01:29:23 +00:00
Raymond Hettinger 92ba2868b6 More updates to whatsnew3.2 2010-09-06 01:16:46 +00:00
Benjamin Peterson 6db773057e link to docs 2010-09-06 00:32:12 +00:00
Éric Araujo 4234ad4266 Fix typos and wording in what’s new 3.2.
- The entry about shutil.copytree is just a revert of r84524 which
looks like an unfinished edition.
- The use of gender-neutral language (s/his/their/) removes the
implicit assumption that programmer == male (change agreed by Antoine).
- Other changes should be uncontroversial fixes.

I haven’t rewrapped under 80 lines to keep the diffs readable; I’ll
rewrap later.
2010-09-05 17:32:25 +00:00
Georg Brandl da0a2117aa Rewrap and consistency fixes. 2010-09-05 11:28:33 +00:00
Raymond Hettinger d881f31693 Fill-in sqlite3 stubs 2010-09-05 08:54:32 +00:00
Raymond Hettinger bcbd69666b Add example of ftplib's new context manager. 2010-09-05 08:46:36 +00:00
Raymond Hettinger ef2335ca08 Add PEP 391 to whatsnew 2010-09-05 08:35:38 +00:00
Raymond Hettinger 6e8fe9725a More updates to whatsnew. 2010-09-05 06:13:47 +00:00
Raymond Hettinger bb734c6707 Add an example 2010-09-05 05:56:44 +00:00
Raymond Hettinger 1784ff0249 More updates to whatsnew 2010-09-05 01:00:19 +00:00
Raymond Hettinger ebea6fae86 Update whatsnew for Pep3149. 2010-09-05 00:27:25 +00:00
Raymond Hettinger f95b199339 Update whatsnew for Pep3147. 2010-09-04 23:53:24 +00:00
Raymond Hettinger 02566ec89f Adopt more descriptive attribute names as suggested on python-dev. 2010-09-04 22:46:06 +00:00
Amaury Forgeot d'Arc 661730e2aa Add an entry in whatsnew about the PyCObject -> PyCapsule move.
(It seems that I am the first SWIG user to try python 3.2...)
2010-09-03 22:43:08 +00:00
Georg Brandl f11c6c46ac Make PEP section a bit less ugly and at least list implemented PEPs. 2010-09-03 22:20:58 +00:00
Victor Stinner 9802b39c12 PYTHONFSENCODING is not available on Windows or Mac OS X 2010-08-19 11:36:43 +00:00
Victor Stinner e8d5145e18 Create os.fsdecode(): decode from the filesystem encoding with surrogateescape
error handler, or strict error handler on Windows.

 * Rewrite os.fsencode() documentation
 * Improve os.fsencode and os.fsdecode() tests using the new PYTHONFSENCODING
   environment variable
2010-08-19 01:05:19 +00:00
Victor Stinner dbe6042f0a what's new 3.2: use :mod: 2010-08-18 23:41:33 +00:00
Éric Araujo 358b63a419 Fix typo 2010-08-18 22:35:23 +00:00
Andrew M. Kuchling 4ea04a306f #7647: add ST_RDONLY, ST_NOSUID constants to os module.
(Also fix a name ordering in the ACKS file.)
2010-08-18 22:30:34 +00:00
Victor Stinner 94908bbc15 Issue #8622: Add PYTHONFSENCODING environment variable to override the
filesystem encoding.

initfsencoding() displays also a better error message if get_codeset() failed.
2010-08-18 21:23:25 +00:00
Giampaolo Rodolà 42382fedcc fix issue #8807: adds a context parameter to POP3_SSL class. 2010-08-17 16:09:53 +00:00
Giampaolo Rodolà ccfb91c89f fix issue #8866: parameters passed to socket.getaddrinfo can now be specified as single keyword arguments. 2010-08-17 15:30:23 +00:00
Raymond Hettinger f309828175 Remove the lfu_cache. Add more tests. 2010-08-15 03:30:45 +00:00
Antoine Pitrou 6e451df800 Followup to r83869 and issue #8524: rename socket.forget() to socket.detach()
and make it return the file descriptor.
2010-08-09 20:39:54 +00:00
Antoine Pitrou e43f9d0ed6 Issue #8524: Add a forget() method to socket objects, so as to put the
socket into the closed state without closing the underlying file
descriptor.
2010-08-08 23:24:50 +00:00
Antoine Pitrou 696e03553b Issue #477863: Print a warning at shutdown if gc.garbage is not empty. 2010-08-08 22:18:46 +00:00
Raymond Hettinger e9499aef0a Fix markup 2010-08-07 04:19:49 +00:00