R David Murray
589327ea7a
Merge #18985 : Improve fcntl documentation.
2013-11-07 10:51:41 -05:00
R David Murray
d5a2f0b3a1
#18985 : Improve fcntl documentation.
...
Original patch by Vajrasky Kok, further improved (I hope) by me.
2013-11-07 10:51:07 -05:00
Nick Coghlan
07155c9c14
Fix typo in updated dis docs
2013-11-06 22:12:07 +10:00
Nick Coghlan
90b8e7d2bc
Close #19378 : address flaws in the new dis module APIs
...
- confusing line_offset parameter -> first_line parameter
- systematically test and fix new file parameter
- remove redundant Bytecode.show_info() API
- rename Bytecode.display_code() to Bytecode.dis() and have it
return the multi-line string rather than printing it directly
- eliminated some not-so-helpful helpers from the bytecode_helper
test support module
Also fixed a longstanding defect (worked around in the test suite)
where lines emitted by the dis module could include trailing white
space. That no longer happens, allowing the formatting tests to be
simplified to use plain string comparisons.
2013-11-06 22:08:36 +10:00
Victor Stinner
05f31bfef3
doc: fix typo
2013-11-06 01:48:45 +01:00
Tim Golden
607981402c
Issue #10197 Tweak docs for subprocess.getstatusoutput and align the documentation, the module docstring, and the function docstring.
2013-11-05 12:57:25 +00:00
Nick Coghlan
3daaf5f89d
Fix functools.partialmethod docs and __all__
2013-11-04 23:32:16 +10:00
Georg Brandl
e051b55049
Note that examples are sorted only for convenience.
2013-11-04 07:30:50 +01:00
R David Murray
bd90d09dd0
#18678 : Correct names of spwd struct members.
...
The old names (sp_nam and sp_pwd) are kept for backward compatibility. Since
this is a long standing bug that hasn't caused any real-world problems, I'm
not backporting it. However, it is worth fixing because the corrected names
match the documentation, and more importantly now match the C struct, just
like the other struct members.
Patch by Vajrasky Kok.
2013-11-03 19:54:05 -05:00
Tim Golden
834856aca9
Merge
2013-11-03 18:27:40 +00:00
Tim Golden
7a07cc90c7
Merge
2013-11-03 18:27:07 +00:00
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
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
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
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