Commit Graph

159 Commits

Author SHA1 Message Date
Antoine Pitrou 4f863433fd What's new typo 2012-02-12 02:12:47 +01:00
Nadeem Vawda d7e5c6ed7f Add section on bz2 module to whatsnew/3.3. 2012-02-12 01:34:18 +02:00
Nadeem Vawda 7edbe30e70 Fix typo in whatsnew/3.3. 2012-02-12 00:30:54 +02:00
Victor Stinner 4195b5caea Backout f8409b3d6449: the PEP 410 is not accepted yet 2012-02-08 23:03:19 +01:00
Victor Stinner ccd5715a14 PEP 410 2012-02-08 14:31:50 +01:00
Victor Stinner f4c54ff5cd What's New in 3.3: reorder modules
Remove also duplicate functions in the "os" module section
2012-02-08 01:48:34 +01:00
Victor Stinner 2e63177e94 What's New in 3.3: Fix time module doc 2012-02-08 01:43:34 +01:00
Charles-François Natali 7794090251 Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), to
be consistent with other functions accepting file descriptors (fdlistdir() was
added in 3.3, so hasn't been released yet).
2012-02-06 19:54:48 +01:00
Charles-François Natali 7372b06cd7 Issue #13734: Add os.fwalk(), a directory walking function yielding file
descriptors.
2012-02-05 15:15:38 +01:00
Georg Brandl ff962c5f1f Small grammar fixes by Mark Summerfield. 2012-02-04 08:55:56 +01:00
Sandro Tosi cd8991255c Issue #13835: fixes to What's new 3.3; patch by July Tikhonov 2012-01-22 12:16:04 +01:00
Victor Stinner b94b266cfc Close #10278: Add time.wallclock() function, monotonic clock. 2012-01-18 01:50:21 +01:00
Charles-François Natali d612de10e5 Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode. 2012-01-14 11:51:00 +01:00
Nick Coghlan 2dfe6b00ed Fix merge glitch in What's New 2012-01-14 14:19:49 +10:00
Nick Coghlan 1f7ce62bd6 Implement PEP 380 - 'yield from' (closes #11682) 2012-01-13 21:43:40 +10:00
Charles-François Natali dc3044c704 Issue #12760: Add a create mode to open(). Patch by David Townshend. 2012-01-09 22:40:02 +01:00
Victor Stinner 606e19dda3 Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int 2012-01-04 03:59:16 +01:00
Antoine Pitrou 73fc81402b Add whatsnew items 2011-12-23 20:58:36 +01:00
Victor Stinner 6099a03202 Issue #13624: Write a specialized UTF-8 encoder to allow more optimization
The main bottleneck was the PyUnicode_READ() macro.
2011-12-18 14:22:26 +01:00
Victor Stinner ab59594326 What's New in Python 3.3: complete the deprecation list
Add also FIXMEs in unicodeobject.c
2011-12-17 04:59:06 +01:00
Benjamin Peterson c144a93e98 property -> staticmethod 2011-12-15 19:24:49 -05:00
Benjamin Peterson bfebb7b54a improve abstract property support (closes #11610)
Thanks to Darren Dale for patch.
2011-12-15 15:34:02 -05:00
Giampaolo Rodola' 556ba04a8d Fix #13449: add 'blocking' parameter to sched.scheduler.run() so that the scheduler can be used in non-blocking applications 2011-12-14 14:38:45 +01:00
Giampaolo Rodola' 73520d57eb Fix #8684: make sched.scheduler class thread-safe 2011-12-14 13:34:26 +01:00
Victor Stinner bf6e560d0c Make PyUnicode_Copy() private => _PyUnicode_Copy()
Undocument the function.

Make also decode_utf8_errors() as private (static).
2011-12-12 01:53:47 +01:00
Nadeem Vawda 3459922c1b What's New in Python 3.3: Add entry for lzma module (issue #6715). 2011-12-09 01:32:46 +02:00
Victor Stinner d1be878d7b What's New in Python 3.3: Add a Deprecated section 2011-12-09 00:10:41 +01:00
Antoine Pitrou 7b578b3d89 Mention hashable memoryviews, and reformat. 2011-11-29 22:47:11 +01:00
Antoine Pitrou 0599b5b2a1 Add subheaders to make PEP 393 description clearer 2011-11-29 22:45:07 +01:00
Victor Stinner 0fdfceb782 Issue #12567: The curses module uses Unicode functions for Unicode arguments
when it is linked to the ncurses library. It encodes also Unicode strings to
the locale encoding instead of UTF-8.
2011-11-25 22:10:02 +01:00
Antoine Pitrou e7ede06757 Typo 2011-11-25 19:11:26 +01:00
Antoine Pitrou 6bbd76b0a0 Update What's new for PEP 3155 2011-11-25 19:10:05 +01:00
Petri Lehtinen 61ea8a0d28 Add a "What's New" entry for #12170 2011-11-24 22:00:46 +02:00
Giampaolo Rodola' bc7ea5872b fix wrong credit and issue id given in previous commit 2011-11-22 13:37:58 +01:00
Giampaolo Rodola' be55d99b3d Fix 13245:
sched.scheduler class constructor's timefunc and delayfunct parameters are now optional.
scheduler.enter and scheduler.enterabs methods gained a new kwargs parameter.

Patch contributed by Matt Mulsow.
2011-11-22 13:33:34 +01:00
Victor Stinner a996f1e1a0 What's new in Python 3.3: Rephrase PEP 393 doc 2011-11-21 13:14:43 +01:00
Victor Stinner 46606ce870 Document new and deprecated Unicode functions 2011-11-20 18:27:55 +01:00
Antoine Pitrou 5a8bc6f7f9 Add a couple other whatsnew items 2011-11-17 02:20:48 +01:00
Antoine Pitrou 2c0a967f8e Add various items in whatsnew 2011-11-17 02:09:13 +01:00
Antoine Pitrou 45b3ad420d Remove XXX, as the functions and macros are mentioned in the porting section 2011-11-17 02:00:19 +01:00
Antoine Pitrou beb7836260 Explain concrete (resource consumption) effects of PEP 393 a bit. 2011-11-17 01:59:51 +01:00
Antoine Pitrou d136aecd1f Be a bit less shy 2011-11-17 01:48:06 +01:00
Victor Stinner 19bd0698e5 What's New in 3.3: Add a "Deprecated ..." section 2011-11-16 00:18:57 +01:00
Victor Stinner 1ab6c2d2c2 Issue #13374: The Windows bytes API has been deprecated in the os module. Use
Unicode filenames instead of bytes filenames to not depend on the ANSI code
page anymore and to support any filename.
2011-11-15 22:27:41 +01:00
Éric Araujo bfc972974b Fix a few typos 2011-11-14 18:18:15 +01:00
Victor Stinner 9f4b1e9c50 Fix and deprecated the unicode_internal codec
unicode_internal codec uses Py_UNICODE instead of the real internal
representation (PEP 393: Py_UCS1, Py_UCS2 or Py_UCS4) for backward
compatibility.
2011-11-10 20:56:30 +01:00
Charles-François Natali 10b8cf4455 Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support. 2011-11-10 19:21:37 +01:00
Victor Stinner 7592d0513e Fix the issue number of my cp65001 commit: 13247 => issue #13216 2011-10-27 01:43:48 +02:00
Victor Stinner 2f3ca9f20e Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8) 2011-10-27 01:38:56 +02:00
Victor Stinner e0be423297 Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Antoine Pitrou 037ffbf182 Improve the porting section 2011-10-24 00:25:41 +02:00
Antoine Pitrou fd9b4166bb Improve / clean up the PEP 393 description 2011-10-24 00:14:43 +02:00
Antoine Pitrou 01fd26c746 Improve description of PEP 3151 2011-10-24 00:07:02 +02:00
Ezio Melotti 2d99dac479 Use ``...`` for string literals. 2011-10-24 00:44:03 +03:00
Florent Xicluna dcbb822c08 Fix documentation formatting. 2011-10-23 23:37:46 +02:00
Florent Xicluna 6d57d212a8 Documentation typo. 2011-10-23 22:23:57 +02:00
Mark Dickinson 36645681c8 Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch. 2011-10-23 19:53:01 +01:00
Ezio Melotti 931b8aac80 #12753: Add support for Unicode name aliases and named sequences. 2011-10-21 21:57:36 +03:00
Senthil Kumaran a41c942685 Doc improvements suggested by Éric Araujo for the new 'HEAD' Request feature. 2011-10-20 02:37:08 +08:00
Victor Stinner 3a50e7056e Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.
2011-10-18 21:21:00 +02:00
Senthil Kumaran de49d64dbc Fix closes issue 1673007 urllib.request to support HEAD requests with a new method arg. 2011-10-16 23:54:44 +08:00
Victor Stinner e506437b52 What's new in Python 3.3: document new functions of the os module 2011-10-14 00:08:29 +02:00
Victor Stinner a1bf298454 What's New in Python 3.3: mention the PEP 3151 2011-10-12 20:35:02 +02:00
Charles-François Natali 47413c1171 Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
Fuchs, updated by Tiago Gonçalves.
2011-10-06 19:47:44 +02:00
Éric Araujo 5043f0904b More info about PEP 393 in whatsnew and NEWS 2011-10-05 01:04:18 +02:00
Éric Araujo b07b97f3a4 Minor updates to the whatsnew maintenance rules 2011-10-05 01:03:34 +02:00
Ezio Melotti 397546ac2f Update and reorganize the whatsnew entry for PEP 393. 2011-09-29 08:34:36 +03:00
Victor Stinner 7d637ab870 Complete What's New in 3.3 about PEP 393 2011-09-29 02:56:16 +02:00
Ezio Melotti 48a2f8fd97 #13054: sys.maxunicode is now always 0x10FFFF. 2011-09-29 00:18:19 +03:00
Meador Inge c5dbb3dadf Issue #1172711: Update What's New in Python 3.3 document for the array module.
The commit fixes 3c56e546dc60, which documented #1172711 as a struct module
change;  it is an array module change.
2011-09-20 21:48:16 -05:00
Victor Stinner c78fb33f81 What's New in Python 3.3: add curses.unget_wch() 2011-09-21 03:35:44 +02:00
Victor Stinner 811db3b715 Issue #1172711: Update What's New in Python 3.3 document for the struct module 2011-09-21 03:20:03 +02:00
Éric Araujo 84b8ed8a94 3.3 whatsnew: fix markup, add stub for new crypt features 2011-08-29 21:42:47 +02:00
Sandro Tosi aec2f21f71 #12191: added entry in What's New (+ small editing on shutil section) 2011-08-23 00:58:21 +02:00
Nick Coghlan 96fe56abec Add support for the send/recvmsg API to the socket module. Patch by David Watson and Heiko Wundram. (Closes #6560) 2011-08-22 11:55:57 +10:00
Victor Stinner ff3d9399fc Close #12326: sys.platform is now always 'linux' on Linux
On Linux, sys.platform doesn't contain the major version anymore. It is now
always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version
used to build Python.
2011-08-20 23:39:26 +02:00
Éric Araujo cdb31093c2 Fix reST role and missing word 2011-07-28 23:10:25 +02:00
Ezio Melotti 04f648cb90 #12547: Fix example in nntplib doc. Patch by July Tikhonov. 2011-07-26 09:37:46 +03:00
Victor Stinner a7878b77dc Close #6755: Add get_wch() method to curses.window class
Patch by Iñigo Serna.
2011-07-14 23:07:44 +02:00
Ezio Melotti 3c14b4ebe7 #12547: Fix import and output in nntplib example. Initial patch by July Tikhonov. 2011-07-13 11:44:44 +03:00
Georg Brandl 6c0929b2dd Fix markup and remove character unsupported by latex in 3.3 whatsnew doc. 2011-07-09 11:43:33 +02:00
Victor Stinner 2cded9c3f3 Issue #12016: Multibyte CJK decoders now resynchronize faster
They only ignore the first byte of an invalid byte sequence.

For example, b'\xff\n'.decode('gb2312', 'replace') gives '\ufffd\n' instead of
'\ufffd'.
2011-07-08 01:45:13 +02:00
Éric Araujo 2ee61884fe Clean up NEWS entry and tests for shutil.disk_usage (#12442) 2011-07-02 16:45:45 +02:00
Giampaolo Rodola' 210e7ca032 Issue #12442: add shutil.disk_usage() 2011-07-01 13:55:36 +02:00
Giampaolo Rodola' 096dcb1eff Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text. 2011-06-27 11:17:51 +02:00
Ross Lagerwall bc808224b6 Issue #12303: Add sigwaitinfo() and sigtimedwait() to the signal module. 2011-06-25 12:13:40 +02:00
Éric Araujo 765e94f80c Add NEWS and whatsnew entries for the packaging module 2011-06-03 17:26:59 +02:00
Charles-François Natali a003af1ce9 Issue #12196: Add a note on os.pipe2() in the "Whats' new in Python 3.3"
document.
2011-06-01 20:30:52 +02:00
Victor Stinner 6daa33c8ac Issue #10818: Remove deprecated pydoc.serve() function
The pydoc module has a new enhanced web server.
2011-05-25 01:41:22 +02:00
Victor Stinner 383c3fc6b4 Issue #10818: Remove the Tk GUI of the pydoc module (pydoc -g has been
deprecated in Python 3.2).
2011-05-25 01:35:05 +02:00
Victor Stinner 99c8b16143 Issue #12049: Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
module.
2011-05-24 12:05:19 +02:00
Victor Stinner 388196ed72 Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError,
instead of a RuntimeError: OSError has an errno attribute.
2011-05-10 17:13:00 +02:00
Victor Stinner fa0e3d52d6 Issue #11888: Add log2 function to math module. Patch written by Mark
Dickinson.
2011-05-09 01:01:09 +02:00
Victor Stinner d49b1f14de Issue #8407: The signal handler writes the signal number as a single byte
instead of a nul byte into the wakeup file descriptor. So it is possible to
wait more than one signal and know which signals were raised.
2011-05-08 02:03:15 +02:00
Victor Stinner b3e7219abf Issue #8407: Add pthread_kill(), sigpending() and sigwait() functions to the
signal module.
2011-05-08 01:46:11 +02:00
Brian Curtin 49a40cd562 Adjust OS/2 & VMS grammar, and add Windows 2000 to the unsupported list. 2011-05-02 22:30:06 -05:00
Georg Brandl 00db582272 Fix indentation. 2011-04-30 15:30:03 +02:00
Victor Stinner a929335961 Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
and/or change the signal mask of the calling thread.

Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to
ensure that the SIGALRM signal is received by the main thread.

Original patch written by Jean-Paul Calderone.
2011-04-30 15:21:58 +02:00
Victor Stinner d5c355ccc7 Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
Georg Brandl 0cd25c9dd9 Small grammar fix. 2011-04-29 13:45:54 +02:00