Commit Graph

81 Commits

Author SHA1 Message Date
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
Raymond Hettinger 86f9613957 Improve the whatsnew article on the lru/lfu cache decorators. 2010-08-06 23:23:49 +00:00
Georg Brandl 7cb1319688 Terminology fix: exceptions are raised, except in generator.throw(). 2010-08-03 12:06:29 +00:00
Raymond Hettinger aed05eb6b8 Demonstrate the caching decorators in whatsnew. 2010-08-02 01:43:41 +00:00
Antoine Pitrou d67075e06d Reorder entries by module lexicographic order 2010-07-31 22:48:02 +00:00
Antoine Pitrou 4f2a0a8870 Add ssl changes to the 3.2 "what's new". 2010-07-31 18:08:33 +00:00
Victor Stinner 25e8ec4724 Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, use
"w*" format instead. Add tests for "w*" format.
2010-06-25 00:02:38 +00:00
Victor Stinner 3dcb5acdb0 Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing format
Remove last references to the "char buffer" of the buffer protocol from
Python3.
2010-06-08 22:54:19 +00:00
R. David Murray d35251dc19 #8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.
Patch by R. David Murray, unit tests by Shashwat Anand.
2010-06-01 01:32:12 +00:00
Giampaolo Rodolà bd576b75b7 Fix issue #4972: adds ftplib.FTP context manager protocol 2010-05-10 14:53:29 +00:00
Antoine Pitrou e95a9ff112 Add what's new entry for r80157 and r80071. 2010-05-04 23:31:41 +00:00
Victor Stinner dcb2403022 Issue #8485: PyUnicode_FSConverter() doesn't accept bytearray object anymore,
you have to convert your bytearray filenames to bytes
2010-04-22 12:08:36 +00:00
Georg Brandl 5e73a819ca Typo fixes. 2010-04-22 07:02:51 +00:00
Tarek Ziadé df6198ee39 fixed typo 2010-04-21 07:30:43 +00:00
Tarek Ziadé 7aa6da0509 added a note on shutil.copytree improvements 2010-04-20 09:13:23 +00:00
Antoine Pitrou 5bab508085 Add a note about the RLock acceleration 2009-11-13 22:58:45 +00:00
Antoine Pitrou d42bc519d2 Add a couple of words about the new GIL implementation 2009-11-10 23:18:31 +00:00
Raymond Hettinger f558ddd61f Fill-in some new news. 2009-06-28 21:37:08 +00:00
Raymond Hettinger 6e6565b64b Whatsnew begins afresh 2009-06-28 20:56:11 +00:00