Commit Graph

1488 Commits

Author SHA1 Message Date
Raymond Hettinger 2270d58a2d Make an entry for the os module's bytes accessors.
Split codecs into a separate section.  Rewrite
the Unicode section.
2011-01-20 09:04:39 +00:00
Raymond Hettinger 03ca1a92af Add hasattr() example. 2011-01-20 04:12:37 +00:00
Raymond Hettinger a275c989c9 Add more examples 2011-01-20 04:03:19 +00:00
Raymond Hettinger be9994e0d1 Fix markup. 2011-01-19 08:44:33 +00:00
Raymond Hettinger 89c1cd1fdd Expand entry for pydoc. 2011-01-19 04:43:45 +00:00
Raymond Hettinger c1dfa2e7c3 Improve looks by replacing a bullet list with a table. 2011-01-19 04:24:57 +00:00
Raymond Hettinger 4bea978f65 Add examples for inspect. 2011-01-19 04:14:34 +00:00
David Malcolm 4934864853 Fix typo in example of barrier timeouts from r88102 2011-01-18 23:45:53 +00:00
Raymond Hettinger 2c3865b210 Expand barrier example to show time-outs. 2011-01-18 22:58:33 +00:00
Raymond Hettinger e0f1f3234c Missing word. 2011-01-18 21:14:27 +00:00
Raymond Hettinger 23ab1016a0 Reword the OrderedDict entry to emphasize the default behavior,
to show equivalent code, and to provide a use case.
2011-01-18 20:25:04 +00:00
Raymond Hettinger c8a16867f6 Typos. 2011-01-18 09:01:34 +00:00
Raymond Hettinger ba5512f8f2 More nits. 2011-01-18 08:28:01 +00:00
Raymond Hettinger c136b048b3 Nits. 2011-01-18 07:15:39 +00:00
Raymond Hettinger 93c8cad6d7 More nits. 2011-01-18 00:30:24 +00:00
Raymond Hettinger 7ec790d1fa Add example for the abc module. 2011-01-18 00:19:30 +00:00
Raymond Hettinger ca904be778 Nits. 2011-01-18 00:02:40 +00:00
Raymond Hettinger 9ba8b0a117 Add an import to the logging example 2011-01-17 23:42:17 +00:00
Raymond Hettinger 02dd70be5c The example for configparser was weird. 2011-01-17 23:39:39 +00:00
Raymond Hettinger 6f0d59bad3 Beautify code examples. 2011-01-17 23:10:55 +00:00
Raymond Hettinger 66352d2793 Wording nits. 2011-01-17 22:33:11 +00:00
Raymond Hettinger 1dcc84e43b Fix-up the XXX for importlib.abc. 2011-01-17 21:55:40 +00:00
Raymond Hettinger 4854d14f55 Tidy-up the ssl section. 2011-01-17 21:29:58 +00:00
Raymond Hettinger 15b47c5d7f Note that two-phase cyclic barriers are suitable for use in loops. 2011-01-17 21:05:07 +00:00
Brett Cannon 83a682da30 Placeholder sentence pointing out that imoprtlib has updated (as well as deprecated) ABCs thanks to the new .pyc situation. 2011-01-16 21:02:09 +00:00
Antoine Pitrou ebeb90339d Mention deprecation of PyEval_{Acquire,Release}Lock(). 2011-01-16 18:45:17 +00:00
Antoine Pitrou 2e8ec22242 More SSL-related stuff 2011-01-16 18:41:36 +00:00
Antoine Pitrou f7fb7626d9 Mention HTTP 0.9's partial demise. 2011-01-16 18:34:09 +00:00
Antoine Pitrou bcba43496c Mention the new context parameter to FTP_TLS, and the small API change
in subprocess.Popen.
2011-01-16 18:29:34 +00:00
Raymond Hettinger b965629a42 Issue 10889: Added entry for handling of indexing and slicing with ranges bigger than sys.maxsize. 2011-01-16 18:22:06 +00:00
Antoine Pitrou eec6dbf232 Get proper credit 2011-01-16 18:21:12 +00:00
Antoine Pitrou 121a055a0f Fix misindent 2011-01-16 18:16:52 +00:00
Antoine Pitrou 33da1d65bc Better description of SSL-related changes 2011-01-16 18:16:09 +00:00
Raymond Hettinger 9297709292 Clean-up comment. 2011-01-16 09:18:59 +00:00
Georg Brandl 52a43b5dfd Fix two small issues. 2011-01-16 09:11:45 +00:00
Georg Brandl 23e924f96b Fix "make suspicious" errors and update ignore file. 2011-01-15 17:05:20 +00:00
Georg Brandl 375aec2315 Fix a few doc errors, mostly undefined keywords. 2011-01-15 17:03:02 +00:00
Raymond Hettinger cf8a382c94 Update the email section 2011-01-11 21:20:20 +00:00
Raymond Hettinger 9767365318 Update the datetime and time section. 2011-01-11 21:13:26 +00:00
Raymond Hettinger 3a8ae5f9f4 Clean-up threading.Barrier example. 2011-01-11 20:51:45 +00:00
Raymond Hettinger 5cee47f321 Add entry for Barrier objects. 2011-01-11 19:59:46 +00:00
Raymond Hettinger 6655d113e6 Add a todo. 2011-01-11 08:49:10 +00:00
Raymond Hettinger 51e2107b81 Fix typos and markup. 2011-01-10 23:38:15 +00:00
Alexander Belopolsky dc004a3ad6 Removed time.ctime from the list of functions that take a time tuple argument 2011-01-10 21:58:52 +00:00
Alexander Belopolsky bd96b06fd8 Added entries about removal of year 1900 limit. 2011-01-10 21:55:34 +00:00
Raymond Hettinger eb70b90097 Misspelling. 2011-01-10 21:26:49 +00:00
Raymond Hettinger 4f707fd316 Separate source link from main text. 2011-01-10 19:54:11 +00:00
Raymond Hettinger de2e618eb9 Fix typos. 2011-01-10 05:40:57 +00:00
Raymond Hettinger c08ea61373 Markup fix 2011-01-08 10:32:31 +00:00
R. David Murray 9253214fd9 #10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.
This applies only when generating strings from non-RFC compliant binary
input; it makes the existing recoding behavior more consistent (ie:
now no data is lost when recoding).
2011-01-07 23:25:30 +00:00
Raymond Hettinger 32e8fea396 Update the digest of PEP 3333 based on comments for Phillip Eby. 2011-01-07 21:04:30 +00:00
Raymond Hettinger 388af4bb35 Typo. 2011-01-06 20:55:29 +00:00
Raymond Hettinger 90a4b3162e Nits 2011-01-06 02:08:30 +00:00
Raymond Hettinger 3df4621100 Add PEP 3333 to whatsnew. 2011-01-06 02:01:26 +00:00
Raymond Hettinger e40808a935 Add more porting notes. 2011-01-05 23:00:00 +00:00
Raymond Hettinger 2a5fb47e9c Remove mention of codes pending further discussion on transform()/untransform(). 2011-01-05 22:41:23 +00:00
Raymond Hettinger 2169ee2099 RC1 updates to whatsnew 2011-01-05 22:27:49 +00:00
Raymond Hettinger 7d967712b8 Update tests and whatsnew for the 'quiet' flag 2011-01-05 20:24:08 +00:00
Victor Stinner de3aa7fc62 Issue #10783: rephrase the changelog (new try) 2010-12-29 02:44:42 +00:00
Victor Stinner ece98d6e08 Issue #10783: rephrase the changelog (NEWS, What's new) 2010-12-28 23:35:10 +00:00
Victor Stinner da9ec995f6 Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8
* Replace "bytes" by "bytes object" in struct error messages
 * Document the API change in What's new in Python 3.2
 * Fix test_wave
 * Remove also ugly implicit conversions in test_struct
