Tim Golden
2964138371
Issue #10197 : Indicate availability of subprocess.get[status]output on Windows and add a note about the effects of universal newlines
2013-11-03 18:25:51 +00:00
Tim Golden
3a2abb5800
Issue #10197 : Indicate availability of subprocess.get[status]output on Windows and add a note about the effects of universal newlines
2013-11-03 18:24:50 +00:00
R David Murray
c3f57e4a35
Merge #19411 : Clarify that b2a_hex/hexlify returns a bytes object.
2013-11-03 13:22:17 -05:00
R David Murray
5fdb64b5a0
#19411 : Clarify that b2a_hex/hexlify returns a bytes object.
...
Initial patch by Vajrasky Kok.
2013-11-03 13:21:38 -05:00
Nick Coghlan
8e113b418d
Close #19403 : make contextlib.redirect_stdout reentrant
2013-11-03 17:00:51 +10:00
Nick Coghlan
f4cb48a72b
Issue #4331 : Added functools.partialmethod
...
Initial patch by Alon Horev
2013-11-03 16:41:46 +10:00
Ezio Melotti
88ebfb129b
#15114 : The html.parser module now raises a DeprecationWarning when the strict argument of HTMLParser or the HTMLParser.error method are used.
2013-11-02 17:08:24 +02:00
Brett Cannon
f6901c8baa
Issue #19410 : Put back in special-casing of '' for
...
importlib.machinery.FileFinder.
While originally moved to stop special-casing '' as PathFinder farther
up the typical call chain now uses the cwd in the instance of '', it
was deemed an unnecessary risk to breaking subclasses of FileFinder to
take the special-casing out.
2013-11-01 10:37:57 -04:00
Eli Bendersky
2915dd7103
Issue #19452 : Clarify the documentation of iterparse w.r.t. events argument.
...
In 3.3 iterparse accepts a tuple in events (the C accelerator enforces this).
This limitation was lifted in Python 3.4
2013-10-31 05:53:39 -07:00
Vinay Sajip
5605613f9c
Merged documentation update from 3.3.
2013-10-31 01:11:17 +00:00
Vinay Sajip
9b83d533e2
Corrected some incorrect cross-references.
2013-10-31 01:10:30 +00:00
Charles-François Natali
4574b49703
Issue #19172 : Add a get_map() method to selectors.
2013-10-30 20:31:04 +01:00
Christian Heimes
9f09120b83
merge
2013-10-29 22:21:16 +01:00
Christian Heimes
47674bc470
fix language
2013-10-29 22:19:39 +01:00
Christian Heimes
ee0bac66b2
Issue #19227 / Issue #18747 : Remove pthread_atfork() handler to remove OpenSSL re-seeding
...
It is causing trouble like e.g. hanging processes.
2013-10-29 21:11:55 +01:00
Christian Heimes
3046fe4c03
Issue #18747 : document issue with OpenSSL's CPRNG state and fork
2013-10-29 21:08:56 +01:00
Georg Brandl
3a19a89eac
merge with 3.3
2013-10-29 08:17:08 +01:00
Georg Brandl
3d596fa90b
Clarify sentence.
2013-10-29 08:16:56 +01:00
Georg Brandl
21527bf72f
Closes #19416 : fix references in the nntplib docs.
2013-10-29 08:14:51 +01:00
Georg Brandl
1ed80b09ed
Fix wrong signature for two-argument newwin(). Found by Jacqueline Leykam on docs@.
2013-10-29 08:10:36 +01:00
Georg Brandl
ad3215362c
Fix typo: js_JP is not a valid locale.
2013-10-29 08:05:10 +01:00
Georg Brandl
325a1c2f37
Fix markup errors in the docs and amend suspicious ignores.
2013-10-27 09:16:01 +01:00
Georg Brandl
bf3f8eb960
Issue #16037 : HTTPMessage.readheaders() raises an HTTPException when more than
...
100 headers are read. Adapted from patch by Jyrki Pulliainen.
2013-10-27 07:34:48 +01:00
Georg Brandl
72c98d3a76
Issue #17997 : Change behavior of ``ssl.match_hostname()`` to follow RFC 6125,
...
for security reasons. It now doesn't match multiple wildcards nor wildcards
inside IDN fragments.
2013-10-27 07:16:53 +01:00
Brett Cannon
6fd25c39c4
Issue #19392 : Document that imp.reload() now relies on __loader__
...
being defined on top of __name__.
2013-10-25 13:46:15 -04:00
Georg Brandl
186729e812
merge with 3.3
2013-10-27 09:54:53 +01:00
Georg Brandl
b89b5df9c9
merge with 3.3
2013-10-27 07:46:09 +01:00
Nick Coghlan
367df12044
Assorted 3.4 What's New updates
...
- cross-references and attributions for inspect changes
- note improvements to inspect and pydoc handling of
metaclasses and dynamic attributes (courtesy of the
enum PEP)
- group all CPython implementation specific changes
into a common section
- add see also links for most of the PEPs
- fix the see also link for the release PEP
- add suitable caveats on Argument Clinic inclusion
- clarify the change to __wrapped__ handling
2013-10-27 01:57:34 +10:00
Antoine Pitrou
3b2f0f0459
Issue #19375 : The site module adding a "site-python" directory to sys.path, if it exists, is now deprecated.
2013-10-25 21:39:26 +02:00
Brett Cannon
6a4cbc00ab
merge
2013-10-25 13:53:06 -04:00
Brett Cannon
8ad37860c9
Tweak some doc wording for importlib.reload
2013-10-25 13:52:46 -04:00
bquinlan
c00cf53d84
Merge.
2013-10-26 04:51:18 +11:00
bquinlan
7749cb5c35
Issue #11161 : Update the documentation for ProcessPoolExecutor to note that it will not work in the interactive shell.
2013-10-26 04:49:55 +11:00
Brett Cannon
50aa32409b
merge from 3.3
2013-10-25 13:49:20 -04:00
Christian Heimes
c4a4b346a6
Issue #16595 : prlimit() needs Linux kernel 2.6.36+
2013-10-25 08:31:19 +02:00
Peter Moody
e5019d5183
#17400 : correct handling of 100.64.0.0/10, fixing the docs and updating NEWS
2013-10-24 09:47:10 -07:00
Victor Stinner
3dd263faab
Close #19345 : fix typo
2013-10-23 18:54:43 +02:00
Peter Moody
be9c1b133b
#17400 : fix documentation, add cache to is_global and correctly handle 100.64.0.0/10
2013-10-22 12:36:21 -07:00
Tim Golden
a4df90ceb9
Issue #15207 : Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
2013-10-22 20:03:47 +01:00
Tim Golden
27a856495e
Issue #15207 : Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
2013-10-22 19:27:34 +01:00
Christian Heimes
086b1afa55
Issue #19344 : fix markup error in whatsnew
...
Thanks to Marius Gedminas
2013-10-22 11:49:34 +02:00
Christian Heimes
b7bd5df809
Issue #16595 : Add prlimit() to resource module
...
prlimit() is a Linux specific command that combines setrlimit, getrlimit and can set the limit
of other processes.
2013-10-22 11:21:54 +02:00
Christian Heimes
6fc79bf813
Issue #19324 : Expose Linux-specific constants in resource module
2013-10-22 11:09:27 +02:00
Peter Moody
8ed30c15e8
#17400 ; NEWS and ipaddress.rst change
2013-10-21 16:16:51 -07:00
Victor Stinner
6633c39af8
fix typo in what's new in 3.4
2013-10-21 13:27:11 +02:00
Christian Heimes
e1bfd3e296
Fix typo in whatsnew
2013-10-21 12:32:21 +02:00
Georg Brandl
a3fdcaa5d6
Closes #19323 : fix typo. Thanks to Michael Merickel.
2013-10-21 09:08:39 +02:00
Georg Brandl
1a51b558a5
Simplify markup.
2013-10-21 09:07:31 +02:00
Georg Brandl
eb2aeecc2f
Reformat statistics.rst and remove unnecessary headings for each function.
2013-10-21 08:57:26 +02:00
Georg Brandl
a606542e95
#19274 : use captured_stdout() in the test suite; add NEWS entry.
2013-10-21 08:29:29 +02:00
Raymond Hettinger
c93dbe2f9b
Issue #19271 : By Python3.4, the Python 2.4 backport links are no longer of much interest.
2013-10-20 20:42:07 -07:00
Guido van Rossum
2063aafc6e
Update faulthandler docs.
2013-10-20 19:15:19 -07:00
Christian Tismer
59202e5fc7
add a filterfunc to zip file.PyZipFile.writepy, issue 19274
2013-10-21 03:59:23 +02:00
Ezio Melotti
47f1b762fd
#19319 : merge with 3.3.
2013-10-21 04:42:12 +03:00
Ezio Melotti
e45975080b
#19319 : fix ctypes docs: sizeof is an operator in C, not a function.
2013-10-21 04:41:40 +03:00
Ezio Melotti
632f1bfd39
#19238 , #19289 : merge with 3.3.
2013-10-21 02:53:30 +03:00
Ezio Melotti
c318442571
#19238 , #19289 : fix description of the align and fill values of the format specification.
2013-10-21 02:53:07 +03:00
Benjamin Peterson
4ea16e56eb
remove backticks
2013-10-20 17:52:54 -04:00
Benjamin Peterson
44c3065b62
fix declaration of StatisticsError
2013-10-20 17:52:09 -04:00
Nick Coghlan
0acceb7697
What's New updates prior to alpha
2013-10-20 13:22:21 +10:00
Nick Coghlan
4dae27a08d
Tweak 'provisional' in glossary
2013-10-20 13:22:04 +10:00
Ned Deily
3586673703
Issue #19304 : Fix typos noted by Claudiu Popa.
2013-10-19 12:10:01 -07:00
Larry Hastings
f5e987bbe6
Issue #18606 : Add the new "statistics" module (PEP 450). Contributed
...
by Steven D'Aprano.
2013-10-19 11:50:09 -07:00
Serhiy Storchaka
eaea5e9107
Issue #12866 : The audioop module now supports 24-bit samples.
2013-10-19 21:10:46 +03:00
Serhiy Storchaka
c679227e31
Issue #1772673 : The type of `char*` arguments now changed to `const char*`.
2013-10-19 21:03:34 +03:00
Georg Brandl
0f5bff24ab
Doc markup fixes.
2013-10-19 17:46:38 +02:00
Nick Coghlan
8608d26e81
contextlib doc updates and refactoring
...
- explain single use, reusable and reentrant in docs
- converted suppress to a reentrant class based impl
- converted redirect_stdout to a reusable impl
- moved both suppress and redirect_stdout behind a functional
facade
- added reentrancy tests for the updated suppress
- added reusability tests for the updated redirect_stdio
- slightly cleaned up an exception from contextmanager
2013-10-20 00:30:51 +10:00
Christian Heimes
e723622775
Issue #18582 : provide a faster C implementation of pbkdf2_hmac that works with OpenSSL < 1.0
2013-10-19 14:24:44 +02:00
Christian Heimes
3626a505db
Issue #19254 : Provide an optimized Python implementation of PBKDF2_HMAC
2013-10-19 14:12:02 +02:00
Nadeem Vawda
ee1be99e05
Issue #19222 : Add support for the 'x' mode to the gzip module.
...
Original patch by Tim Heaney.
2013-10-19 00:11:13 +02:00
Nadeem Vawda
8a9e99cffc
Issue #19223 : Add support for the 'x' mode to the bz2 module.
...
Patch by Tim Heaney and Vajrasky Kok.
2013-10-19 00:11:06 +02:00
Nadeem Vawda
42ca98217c
Issue #19201 : Add support for the 'x' mode to the lzma module.
...
Patch by Tim Heaney and Vajrasky Kok.
2013-10-19 00:06:19 +02:00
Benjamin Peterson
559ae0fb1c
merge 3.3
2013-10-18 12:58:17 -04:00
Benjamin Peterson
910a66566a
fix description of super() behavior on descriptors
2013-10-18 12:57:55 -04:00
Brett Cannon
27e27f7ee1
Issue #18416 : Have importlib.machinery.PathFinder treat '' as the cwd
...
and stop importlib.machinery.FileFinder treating '' as '.'.
Previous PathFinder transformed '' into '.' which led to __file__ for
modules imported from the cwd to always be relative paths. This meant
the values of the attribute were wrong as soon as the cwd changed.
This change now means that as long as the site module is run (which
makes all entries in sys.path absolute) then all values for __file__
will also be absolute unless it's for __main__ when specified by file
path in a relative way (modules imported by runpy will have an
absolute path).
Now that PathFinder is no longer treating '' as '.' it only makes
sense for FileFinder to stop doing so as well. Now no transformation
is performed for the directory given to the __init__ method.
Thanks to Madison May for the initial patch.
2013-10-18 11:39:04 -04:00
Nick Coghlan
1805a62f1f
Issue #16129 : Py_SetStandardStreamEncoding cleanups
...
- don't call PyErr_NoMemory with interpreter is not initialised
- note that it's OK to call _PyMem_RawStrDup here
- don't include this in the limited API
- capitalise "IO"
- be explicit that a non-zero return indicates an error
- include versionadded marker in docs
2013-10-18 23:11:47 +10:00
Serhiy Storchaka
ef23f1875d
Fix markup.
2013-10-18 11:55:30 +03:00
Serhiy Storchaka
335331311f
Fix markup.
2013-10-18 11:55:02 +03:00
Ethan Furman
2498d9e968
Issue #19272 : slight clarification of pickle docs with regard to lambda.
2013-10-18 00:45:40 -07:00
Ethan Furman
63c141cacd
Close #19030 : inspect.getmembers and inspect.classify_class_attrs
...
Order of search is now:
1. Try getattr
2. If that throws an exception, check __dict__ directly
3. If still not found, walk the mro looking for the eldest class that has
the attribute (e.g. things returned by __getattr__)
4. If none of that works (e.g. due to a buggy __dir__, __getattr__, etc.
method or missing __slot__ attribute), ignore the attribute entirely.
2013-10-18 00:27:39 -07:00
Georg Brandl
2bb0ac0ace
merge with 3.3
2013-10-17 19:52:33 +02:00
Georg Brandl
9ff06dcfad
Fix inaccurate versionchanged tag for compressobj(): most parameter were there, just got kwarg support.
2013-10-17 19:51:34 +02:00
Nick Coghlan
240f86d7dd
Close #19266 : contextlib.ignore -> contextlib.suppress
...
Patch by Zero Piraeus.
2013-10-17 23:40:57 +10:00
Nick Coghlan
7d270ee05d
Issue #16129 : Add `Py_SetStandardStreamEncoding`
...
This new pre-initialization API allows embedding
applications like Blender to force a particular
encoding and error handler for the standard IO streams.
Also refactors Modules/_testembed.c to let us start
testing multiple embedding scenarios.
(Initial patch by Bastien Montagne)
2013-10-17 22:35:35 +10:00
R David Murray
3da240fd01
#18891 : Complete new provisional email API.
...
This adds EmailMessage and, MIMEPart subclasses of Message
with new API methods, and a ContentManager class used by
the new methods. Also a new policy setting, content_manager.
Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka,
and reflects their feedback.
I will ideally add some examples of using the new API to the
documentation before the final release.
2013-10-16 22:48:40 -04:00
Richard Oudkerk
b1694cf588
Issue #18999 : Make multiprocessing use context objects.
...
This allows different parts of a program to use different methods for
starting processes without interfering with each other.
2013-10-16 16:41:56 +01:00
Serhiy Storchaka
acc9f3fb16
Issue #18725 : The textwrap module now supports truncating multiline text.
2013-10-15 21:22:54 +03:00
Serhiy Storchaka
0186721397
Issue #19189 : Improved cross-references in the pickle module documentation.
2013-10-14 10:44:25 +03:00
Serhiy Storchaka
5bbbc94073
Issue #19189 : Improved cross-references in the pickle module documentation.
2013-10-14 10:43:46 +03:00
Ezio Melotti
33fc6d6040
#4965 : merge with 3.3.
2013-10-14 02:59:54 +03:00
Ezio Melotti
47fd9d8e09
#4965 : Implement intelligent scrolling of the sidebar in the docs.
2013-10-14 02:58:59 +03:00
Serhiy Storchaka
ca1d6db6d3
Merge heads
2013-10-13 23:27:44 +03:00
Serhiy Storchaka
72aabb6177
Merge heads
2013-10-13 23:27:23 +03:00
Georg Brandl
a7c17e552d
Fix spacing of toplevel items.
2013-10-13 22:25:10 +02:00
Georg Brandl
3e30d471e9
merge with 3.3
2013-10-13 22:23:34 +02:00
Georg Brandl
810f1d56ea
Wing IDE is switching to PyQt...
2013-10-13 22:23:27 +02:00
Georg Brandl
03d010be14
merge with 3.3
2013-10-13 22:20:08 +02:00
Georg Brandl
c3a2916919
Closes #19248 : actually check for Python 3.x in tools/sphinx-build.py.
2013-10-13 22:19:49 +02:00
Serhiy Storchaka
98b28fddd8
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:12:09 +03:00
Serhiy Storchaka
bfdcd436f0
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:09:14 +03:00