R David Murray
8d85678d5c
Make summary entry format consistent (always end with pep or issue in parens).
2013-12-23 10:28:57 -05:00
Serhiy Storchaka
2a6145290b
Removed spaces before commas and periods.
2013-12-23 18:21:57 +02:00
Nick Coghlan
6256fcbc97
Close #19734 : ignore pip env vars in ensurepip
2013-12-23 16:16:07 +10:00
R David Murray
3f122d6f44
Mention deprecation and porting sections in intro.
2013-12-22 21:09:16 -05:00
R David Murray
f85b2a8dc7
Reflow 'modulespec' paragraphs.
2013-12-22 21:06:13 -05:00
R David Murray
e9b74d45d3
Make mailing list thread reference an inline link, reword i.e. abbreviation.
2013-12-22 21:05:04 -05:00
R David Murray
809487e5f5
Make the organization of the body and the summary have parallel structure.
...
This means I moved the 'new expected features' section to the top of the
summary, and made a new section with the same name at the start of
the body, turning the previous top level sections there into subsections.
I also added a line to the new first summary section for modulespec (pep 451).
2013-12-22 20:49:40 -05:00
R David Murray
8f7664ab15
Add description of marshal changes.
2013-12-22 20:40:11 -05:00
R David Murray
a93ca971a5
Be consistent in how PEPs are referenced throughout the summary section.
2013-12-22 14:10:21 -05:00
R David Murray
ca7946193f
Rewrite module-globals summary entry, and expand the full description a bit.
2013-12-22 14:05:11 -05:00
R David Murray
2aa9d52ed2
Make argument clinic summary entry parallel to other PEP entries.
...
The existing entry repeated the same info that was in the body text, which
means it didn't satisfy the sections "brevity" requirement :)
2013-12-22 13:57:45 -05:00
Antoine Pitrou
a936c40ede
s/lightweight/minimal/, as per issue #11379 .
2013-12-22 01:57:45 +01:00
Antoine Pitrou
f20ea13996
s/lightweight/minimal/, as per issue #11379 .
2013-12-22 01:57:01 +01:00
R David Murray
c16dfe1837
Make CPython PEP summary entry links consistent, add pep 456 discussion.
2013-12-21 12:32:10 -05:00
Christian Heimes
af01f66817
Issue #16136 : Remove VMS support and VMS-related code
2013-12-21 16:19:10 +01:00
R David Murray
26b80cfde0
Add link from email summary entry to entry in changed module section.
2013-12-20 17:26:52 -05:00
R David Murray
ac18622126
Add links to discussion of multiprocessing spawn/forkserver feature.
2013-12-20 17:23:57 -05:00
R David Murray
748bad2cd0
Tidy up ssl whatsnew references, make ssl section formatting consistent.
...
Also remove some extra blank lines in the ssl doc acctions for tls1.1/1.2,
and reflow a paragraph.
2013-12-20 17:08:39 -05:00
R David Murray
c054040f86
Add link from pickle protocol 4 in summary to the section about it.
2013-12-20 16:38:09 -05:00
R David Murray
cde1a06a54
Include sha3 addition in hashlib section of whatsnew.
...
And link to it from the summary, and link to the Hash Algorithms
section of hashlib from the linked description.
2013-12-20 16:33:52 -05:00
R David Murray
a17e0d873a
No need for single para descriptions to have separate contributed by para.
2013-12-20 16:12:28 -05:00
R David Murray
e0f7a78877
whatsnew: s/no new syntax features planned/no new syntax features added/
2013-12-20 16:04:29 -05:00
R David Murray
0a1021661f
Fix spelling error in single dispatch whatsnew summary, and add link.
2013-12-20 15:00:54 -05:00
R David Murray
f9909c27df
Make the 'PEP 446' string link to the PEP in whatsnew new feature description.
...
I also further qualified the cross reference link, since those are
global names.
2013-12-20 14:50:12 -05:00
R David Murray
6d5cb07382
Move versionadded for tracemalloc into the standard location (right after title)
2013-12-20 14:48:50 -05:00
R David Murray
43ad138160
Move versionadded for ensurepip into the standard location (right after title)
2013-12-20 14:40:11 -05:00
R David Murray
6a14381530
Fix Sphinx markup for asyncio modules so :mod:`asyncio` links work.
2013-12-20 14:37:39 -05:00
R David Murray
fd1ff1c888
Add versionadded to enum docs.
2013-12-20 14:20:49 -05:00
R David Murray
6adb4543fc
Add email package to whatsnew list of significantly improved stdlib modules.
2013-12-20 13:10:43 -05:00
Vinay Sajip
f468d5b259
Closes #19902 : Merged update from 3.3.
2013-12-19 11:51:19 +00:00
Vinay Sajip
800e11b406
Issue #19902 : Added list of logging levels.
2013-12-19 11:50:24 +00:00
Zachary Ware
e61f4df275
Closes #20005 : Fix typo in operator docs. Patch by Claudiu Popa.
2013-12-18 12:22:35 -06:00
Zachary Ware
0bffca006a
Issue #20005 : Fix typo in operator docs. Patch by Claudiu Popa.
2013-12-18 12:21:49 -06:00
Nick Coghlan
9a76735b1d
Close #19946 : use runpy as needed in multiprocessing
...
- handles main files without a suffix
- handles main submodules properly
- adds test cases for the various kinds of __main__
2013-12-17 22:17:26 +10:00
Eric Snow
7cff4cd7e9
Issue #19713 : Fix mistakes in the import page of language reference.
...
These mistakes were introduced by the initial PEP 451 merge.
2013-12-16 23:10:50 -07:00
Eric Snow
ca2d854df8
Issue #19713 : Update importlib docs for module spec changes, including deprecations.
2013-12-16 23:06:52 -07:00
Eli Bendersky
5100311bd8
Issue #20001 : Add the SVG source of the pathlib-inheritance diagram to Hg
2013-12-16 21:13:40 -08:00
Victor Stinner
1d006a2c0e
Backout a1a05e2724dd: shutil.which(bytes) is a new feature and my patch does not work on Windows
2013-12-16 23:39:40 +01:00
Victor Stinner
fffb96ba66
Issue #18283 : shutil.which() now supports bytes argument, not only text argument.
2013-12-16 22:48:48 +01:00
Antoine Pitrou
f6abb70b48
Mention specific exceptions instead of OSError where appropriate.
2013-12-16 21:00:53 +01:00
Antoine Pitrou
0048c98fef
Issue #19921 : When Path.mkdir() is called with parents=True, any missing parent is created with the default permissions, ignoring the mode argument (mimicking the POSIX "mkdir -p" command).
...
Patch by Serhiy.
2013-12-16 20:22:37 +01:00
Nick Coghlan
720c7e28cb
Issue #19700 : set __spec__ appropriately in runpy
...
Note that __spec__.name is not currently guaranteed to be in
sys.modules when the code is running, only __name__ is.
The "running module is in sys.modules" invariant will be
expanded to also cover __spec__.name in a subsequent patch.
2013-12-15 20:33:02 +10:00
R David Murray
530a69fafc
#19970 : fix additional typo in 3.4 asyncio docs.
2013-12-14 11:26:06 -05:00
Ezio Melotti
66f8518acb
#19981 : merge with 3.3.
2013-12-14 12:43:08 +02:00
Ezio Melotti
956040a7cc
#19981 : fix typo in email.mailbox docs. Patch by Claudiu Popa.
2013-12-14 12:42:29 +02:00
Brett Cannon
706a7296d7
merge for issue #19963
2013-12-13 13:58:47 -05:00
Brett Cannon
98620d87f2
Issue #19963 : Document that importlib.import_module() will import
...
parent packages automatically.
2013-12-13 13:57:41 -05:00
R David Murray
18701160cc
Merge: #18036 : update .pyc FAQ entry in light of PEP 3147.
2013-12-13 12:30:29 -05:00
R David Murray
d913d9d54e
#18036 : update .pyc FAQ entry in light of PEP 3147.
...
Initial patch by Phil Connell.
2013-12-13 12:29:29 -05:00
Victor Stinner
774b2e0af2
Issue #14432 : Document the removal of the PyFrameObject.f_tstate field
2013-12-13 14:33:01 +01:00
Victor Stinner
86e139ad65
asyncio doc: explain where does the task come from.
2013-12-13 12:51:24 +01:00
Victor Stinner
68bccb4922
asyncio doc: change style of the sequence diagram to focus on the control flow
2013-12-13 12:47:39 +01:00
Victor Stinner
2748bc735e
asyncio: remove references to the Tulip project, rename Tulip to asyncio.
...
Patch written by Vajrasky Kok.
2013-12-13 10:57:04 +01:00
Victor Stinner
441adb8c57
Backout changeset 46393019b650
...
test_capi is failing and the fix is not trivial, I prefer to revert
2013-12-13 04:14:41 +01:00
Victor Stinner
cd0cb8ccd3
Close #19787 : PyThread_set_key_value() now always set the value. In Python 3.3,
...
the function did nothing if the key already exists (if the current value is a
non-NULL pointer).
_testcapi.run_in_subinterp() now correctly sets the new Python thread state of
the current thread when a subinterpreter is created.
2013-12-13 03:22:00 +01:00
Victor Stinner
1c4b892d71
Add a sequence diagram for the chained coroutines example
2013-12-12 12:35:17 +01:00
R David Murray
50bfbb9903
#19063 : fix set_payload handling of non-ASCII string input.
...
This version of the fix raises an error instead of accepting the invalid
input (ie: if a non-ASCII string is used but no charset is specified).
2013-12-11 16:52:11 -05:00
Eric Snow
b282b3d804
Issue #18864 : Add a setter for ModuleSpec.has_location.
2013-12-10 22:16:41 -07:00
Nick Coghlan
1f609e9b02
Issue #19407 : merge PPUG notes from 3.3
2013-12-10 21:31:14 +10:00
Nick Coghlan
b5c4fd0a96
Issue #19407 : add Python Packaging User Guide notes
...
The stdlib docs for package distribution and building extensions
are rather dated, and that isn't expected to change for 2.7 and
3.3.
The Python Packaging User Guide isn't complete either, but it's
already a much better road map for new users than the existing
stdlib docs.
2013-12-10 21:24:55 +10:00
Victor Stinner
a6fa15367f
asyncio doc: simplify task example
2013-12-10 12:20:14 +01:00
Victor Stinner
0839ed4730
asyncio doc: don't document Task.cancel(), already documented in Future.cancel()
2013-12-10 12:18:15 +01:00
Victor Stinner
742520be43
asyncio: document Task.current_task()
2013-12-10 12:14:50 +01:00
Victor Stinner
fc25d629ab
asyncio: don't document private functions
2013-12-10 02:52:49 +01:00
Victor Stinner
34f2946a11
asyncio: fix 2nd task example
2013-12-10 02:51:05 +01:00
Victor Stinner
dbd8950b28
asyncio doc: rewrite the callback hello world to use call_soon() instead of a
...
direct call.
2013-12-10 02:47:22 +01:00
Victor Stinner
b69d62dcac
assyncio doc: rewrite, improve and move coroutine, Future and Task examples
2013-12-10 02:09:46 +01:00
Stefan Krah
29e64548c5
Fix typo.
2013-12-09 19:18:59 +01:00
Stefan Krah
345ec35da3
Fix whitespace.
2013-12-09 19:11:05 +01:00
Stefan Krah
2d181de44c
Merge 3.3.
2013-12-09 19:03:24 +01:00
Victor Stinner
a881a7f205
asyncio doc: explain why the loop is running twice
2013-12-09 13:19:23 +01:00
Victor Stinner
d8f11e9265
asyncio: another Future example using add_done_callback()
2013-12-09 13:04:12 +01:00
Victor Stinner
45c2fd9f8a
asyncio doc: add an example with Future
2013-12-09 12:40:17 +01:00
Stefan Krah
1761fa9dd1
Add libmpdec license.
2013-12-08 20:54:02 +01:00
Nadeem Vawda
bd6932a576
Closes #18430 : Document that peek() may change the position of the underlying
...
file for the BZ2File, GzipFile and LZMAFile classes.
2013-12-08 19:50:05 +01:00
Nadeem Vawda
6976104a36
#18430 : Document that peek() may change the position of the underlying file for
...
the BZ2File, GzipFile and LZMAFile classes.
2013-12-08 19:47:22 +01:00
doko@ubuntu.com
ca616a2709
- Issue #19736 : Add module-level statvfs constants defined for GNU/glibc
...
based systems.
2013-12-08 15:23:07 +01:00
Christian Heimes
5bb414d176
Issue #19343 : Expose FreeBSD-specific APIs in resource module. Original patch by Koobs.
2013-12-08 14:35:55 +01:00
Guido van Rossum
9710ff04ac
Silently ignore unregistering closed files. Fixes issue 19876. With docs and slight test refactor.
2013-12-07 15:57:01 -08:00
Alexandre Vassalotti
d05c9ff845
Issue #6784 : Strings from Python 2 can now be unpickled as bytes objects.
...
Initial patch by Merlijn van Deen.
I've added a few unrelated docstring fixes in the patch while I was at
it, which makes the documentation for pickle a bit more consistent.
2013-12-07 01:09:27 -08:00
Benjamin Peterson
d45a46b60d
merge 3.3 ( #19910 )
2013-12-06 20:12:51 -05:00
Benjamin Peterson
933142a8f2
document that compile() can take bytes ( closes #19910 )
2013-12-06 20:12:39 -05:00
Antoine Pitrou
9bcb1127f1
Mention pickle protocol 4, and some tweaks.
2013-12-07 01:05:57 +01:00
Antoine Pitrou
9858e8b98d
Issue #19900 : improve generalities at the start of the pickle module doc
2013-12-07 00:57:44 +01:00
Antoine Pitrou
d4d60554bc
Issue #19900 : improve generalities at the start of the pickle module doc
2013-12-07 00:56:59 +01:00
Vinay Sajip
1b8b868b84
Merged minor documentation update from 3.3.
2013-12-06 11:23:08 +00:00
Vinay Sajip
b1a92a4c89
Added minor clarification in logging HOWTO.
2013-12-06 11:22:24 +00:00
Antoine Pitrou
710280b6d6
Issue #18840 : Introduce the json module in the tutorial, and deemphasize the pickle module.
2013-12-05 23:48:10 +01:00
Antoine Pitrou
dd799d2e32
Issue #18840 : Introduce the json module in the tutorial, and deemphasize the pickle module.
2013-12-05 23:46:32 +01:00
Antoine Pitrou
f9c54944df
Merge socket doc changes from 3.3
2013-12-04 21:15:24 +01:00
Antoine Pitrou
a5cc9d68b9
Tweak the socket module doc layout
2013-12-04 21:11:03 +01:00
Antoine Pitrou
e3658a70c3
Issue #19882 : tweak docs for socket.close()
2013-12-04 21:02:42 +01:00
Victor Stinner
31d83228c2
asyncio doc: add some notes on the ping example
2013-12-04 11:16:17 +01:00
Victor Stinner
99c2ab4b83
asyncio doc: oh, asyncio module has its own Future class
...
Improve also wait() documentation: mention that the first parameter is a
sequence
2013-12-03 19:17:25 +01:00
Victor Stinner
cf6f72e329
Fix typo in asyncio.AbstractServer documentation
2013-12-03 18:23:52 +01:00
Victor Stinner
c6fba92ebc
asyncio doc: add one more example of coroutines
2013-12-03 17:37:31 +01:00
Victor Stinner
85a2be7da7
ayncio: replace the disclamer with a seealso section
2013-12-03 15:04:36 +01:00
Victor Stinner
15faa9c8ad
asyncio doc: simplify ping example, remove the useless timeout
2013-12-03 15:04:18 +01:00
Victor Stinner
afbf827875
asyncio doc: fix definition of stop() method
2013-12-03 02:05:42 +01:00
Victor Stinner
933a8c82ce
asyncio doc: reorder methods; typo
2013-12-03 01:59:38 +01:00