2010-12-28 13:26:42 +00:00
Alexander Belopolsky fca8beed4a Added an XXX note to describe timedelta/timedelta feature. 2010-12-24 04:22:40 +00:00
Michael Foord eaedfcb400 Another trivial typo correction in whatsnew 2010-12-22 18:28:51 +00:00
Michael Foord 5e9b14c39e Minor typo corrections in whatsnew 2010-12-22 10:39:04 +00:00
Raymond Hettinger f35a34cbab Add todo 2010-12-22 09:11:54 +00:00
Raymond Hettinger 6778fa9b2a Reference the release schedule 2010-12-21 20:09:55 +00:00
Georg Brandl eebb252e6b Use kbd role. 2010-12-18 12:01:15 +00:00
Georg Brandl 5d53fdd1ac Typo fix. 2010-12-18 11:58:12 +00:00
Georg Brandl 101234bc83 Add attribution. 2010-12-18 11:53:25 +00:00
Raymond Hettinger 2b8861fa70 Nits. 2010-12-18 11:20:52 +00:00
Raymond Hettinger 04129748ae Minor markup and wording fixups. 2010-12-18 10:57:50 +00:00
Raymond Hettinger d73be67c3f Minor wordsmithing and markup fix-ups. 2010-12-18 10:48:26 +00:00
Raymond Hettinger 3094ed8c69 Enhance argparse example to show aliases. 2010-12-18 09:41:32 +00:00
Łukasz Langa 79a06ed567 fix for an embarrassing autoformatting SNAFU. Thanks for your alertness, Antoine. 2010-12-17 22:05:46 +00:00
Łukasz Langa 2b38b6cee8 configparser hype coming up! 2010-12-17 21:57:32 +00:00
Raymond Hettinger 09f44140aa Expand the LBYL glossary entry. 2010-12-17 20:19:50 +00:00
Antoine Pitrou 12de8ac215 Credit Florent for porting 2010-12-16 13:33:56 +00:00
Raymond Hettinger 202717db67 Add todo for WSGI 2010-12-16 10:06:11 +00:00
Raymond Hettinger 9743e4f616 Improve the ContextDecorator example. 2010-12-16 02:24:12 +00:00
Raymond Hettinger bb9686f66f Thank you ispell. 2010-12-16 00:53:05 +00:00
Raymond Hettinger 48f3bd331c Nits 2010-12-16 00:30:53 +00:00
Raymond Hettinger 6046e22db3 Entries for ElementTree, collectionsm, functools and ZipFile. 2010-12-16 00:21:08 +00:00
Antoine Pitrou 810023db3e Issue #8844: Regular and recursive lock acquisitions can now be interrupted
by signals on platforms using pthreads.  Patch by Reid Kleckner.
2010-12-15 22:59:16 +00:00
Raymond Hettinger 07a605b1c7 Entry for decimal and fractions. 2010-12-15 22:35:03 +00:00
Raymond Hettinger 480ed78c0e Add entries for structseq, ContextDecorator, and various C-API changes. 2010-12-15 22:07:15 +00:00
Raymond Hettinger 99db3fd03b Elaborate on the calculation used in the random module. 2010-12-15 19:33:49 +00:00
Raymond Hettinger e434b3b681 Add intro to the changed modules section. 2010-12-15 19:20:01 +00:00
Raymond Hettinger 0358a17838 Move email section in with other modules. Fix markup. 2010-12-15 19:00:38 +00:00
Raymond Hettinger a55ffbc84e Minor regroupings. 2010-12-15 18:31:57 +00:00
Raymond Hettinger bba537bc96 Adopt Antoine's suggestion to improve readability with module subsections. 2010-12-15 18:20:19 +00:00
Raymond Hettinger e0a960012f Add entries for the random module and the collections module. 2010-12-15 17:54:13 +00:00
Andrew M. Kuchling 42877fec3a Typo fix 2010-12-15 02:37:01 +00:00
Raymond Hettinger ffad35ef27 Nits 2010-12-14 21:12:03 +00:00
Benjamin Peterson 28a4dce6a8 remove (un)transform methods 2010-12-12 01:33:04 +00:00
Georg Brandl cc9d237fe7 Fix typo. 2010-12-10 19:22:11 +00:00
Raymond Hettinger 070ec70cbe Move nntp entry back to changed modules section and add entry for non-ascii import directories. 2010-12-10 17:45:13 +00:00
Raymond Hettinger 522cc0a9a1 Reclassify some entries and remove a couple of minor ones. 2010-12-10 01:19:15 +00:00
Raymond Hettinger 21ec4bc296 Overview of email module and recategorize various entries. 2010-12-10 01:09:01 +00:00
Raymond Hettinger 5eb6390fc7 Doh! Example pasted twice, but only once in the right place. 2010-12-09 23:43:34 +00:00
Raymond Hettinger 792c076cce Entries for datetime, callable, and collections.Counter. 2010-12-09 16:41:54 +00:00
Alexander Belopolsky 84cc06288d Edited the Unicode 6.0.0 entry to add unicode.org links and trim the summary. 2010-12-08 21:38:46 +00:00
Alexander Belopolsky 72572319fc Added a datetime new features entry 2010-12-08 21:21:56 +00:00
Raymond Hettinger 515fabbf96 Entry for inspect.getattr_static(). 2010-12-08 11:33:19 +00:00
Raymond Hettinger b1ff4024a8 Example of argparge with subparsers. 2010-12-08 11:19:45 +00:00
Raymond Hettinger 2ffa671de7 range() example 2010-12-08 10:18:21 +00:00
Raymond Hettinger 24a0941a0f Nits. 2010-12-08 06:50:02 +00:00
Raymond Hettinger 83d8079ee7 Clean-ups. 2010-12-08 06:48:33 +00:00
Raymond Hettinger b105519710 Add example for concurrent.futures. 2010-12-08 06:42:41 +00:00
Raymond Hettinger 3fcf002994 Update whatsnew. Salt the random number seed. 2010-12-08 01:13:53 +00:00
Raymond Hettinger 2c1ecc300e Martin's name with Unicode. 2010-12-07 09:55:02 +00:00
Raymond Hettinger 673ccf20dc Clean-ups and examples. 2010-12-07 09:37:11 +00:00
Raymond Hettinger 68f1e8d87f Spelling. 2010-12-07 09:24:30 +00:00
Raymond Hettinger a0266335f5 More cleanups and examples. 2010-12-07 08:52:41 +00:00
Raymond Hettinger 677e10a45e Add example for the entry for argparse 2010-12-07 06:45:30 +00:00
Raymond Hettinger b5d793309e Add entry for new pdb features 2010-12-07 02:04:56 +00:00
Raymond Hettinger 3f9734c0f4 Add entry for the new sysconfig module. 2010-12-07 01:47:52 +00:00
David Malcolm 778645a379 Fix typo 2010-12-07 00:32:04 +00:00
Raymond Hettinger 1fa7682c26 Note improvements to the docs. 2010-12-06 23:31:36 +00:00
Raymond Hettinger b87ba269e0 Typo fixups. 2010-12-06 04:31:40 +00:00
Georg Brandl 65b2eb9dfe Fix title. 2010-12-05 11:42:38 +00:00
Raymond Hettinger e5e1a987b2 Nits and todos 2010-12-05 08:35:21 +00:00
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
Nick Coghlan 5b0eca116a Issue #4489: Rename the feature marker for the symlink resistant rmtree and store it as a function attribute 2012-06-24 16:43:06 +10:00
Éric Araujo 859aad6a36 Remove packaging from the standard library.
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready.  See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Nick Coghlan 04e2e3f231 Close #15153: Added inspect.getgeneratorlocals to simplify whitebox testing of generator state updates 2012-06-23 19:52:05 +10:00
Nick Coghlan 2f92e54507 Close #13062: Add inspect.getclosurevars to simplify testing stateful closures 2012-06-23 19:39:55 +10:00
Antoine Pitrou c90929624b Mention the UTF-16 encoding speedup in the whatsnew (issue #15026). 2012-06-15 22:22:18 +02:00
Nick Coghlan 4fae8cdaea Close #13857: Added textwrap.indent() function (initial patch by Ezra
Berch)
2012-06-11 23:07:51 +10:00
Georg Brandl 3539afd5c9 Update pydoc topics and fix new suspicious markup. 2012-05-30 22:03:20 +02:00
R David Murray cb448cf108 #12586: Expand What's New email entry with provisional policy features. 2012-05-25 22:25:56 -04:00
R David Murray 0fa2edd08f #14731: add preliminary What's New entry for policy framework. 2012-05-25 17:59:56 -04:00
Nick Coghlan b47b53941a Placeholder in What's New for the major packaging infrastructure changes 2012-05-26 01:31:25 +10:00
Nick Coghlan 161ea6a349 Fix typo 2012-05-22 23:04:42 +10:00
Antoine Pitrou 389e8c85cd Remove outdated statement. 2012-05-21 19:23:00 +02:00
Nick Coghlan 3267a30de1 Close #13585: add contextlib.ExitStack to replace the ill-fated contextlib.nested API 2012-05-21 22:54:43 +10:00
Nick Coghlan dc9b2555a8 Issue #14814: addition of the ipaddress module (stage 1 - code and tests) 2012-05-20 21:01:57 +10:00
Nick Coghlan 7fc570a51e Close #14588: added a PEP 3115 compliant dynamic type creation mechanism 2012-05-20 02:34:13 +10:00
Antoine Pitrou 79341e7865 Add a mention of the new import locks in whatsnew. 2012-05-17 21:13:45 +02:00
Antoine Pitrou 5cec9d2ae5 Add mention of decoding optimizations in the what's new document. 2012-05-17 17:37:02 +02:00
Giampaolo Rodola' ffa1d0b8d5 #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
Antoine Pitrou 9a2349030a Issue #14417: Mutating a dict during lookup now restarts the lookup instead of raising a RuntimeError (undoes issue #14205). 2012-05-13 20:48:01 +02:00
Antoine Pitrou 9a86447c12 Add some whatsnew entries 2012-05-04 23:15:47 +02:00
Brett Cannon c204348906 Write the What's New for the importlib stuff. 2012-04-29 20:59:41 -04:00
Victor Stinner 47620a6611 Close #14309: Deprecate time.clock()
Use time.perf_counter() or time.process_time() instead.
2012-04-29 02:52:39 +02:00
Victor Stinner ec89539ccc Issue #14428, #14397: Implement the PEP 418
* Rename time.steady() to time.monotonic()
 * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of
   QueryPerformanceCounter()
 * time.monotonic() uses CLOCK_HIGHRES if available
 * Add time.get_clock_info(), time.perf_counter() and time.process_time()
   functions
2012-04-29 02:41:27 +02:00
Victor Stinner 0db176f8f6 Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType 2012-04-16 00:16:30 +02:00
Stefan Krah 0c0914edb0 _decimal is now 100x faster than the Python version in the pi benchmark. 2012-04-09 20:31:15 +02:00
Éric Araujo 4f61a2dbde A few tweaks to whatsnew/3.3 (fixes #14362) 2012-04-04 23:01:01 -04:00
Benjamin Peterson e50d6abea4 add XXX 2012-04-03 00:52:18 -04:00
Georg Brandl 204e7896d6 Remove parens around link. 2012-04-01 13:10:58 +02:00
Stefan Krah bf8030830f Issue #14394: Use elaborate phrases that boil down to "one to two orders
of magnitude". Provide link to the benchmarks.
2012-04-01 13:07:24 +02:00
R David Murray 4a1ad9148b #14413: tweak word order in deprecation section 2012-03-26 13:34:46 -04:00
Stefan Krah 1919b7e72b Issue #7652: Integrate the decimal floating point libmpdec library to speed
up the decimal module. Performance gains of the new C implementation are
between 12x and 80x, depending on the application.
2012-03-21 18:25:23 +01:00
Eli Bendersky 7add4eaa6d updated whatsnew/3.3.rst with the new methods added to list and bytearray (issue 10516) 2012-03-17 15:14:35 +02:00
Victor Stinner ec919cc74d Issue #10278: Drop time.monotonic() function, rename time.wallclock() to time.steady()
* On Mac OS X, time.steady() now uses mach_absolute_time(), a monotonic clock
 * Optimistic change: bet that CLOCK_MONOTONIC and CLOCK_REALTIME are available
   when clock_gettime() is available
 * Rewrite time.steady() documentation
2012-03-15 00:58:32 +01:00
Victor Stinner 30c825c751 What's New in Python 3.3: Repeat the dict lookup change in Porting section 2012-03-14 00:40:57 +01:00
Victor Stinner ecc6e6613f Fix doc of datetime.date*.*fromtimestamp() methods 2012-03-14 00:39:29 +01:00
Georg Brandl 4c7c3c58be Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases 2012-03-10 22:36:48 +01:00
Georg Brandl a08e7e1c5d Close #14248: fix typo. 2012-03-10 20:52:16 +01:00
Victor Stinner 8c43e69bce Issue #14205: Document the dict lookup change in What's New in Python 3.3 2012-03-09 14:04:01 +01:00
Georg Brandl d6c4340f77 Add todo item about hash randomization. 2012-03-07 08:55:52 +01:00
Nick Coghlan b9b281b787 Add some simple examples to the PEP 380 section of What's New 2012-03-06 22:31:12 +10:00
Nick Coghlan 98e20701cb Add PEP 414 to What's New, consolidate memoryview entries 2012-03-06 21:50:13 +10:00
Martin v. Löwis de157cc5bc Issue #14200: Add benchmark results to text flow. 2012-03-06 08:42:17 +01:00
Stefan Krah 54c32032aa Issue #10181: Add warning that structure layouts in memoryobject.h and
object.h have changed.
2012-02-29 17:47:21 +01:00
Stefan Krah 95b1ba6388 Add PyMemoryView_FromMemory() to whatsnew/3.3. 2012-02-29 17:27:21 +01:00
Georg Brandl 6181b397c4 Remove duplicate label. 2012-02-26 23:02:53 +01:00
Nick Coghlan ab7bf2143e Close issue #6210: Implement PEP 409 2012-02-26 17:49:52 +10:00
Stefan Krah 9a2d99e28a - Issue #10181: New memoryview implementation fixes multiple ownership
and lifetime issues of dynamically allocated Py_buffer members (#9990)
  as well as crashes (#8305, #7433). Many new features have been added
  (See whatsnew/3.3), and the documentation has been updated extensively.
  The ndarray test object from _testbuffer.c implements all aspects of
  PEP-3118, so further development towards the complete implementation
  of the PEP can proceed in a test-driven manner.

  Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
  and many ideas.

- Issue #12834: Fix incorrect results of memoryview.tobytes() for
  non-contiguous arrays.

- Issue #5231: Introduce memoryview.cast() method that allows changing
  format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Antoine Pitrou c229e6e8ff Issue #14040: Remove rarely used file name suffixes for C extensions (under POSIX mainly).
This will improve import performance a bit (especially under importlib).
2012-02-20 19:41:11 +01:00
Sandro Tosi 488a56d2fb merge with 3.2 2012-02-19 12:30:47 +01:00
Florent Xicluna a72a98f24a Issue #13988: cElementTree is deprecated and the _elementtree accelerator is automatically used whenever available. 2012-02-13 11:03:30 +01:00
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
Sandro Tosi ee090c71b7 merge with 3.2 2012-01-14 22:27:56 +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
Sandro Tosi b1d44dbf1f Issue #12042: merge with 3.2 2012-01-05 19:49:27 +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
Antoine Pitrou d5ec134d82 Issue #13597: Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams. 2011-12-21 11:24:47 +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
Jason R. Coombs c9b644eac2 Merge fix for Issue #12666 from 3.2 2011-12-03 08:59:53 -05: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 5f7f6150c3 Merge 3.2 2011-11-15 16:13:16 +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
Raymond Hettinger 587e75c70b merge 2011-10-19 14:16:47 -07:00
Senthil Kumaran a41c942685 Doc improvements suggested by Éric Araujo for the new 'HEAD' Request feature. 2011-10-20 02:37:08 +08:00
Ezio Melotti f10644983e Merge with 3.2. 2011-10-19 11:06:26 +03: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
Ezio Melotti a6968edcb0 Merge whatsnew fixes with 3.2. 2011-10-10 00:31:00 +03: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
Senthil Kumaran ef94203439 merge from 3.2 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902. 2011-08-06 12:55:06 +08: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
Senthil Kumaran 276a58b821 Merge from 3.2 . Replace the term members with correct and appropriate terminology. Initial patch by Adam Woodbeck. 2011-07-04 11:31:53 -07: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
Benjamin Peterson 12aebabd99 merge 3.2 2011-06-16 18:51:37 -05: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
Victor Stinner b90db4caf0 Issue #11918: OS/2 and VMS are no more supported because of the lack of
maintainer.
2011-04-26 22:48:24 +02:00
Victor Stinner 754851f456 Issue #11223: Add threading._info() function providing informations about the
thread implementation.

Skip test_lock_acquire_interruption() and test_rlock_acquire_interruption() of
test_threadsignals if a thread lock is implemented using a POSIX mutex and a
POSIX condition variable. A POSIX condition variable cannot be interrupted by a
signal (e.g. on Linux, the futex system call is restarted).
2011-04-19 23:58:51 +02:00
Victor Stinner 024e37adcc Issue #11393: Add the new faulthandler module 2011-03-31 01:31:06 +02:00
Éric Araujo be3bd57ba2 Remove traces of division_warning left over from Python 2 (#10998) 2011-03-26 01:55:15 +01:00
Raymond Hettinger 4967be074b Issue #11071: Fix whatsnew description of O/S access to raw bytes. 2011-03-25 12:41:34 -07:00
Éric Araujo c09fca67e7 Do not touch sys.path when site is imported and python was started with -S.
Original patch by Carl Meyer, review by Brett Cannon, small doc editions by
yours truly.  Fixes #11591.
2011-03-23 02:06:24 +01:00
Antoine Pitrou ec43833cc7 Merge doc update 2011-03-15 20:23:30 +01:00
Giampaolo Rodolà 424298a155 Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement. 2011-03-03 18:34:06 +00:00
Giampaolo Rodolà 18e8bcb289 Issue 10784: adds os.getpriority() and os.setpriority() functions. 2011-02-25 20:57:54 +00:00
Giampaolo Rodolà c9c2c8b034 Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall) 2011-02-25 14:39:16 +00:00
Georg Brandl c9c9bc02a8 Add 3.3 whatsnew to index. 2011-02-25 11:28:22 +00:00
Giampaolo Rodolà 3108f98319 Adds Python 3.3 what's new document. 2011-02-24 20:59:48 +00:00
Raymond Hettinger 2cef949c9d Issue 10160: Both single-arg and multi-arg calls have been sped-up. 2011-02-21 17:54:36 +00:00
Georg Brandl 326c57d1d9 Typo fix. 2010-11-26 12:10:06 +00:00
Georg Brandl 8449932320 #10526: fix typo. 2010-11-26 11:50:13 +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
Georg Brandl 6faee4e2ce #9911: doc copyedits. 2010-09-21 14:48:28 +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
Mark Dickinson 8858d2cb84 Clarify whatsnew entry for short float repr: roundtripping is not a new feature in 2.7. 2010-08-15 09:43:29 +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
Georg Brandl a5eacee237 Fix some markup glitches. 2010-07-23 16:55:26 +00:00
Georg Brandl de41bf3dd5 Fix typo. 2010-07-11 09:26:57 +00:00
Georg Brandl b0f0991cdb #9166: NotImplemented is not an exception. 2010-07-05 17:48:38 +00:00
Nick Coghlan 4bfb7da842 Merged revisions 82441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82441 | nick.coghlan | 2010-07-03 02:01:53 +1000 (Sat, 03 Jul 2010) | 1 line

  Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New
........
2010-07-02 16:14:05 +00:00
Nick Coghlan 9fc68c4e70 Merged revisions 82439 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82439 | nick.coghlan | 2010-07-03 01:50:14 +1000 (Sat, 03 Jul 2010) | 1 line

  Fix a couple of minor nits in What's New before the release goes out
........
2010-07-02 15:57:50 +00:00
Benjamin Peterson d7c3ed54ef Merged revisions 80605-80609,80642-80646,80651-80652,80674,80684-80686,80748,80852,80854,80870,80872-80873,80907,80915-80916,80951-80952,80976-80977,80985,81038-81040,81042,81053,81070,81104-81105,81114,81125,81245,81285,81402,81463,81516,81562-81563,81567,81593,81635,81680-81681,81684,81801,81888,81931-81933,81939-81942,81963,81984,81991,82120,82188,82264-82267 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80605 | andrew.kuchling | 2010-04-28 19:22:16 -0500 (Wed, 28 Apr 2010) | 1 line

  Add various items
........
  r80606 | andrew.kuchling | 2010-04-28 20:44:30 -0500 (Wed, 28 Apr 2010) | 6 lines

  Fix doubled 'the'.
  Markup fixes to use :exc:, :option: in a few places.
    (Glitch: unittest.main's -c ends up a link to the Python
    interpreter's -c option.  Should we skip using :option: for that
    switch, or disable the auto-linking somehow?)
........
  r80607 | andrew.kuchling | 2010-04-28 20:45:41 -0500 (Wed, 28 Apr 2010) | 1 line

  Add various unittest items
........
  r80608 | benjamin.peterson | 2010-04-28 22:18:05 -0500 (Wed, 28 Apr 2010) | 1 line

  update pypy description
........
  r80609 | benjamin.peterson | 2010-04-28 22:30:59 -0500 (Wed, 28 Apr 2010) | 1 line

  update pypy url
........
  r80642 | andrew.kuchling | 2010-04-29 19:49:09 -0500 (Thu, 29 Apr 2010) | 1 line

  Always add space after RFC; reword paragraph
........
  r80643 | andrew.kuchling | 2010-04-29 19:52:31 -0500 (Thu, 29 Apr 2010) | 6 lines

  Reword paragraph to make its meaning clearer.

  Antoine Pitrou: is my version of the paragraph still correct?

  R. David Murray: is this more understandable than the previous version?
........
  r80644 | andrew.kuchling | 2010-04-29 20:02:15 -0500 (Thu, 29 Apr 2010) | 1 line

  Fix typos
........
  r80645 | andrew.kuchling | 2010-04-29 20:32:47 -0500 (Thu, 29 Apr 2010) | 1 line

  Markup fix; clarify by adding 'in that order'
........
  r80646 | andrew.kuchling | 2010-04-29 20:33:40 -0500 (Thu, 29 Apr 2010) | 1 line

  Add various items; rearrange unittest section a bit
........
  r80651 | andrew.kuchling | 2010-04-30 08:46:55 -0500 (Fri, 30 Apr 2010) | 1 line

  Minor grammar re-wording
........
  r80652 | andrew.kuchling | 2010-04-30 08:47:34 -0500 (Fri, 30 Apr 2010) | 1 line

  Add item
........
  r80674 | andrew.kuchling | 2010-04-30 20:19:16 -0500 (Fri, 30 Apr 2010) | 1 line

  Add various items
........
  r80684 | andrew.kuchling | 2010-05-01 07:05:52 -0500 (Sat, 01 May 2010) | 1 line

  Minor grammar fix
........
  r80685 | andrew.kuchling | 2010-05-01 07:06:51 -0500 (Sat, 01 May 2010) | 1 line

  Describe memoryview
........
  r80686 | antoine.pitrou | 2010-05-01 07:16:39 -0500 (Sat, 01 May 2010) | 4 lines

  Fix attribution. Travis didn't do much and he did a bad work.
  (yes, this is a sensitive subject, sorry)
........
  r80748 | andrew.kuchling | 2010-05-03 20:24:22 -0500 (Mon, 03 May 2010) | 1 line

  Add some more items; the urlparse change is added twice
........
  r80852 | andrew.kuchling | 2010-05-05 20:09:47 -0500 (Wed, 05 May 2010) | 1 line

  Reword paragraph; fix filename, which should be pyconfig.h
........
  r80854 | andrew.kuchling | 2010-05-05 20:10:56 -0500 (Wed, 05 May 2010) | 1 line

  Add various items
........
  r80870 | andrew.kuchling | 2010-05-06 09:14:09 -0500 (Thu, 06 May 2010) | 1 line

  Describe ElementTree 1.3; rearrange new-module sections; describe dict views as sets; small edits and items
........
  r80872 | andrew.kuchling | 2010-05-06 12:21:59 -0500 (Thu, 06 May 2010) | 1 line

  Add 2 items; record ideas for two initial sections; clarify wording
........
  r80873 | andrew.kuchling | 2010-05-06 12:27:57 -0500 (Thu, 06 May 2010) | 1 line

  Change section title; point to unittest2
........
  r80907 | andrew.kuchling | 2010-05-06 20:45:14 -0500 (Thu, 06 May 2010) | 1 line

  Add a new section on the development plan; add an item
........
  r80915 | antoine.pitrou | 2010-05-07 05:15:51 -0500 (Fri, 07 May 2010) | 3 lines

  Fix some markup and a class name. Also, wrap a long line.
........
  r80916 | andrew.kuchling | 2010-05-07 06:30:47 -0500 (Fri, 07 May 2010) | 1 line

  Re-word text
........
  r80951 | andrew.kuchling | 2010-05-07 20:15:26 -0500 (Fri, 07 May 2010) | 1 line

  Add two items
........
  r80952 | andrew.kuchling | 2010-05-07 20:35:55 -0500 (Fri, 07 May 2010) | 1 line

  Get accents correct
........
  r80976 | andrew.kuchling | 2010-05-08 08:28:03 -0500 (Sat, 08 May 2010) | 1 line

  Add logging.dictConfig example; give up on writing a Ttk example
........
  r80977 | andrew.kuchling | 2010-05-08 08:29:46 -0500 (Sat, 08 May 2010) | 1 line

  Markup fixes
........
  r80985 | andrew.kuchling | 2010-05-08 10:39:46 -0500 (Sat, 08 May 2010) | 7 lines

  Write summary of the 2.7 release; rewrite the future section some more;
  mention PYTHONWARNINGS env. var; tweak some examples for readability.

  And with this commit, the "What's New" is done... except for a
  complete read-through to polish the text, and fixing any reported errors,
  but those tasks can easily wait until after beta2.
........
  r81038 | benjamin.peterson | 2010-05-09 16:09:40 -0500 (Sun, 09 May 2010) | 1 line

  finish clause
........
  r81039 | andrew.kuchling | 2010-05-10 09:18:27 -0500 (Mon, 10 May 2010) | 1 line

  Markup fix; re-word a sentence
........
  r81040 | andrew.kuchling | 2010-05-10 09:20:12 -0500 (Mon, 10 May 2010) | 1 line

  Use title case
........
  r81042 | andrew.kuchling | 2010-05-10 10:03:35 -0500 (Mon, 10 May 2010) | 1 line

  Link to unittest2 article
........
  r81053 | florent.xicluna | 2010-05-10 14:59:22 -0500 (Mon, 10 May 2010) | 2 lines

  Add a link on maketrans().
........
  r81070 | andrew.kuchling | 2010-05-10 18:13:41 -0500 (Mon, 10 May 2010) | 1 line

  Fix typo
........
  r81104 | andrew.kuchling | 2010-05-11 19:38:44 -0500 (Tue, 11 May 2010) | 1 line

  Revision pass: lots of edits, typo fixes, rearrangements
........
  r81105 | andrew.kuchling | 2010-05-11 19:40:47 -0500 (Tue, 11 May 2010) | 1 line

  Let's call this done
........
  r81114 | andrew.kuchling | 2010-05-12 08:56:07 -0500 (Wed, 12 May 2010) | 1 line

  Grammar fix
........
  r81125 | andrew.kuchling | 2010-05-12 13:56:48 -0500 (Wed, 12 May 2010) | 1 line

  #8696: add documentation for logging.config.dictConfig (PEP 391)
........
  r81245 | andrew.kuchling | 2010-05-16 18:31:16 -0500 (Sun, 16 May 2010) | 1 line

  Add cross-reference to later section
........
  r81285 | vinay.sajip | 2010-05-18 03:16:27 -0500 (Tue, 18 May 2010) | 1 line

  Fixed minor typo in ReST markup.
........
  r81402 | vinay.sajip | 2010-05-21 12:41:34 -0500 (Fri, 21 May 2010) | 1 line

  Updated logging documentation with more dictConfig information.
........
  r81463 | georg.brandl | 2010-05-22 03:17:23 -0500 (Sat, 22 May 2010) | 1 line

  #8785: less confusing description of regex.find*.
........
  r81516 | andrew.kuchling | 2010-05-25 08:34:08 -0500 (Tue, 25 May 2010) | 1 line

  Add three items
........
  r81562 | andrew.kuchling | 2010-05-27 08:22:53 -0500 (Thu, 27 May 2010) | 1 line

  Rewrite wxWidgets section
........
  r81563 | andrew.kuchling | 2010-05-27 08:30:09 -0500 (Thu, 27 May 2010) | 1 line

  Remove top-level 'General Questions' section, pushing up the questions it contains
........
  r81567 | andrew.kuchling | 2010-05-27 16:29:59 -0500 (Thu, 27 May 2010) | 1 line

  Add item
........
  r81593 | georg.brandl | 2010-05-29 03:46:18 -0500 (Sat, 29 May 2010) | 1 line

  #8616: add new turtle demo "nim".
........
  r81635 | georg.brandl | 2010-06-01 02:25:23 -0500 (Tue, 01 Jun 2010) | 1 line

  Put docs for RegexObject.search() before RegexObject.match() to mirror re.search() and re.match() order.
........
  r81680 | vinay.sajip | 2010-06-03 17:34:42 -0500 (Thu, 03 Jun 2010) | 1 line

  Issue #8890: Documentation changed to avoid reference to temporary files.
........
  r81681 | sean.reifschneider | 2010-06-03 20:51:26 -0500 (Thu, 03 Jun 2010) | 2 lines

  Issue8810: Clearing up docstring for tzinfo.utcoffset.
........
  r81684 | vinay.sajip | 2010-06-04 08:41:02 -0500 (Fri, 04 Jun 2010) | 1 line

  Issue #8890: Documentation changed to avoid reference to temporary files - other cases covered.
........
  r81801 | andrew.kuchling | 2010-06-07 08:38:40 -0500 (Mon, 07 Jun 2010) | 1 line

  #8875: Remove duplicated paragraph
........
  r81888 | andrew.kuchling | 2010-06-10 20:54:58 -0500 (Thu, 10 Jun 2010) | 1 line

  Add a few more items
........
  r81931 | georg.brandl | 2010-06-12 01:26:54 -0500 (Sat, 12 Jun 2010) | 1 line

  Fix punctuation.
........
  r81932 | georg.brandl | 2010-06-12 01:28:58 -0500 (Sat, 12 Jun 2010) | 1 line

  Document that an existing directory raises in mkdir().
........
  r81933 | georg.brandl | 2010-06-12 01:45:33 -0500 (Sat, 12 Jun 2010) | 1 line

  Update version in README.
........
  r81939 | georg.brandl | 2010-06-12 04:45:01 -0500 (Sat, 12 Jun 2010) | 1 line

  Use newer toctree syntax.
........
  r81940 | georg.brandl | 2010-06-12 04:45:28 -0500 (Sat, 12 Jun 2010) | 1 line

  Add document on how to build.
........
  r81941 | georg.brandl | 2010-06-12 04:45:58 -0500 (Sat, 12 Jun 2010) | 1 line

  Fix gratuitous indentation.
........
  r81942 | georg.brandl | 2010-06-12 04:46:03 -0500 (Sat, 12 Jun 2010) | 1 line

  Update README.
........
  r81963 | andrew.kuchling | 2010-06-12 15:00:55 -0500 (Sat, 12 Jun 2010) | 1 line

  Grammar fix
........
  r81984 | georg.brandl | 2010-06-14 10:58:39 -0500 (Mon, 14 Jun 2010) | 1 line

  #8993: fix reference.
........
  r81991 | andrew.kuchling | 2010-06-14 19:38:58 -0500 (Mon, 14 Jun 2010) | 1 line

  Add another bunch of items
........
  r82120 | andrew.kuchling | 2010-06-20 16:45:45 -0500 (Sun, 20 Jun 2010) | 1 line

  Note that Python 3.x isn't covered; add forward ref. for UTF-8; note error in 2.5 and up
........
  r82188 | benjamin.peterson | 2010-06-23 19:02:46 -0500 (Wed, 23 Jun 2010) | 1 line

  remove reverted changed
........
  r82264 | georg.brandl | 2010-06-27 05:47:47 -0500 (Sun, 27 Jun 2010) | 1 line

  Confusing punctuation.
........
  r82265 | georg.brandl | 2010-06-27 05:49:23 -0500 (Sun, 27 Jun 2010) | 1 line

  Use designated syntax for optional grammar element.
........
  r82266 | georg.brandl | 2010-06-27 05:51:44 -0500 (Sun, 27 Jun 2010) | 1 line

  Fix URL.
........
  r82267 | georg.brandl | 2010-06-27 05:55:38 -0500 (Sun, 27 Jun 2010) | 1 line

  Two typos.
........
2010-06-27 22:32:30 +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
Mark Dickinson f4112e2653 Add note about changes to the `round` function between 2.x and 3.x. 2010-06-17 18:24:52 +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
Ezio Melotti 11d22dce3a Merged revisions 79963,80024,80064,80070,80085,80088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79963 | andrew.kuchling | 2010-04-11 23:40:09 +0300 (Sun, 11 Apr 2010) | 1 line

  Add several items
........
  r80024 | andrew.kuchling | 2010-04-13 04:32:51 +0300 (Tue, 13 Apr 2010) | 1 line

  Add an item; stray edit
........
  r80064 | andrew.kuchling | 2010-04-14 04:14:59 +0300 (Wed, 14 Apr 2010) | 1 line

  Add argparse example
........
  r80070 | andrew.kuchling | 2010-04-14 17:28:31 +0300 (Wed, 14 Apr 2010) | 1 line

  Add some text
........
  r80085 | andrew.kuchling | 2010-04-15 02:55:17 +0300 (Thu, 15 Apr 2010) | 1 line

  Add various items; correct argparse output
........
  r80088 | andrew.kuchling | 2010-04-15 04:42:27 +0300 (Thu, 15 Apr 2010) | 1 line

  Add various items
........
2010-04-20 09:55:05 +00:00