Commit Graph

16413 Commits

Author SHA1 Message Date
Benjamin Peterson 605765fa32 merge 3.3 (#19060) 2014-03-12 21:42:04 -05:00
Éric Araujo abdc16ee1b Merge 3.3 (#16805) 2014-03-12 19:51:50 -04:00
Éric Araujo a0fe1f74f9 Merge 3.3 (#4931) 2014-03-12 04:10:51 -04:00
Éric Araujo fc773a2d4b Avoid “error: None” messages from distutils (#4931).
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:34:02 -04:00
R David Murray 03a4da55cb whatsnew: spelling errors.
Corrections from Jim Jewett in #19861.
2014-03-11 21:58:54 -04:00
R David Murray 600e08dc1c Merge #20030: doc that TestLoader.discover returns a TestSuite. 2014-03-11 18:46:37 -04:00
R David Murray ed5d95b76b #20030: doc that TestLoader.discover returns a TestSuite.
Patch by Lita Cho.
2014-03-11 18:46:00 -04:00
Benjamin Peterson 86deec1917 merge 3.3 2014-03-11 14:26:21 -05:00
Benjamin Peterson 8e4b3c7f55 improve algorithms_* documentation 2014-03-11 14:26:12 -05:00
R David Murray f4ce4170ef whatsnew: doctest finds tests in extension modules (#3158)
#19861 msg213159
2014-03-11 15:10:53 -04:00
Benjamin Peterson 162d7ca3cc merge 3.3 (closes #20892) 2014-03-11 13:59:48 -05:00
Benjamin Peterson bfca3ca114 fix typo (closes #20892) 2014-03-11 13:59:37 -05:00
R David Murray 49bef7b3eb whatsnew: mention that upgrading PIP means it doesn't get unistalled.
#19861 msg213156.
2014-03-11 14:57:30 -04:00
R David Murray 6cd3a0d598 whatsnew: summary section tweaks.
Removed an entry made redundant by the new security section,
Moved 'marshal' to the section on features other platforms
will need to support, and mention that 'help' is improved
by the inspect/pydoc changes (#19561 msg213153).
2014-03-11 14:03:24 -04:00
Victor Stinner 11a4270b6a What's New in Python 3.4: Security improvements 2014-03-11 13:17:30 +01:00
Victor Stinner 637d2e9296 Issue #20888: improve "Pretty Top" example of tracemalloc, use linecache 2014-03-11 08:12:48 +01:00
R David Murray 0c18282da6 whatsnew: remove XXXs.
Can't figure out what the other issue was for the importlib
changes.  Did find a small typo in the reload doc, though.
2014-03-10 21:38:37 -04:00
R David Murray 4896ebee1f whatsnew: take credit.
They aren't all my words, but most of them are :).
2014-03-10 18:15:09 -04:00
R David Murray 9ea2a630fe whatsnew: deprecation of ElementTree XMLParser *html* and iterparse *parser*.
#17741
2014-03-10 18:09:54 -04:00
R David Murray 30781e93b0 whatsnew: urllib Request objects are now reusable.
#16464, #17485, #17272.
2014-03-10 17:06:00 -04:00
R David Murray 0c5598beaf whatsnew: shutil copyfile SameFileError (#1492704) 2014-03-10 16:12:10 -04:00
R David Murray 8df4ec70d3 whatsnew: os.open O_PATH and O_TMPFILE. 2014-03-10 15:48:22 -04:00
R David Murray a69bb5cc48 whatsnew: os.open O_TMPFILE (#18673). 2014-03-10 15:41:59 -04:00
R David Murray 60de1a0fd5 whatsnew: json dump-with-indent whitespace change (#16333). 2014-03-10 15:41:28 -04:00
R David Murray e8db162f62 whatsnew: PEP 424 implementation. 2014-03-10 15:00:33 -04:00
R David Murray d840b8d613 whatsnew: multiprocessing start methods and context (#8713 and #18999)
Also tweaked the docs a bit to use our standard style for
versionadded/changed.  (I'm guessing there are other places
in the multiprocessing docs where similar tweaks should be made.)
2014-03-10 14:27:21 -04:00
Georg Brandl 18a364fc3d Closes #20090: update Doc/README and the error message in sphinx-build.py to make
it clear that any Python 3.x is not usable with the checked out Sphinx.
2014-03-10 19:26:57 +01:00
R David Murray f2e677cec9 whatsnew: remove redundant entry. 2014-03-10 13:21:09 -04:00
R David Murray c51ebce03b whatsnew: logging.config.listen *verify* (#15452). 2014-03-10 12:03:01 -04:00
R David Murray 416616fc6f whatsnew: logging.fileConfig accepts ConfigParser instances. (#16110)
And missing NEWS entry.
2014-03-10 11:51:19 -04:00
R David Murray c5f5d69517 whatsnew: total_ordering supports NotImplemented (#10042) 2014-03-10 11:02:45 -04:00
R David Murray a6ea7a3c8f whatsnew: filecmp.DEFAULT_IGNORES (#15442) 2014-03-10 10:47:56 -04:00
R David Murray c08383633a whatsnew: Message.set_param *replace*, Policy.content_manager.
Also cleaned up the email section and fixed some markup bugs in the
email docs.
2014-03-10 10:08:05 -04:00
R David Murray c51eaf5ca0 whatsnew: ChainMap.new_child *m* argument.
And NEWS entry.
2014-03-10 09:49:19 -04:00
Georg Brandl 02e77d17fa Closes #20090: update Doc/README.txt for the changes in the 3.4 branch. 2014-03-10 19:31:52 +01:00
Georg Brandl b6111f5529 Remove unused sphinx-build.py entry script. 2014-03-10 19:10:29 +01:00
R David Murray fa06047af1 whatsnew: add porting note for pyvenv --without-pip. 2014-03-10 09:20:37 -04:00
R David Murray dcbd83321b whatsnew: tarfile cli (#13477). 2014-03-09 21:19:57 -04:00
R David Murray 7ad765169c whatsnew: dis.stack_effect (#19722). 2014-03-09 21:07:37 -04:00
R David Murray 9561ce2f0f whatsnew: oops, create_default_context doesn't return what the stdlib uses. 2014-03-09 21:00:14 -04:00
R David Murray b5ac4d7eaa whatsnew: expand re.fullmatch entry with the motivation for the feature. 2014-03-09 20:52:28 -04:00
R David Murray ced82ef752 whatsnew: give Hugo credit for his preliminary work on regex patch. 2014-03-09 20:46:32 -04:00
R David Murray 2177be2c3a whatsnew: auidioop.byteswap (#16685). 2014-03-09 20:42:49 -04:00
R David Murray 0cf177205c whatsnew: porting note for sysconfig 'SO' key deprecation. 2014-03-09 20:39:52 -04:00
R David Murray c38f89146d whatsnew: 'U' mode deprecation (#15204). 2014-03-09 20:33:35 -04:00
R David Murray 98a6738dca whatsnew: cp1125 codec (#19668). 2014-03-09 20:13:16 -04:00
R David Murray f20cfb2081 whatsnew: ssl.create_default_context (#19689). 2014-03-09 19:58:17 -04:00
R David Murray e7fa1204e2 whatsnew: allowZip64 defaults to True (#17201). 2014-03-09 19:57:19 -04:00
R David Murray 01e6accd19 whatsnew: SSLContext.load_default_certs (#19292). 2014-03-09 19:41:25 -04:00
R David Murray f3b3e9e23c whatsnew: pdb works for debugging asyncio programs (#16596). 2014-03-09 19:40:30 -04:00
R David Murray 6ae5eef542 Merge #19953: Clarify the wording of the augmented assignment discussion. 2014-03-09 18:51:35 -04:00
R David Murray 14d7b718ba #19953: Clarify the wording of the augmented assignment discussion.
Patch by Priya Pappachan, based on suggestions from Terry Reedy
and myself.
2014-03-09 18:51:16 -04:00
R David Murray c402577056 whatsnew: venv with_pip, pyvenv --without-pip (#19552) 2014-03-09 18:09:51 -04:00
R David Murray 2450c1d54a whatsnew: more accurate deprecation section titles. 2014-03-09 17:13:31 -04:00
R David Murray 336fd7f788 whatsnew: deprecation of sysconfig SO key (#19555). 2014-03-09 17:11:00 -04:00
R David Murray 6978722828 whatsnew: SSLContext.verify_flags and constants. (#8813) 2014-03-09 17:01:34 -04:00
R David Murray 1d342b2e8b whatsnew: plistlib new api and deprecations (#14455)
Also fixed the versionchanged/deprecation tags in the docs.
2014-03-09 15:09:04 -04:00
R David Murray 2dd0473722 whatsnew: SSLSocket.getpeercert new values returned. (#18379) 2014-03-09 12:55:58 -04:00
R David Murray 4e40cec924 whatsnew: sys.__interactivehook__. (#5845)
I decided to leave the (slightly expanded) Other Improvements
entry as well, since someone looking for command line behavior
changes isn't going to look in the 'sys' module section.
2014-03-09 12:03:30 -04:00
R David Murray 04ea3f35bd whatsnew: SSLcontext.load_verify_locations cadata argument (#18138) 2014-03-08 23:19:45 -05:00
R David Murray e6bd31ea92 whatsnew: hmac conforms to pep 247. (#18775) 2014-03-08 23:18:09 -05:00
R David Murray 3d234837ed whatsnew: hmac *digestmod* accepts strings, and default is deprecated. (#17276) 2014-03-08 22:43:12 -05:00
R David Murray 958e4da660 whatsnew: tidy up html notes, add porting note for expand_charrefs. 2014-03-08 21:40:29 -05:00
R David Murray 1cd0e85d01 whatsnew: glob.escape. 2014-03-08 21:23:21 -05:00
R David Murray c210de1ea1 whatsnew: base65 encodings. (#17618)
Also updated the base64 module title and introduction to adjust for
the fact that these new encodings are included.

Also adjusted the wording about the base64 alphabets (see
issue #20837).
2014-03-08 12:53:28 -05:00
R David Murray 9bd6a37df2 whatsnew: dbm.open is context manager. (#19282) 2014-03-08 12:00:52 -05:00
R David Murray cbf479ae64 whatsnew: sunau/aifc/wave writeframes[raw] accept any bytes-like (#8311) 2014-03-08 11:46:05 -05:00
R David Murray 5d6240e871 whatsnew: Wave_write handles unseekable files. (#5202)
Also clarify the documentation of this feature.
2014-03-08 11:14:29 -05:00
Nick Coghlan 1635578d5f Improve descriptions of introspection changes
Several of the introspection changes in Python 3.4 are indirect,
where inspect module changes affected pydoc, and those in turn
affected the help builtin. This update adds versionchanged
notes in the key locations, as well as more coverage in the
What's New document (in particular, a note in the porting
section regarding the expanded domain for inspect.getfullargspec).
2014-03-08 16:36:37 +10:00
R David Murray 8591563628 whatsnew: audioop accepts any bytes-like, rejects strings. 2014-03-07 21:35:31 -05:00
R David Murray 6c50101fc9 whatsnew: inet_pton/inet_ntop support windows (#7171).
Added versionchanged to docs.
2014-03-07 21:22:39 -05:00
R David Murray 99e1bfad09 whatsnew: sunau supports 24 bit samples. 2014-03-07 21:15:56 -05:00
R David Murray c4c7b1ccb6 whatsnew: cp273 codec (#10907797)
Also updated the docs and added the aliases mentioned by the
references.
2014-03-07 21:00:34 -05:00
Larry Hastings a3188ef476 Update pydoc topics and suspicious filters. 2014-03-09 04:12:12 -07:00
R David Murray 47d083cf1a whatsnew: cp273 codec (#10907797)
Also updated the docs and added the aliases mentioned by the
references.
2014-03-07 21:00:34 -05:00
R David Murray e2684d93e2 whatsnew: get[status|output] works on windows.
Since 3.3.4.... :(
2014-03-07 20:06:24 -05:00
R David Murray 48b6b70b95 #10197: Update get[status]output versionchanged with actual version.
This was perhaps on the border between a bug fix and a feature since
the Python3 docs did not originally say it was unix only.  However, the
functions never worked anywhere but unix, and the docs were changed to
say it was unix only well before the windows support was added.

Unfortunately, windows support was added in 3.3.4 as well as 3.4.
That leaves us in the uncomfortable position of needing the tag to say
"version changed: 3.3.4" :(
2014-03-07 20:04:41 -05:00
R David Murray 95b696a010 #10197: Update get[status]output versionchanged with actual version.
This was perhaps on the border between a bug fix and a feature since
the Python3 docs did not originally say it was unix only.  However, the
functions never worked anywhere but unix, and the docs were changed to
say it was unix only well before the windows support was added.

Unfortunately, windows support was added in 3.3.4 as well as 3.4.
That leaves us in the uncomfortable position of needing the tag to say
"version changed: 3.3.4" :(
2014-03-07 20:04:17 -05:00
Brett Cannon c39e892955 Issue #20813: Backport Python 2/3 HOWTO updates 2014-03-07 12:28:35 -05:00
Brett Cannon 6634e15d77 Issue #20812: Add a short opener to the Python 2/3 porting HOWTO.
Thanks to Nick Coghlan for the suggestion.
2014-03-07 12:27:10 -05:00
R David Murray beec02ac06 whatsnew: note in deprecation section about html.parser strict. 2014-03-06 13:40:53 -05:00
R David Murray 393c8f36ef whatsnew: rewrite resource entry: prlimit and new constants. 2014-03-06 12:47:31 -05:00
R David Murray 6674ac0873 whatsnew: ipaddress is_global
Also tweaked the docs a bit and added the missing entry for
the ipv6 is_global.
2014-03-06 11:51:37 -05:00
R David Murray 83db8fc3cc whatsnew: improve PyZipFile filterfuc entry, and its docs (#19274). 2014-03-05 10:48:01 -05:00
Nick Coghlan 62b4b9eecb Close #20839: pkgutil.find_loader now uses importlib.util.find_spec 2014-03-04 20:39:42 +10:00
Ethan Furman 01cc2d5fb8 Issue20653: fix ReST for Enum 2014-03-03 15:02:04 -08:00
Ethan Furman 2da950460d Close issue20653: improve functional API docs; minor code changes 2014-03-03 12:42:52 -08:00
R David Murray 04edfdf320 whatsnew: tweak a couple importlib porting notes.
I had missed that there was already an entry for the Frozen package change, so
I combined mine with the existing one.  Also added the info about the reload
change to the entry for the other changes to reload, but I'm missing an issue
number for the rest of the attribute behavior changes so I left myself an
XXX as a reminder to find it.
2014-03-03 08:56:43 -05:00
R David Murray 66902edf23 whatsnew: Windows build uses ASLR and DEP. 2014-03-03 08:26:49 -05:00
Nick Coghlan dc855b7b1f Close #20839: pkgutil.find_loader now uses importlib.util.find_spec 2014-03-04 20:39:42 +10:00
Ethan Furman c913a7a6f6 Issue20653: fix ReST for Enum 2014-03-03 15:02:04 -08:00
Ethan Furman 9c45444727 Close issue20653: improve functional API docs; minor code changes 2014-03-03 12:42:52 -08:00
Victor Stinner adb2e2ab64 Close #20814: doc: Fix "Pretty top" example of tracemalloc 2014-03-03 11:57:57 +01:00
Victor Stinner f70200e5a9 Close #20814: doc: Fix "Pretty top" example of tracemalloc 2014-03-03 11:57:57 +01:00
R David Murray 8be77910be whatsnew: add some issue number annotations.
Add issue number to tick_counter, PyOS_ReadlineFunctionPointer, marshal
optimizations (add Antoine's contribution to the entry under the marshal
module), and absolute paths in __file__.
2014-03-02 17:14:33 -05:00
R David Murray db8843f36e whatsnew: memoryview is Sequence and supports Reversed. 2014-03-01 12:09:55 -05:00
R David Murray 9c0c101ee4 whatsnew: unittest discover works on namespace packages (#17457).
I also added the docs that never got committed, editing the patch provided by
Claudiu.

I collapsed the now three versionchanged directives for discovery into one.  I
tried several different styles for this.  The most obvious is a bulleted list,
but currently the only way I could find to produce that is to have *something*
appear on the versionchanged line after the colon, which combined with the
blank space before the bulleted list just looks wrong.  I also tried the
current single-line-three-sentences version with bullet characters before each
sentence, and I almost went with that as it made it clear that the three
sentences are independent.  But I decided to just go with the sentences for
simplicity reasons.
2014-03-01 11:57:58 -05:00
R David Murray 8ab50214bd whatsnew: give Serhiy credit for audioop 24-bit sample support. 2014-02-28 13:30:27 -05:00
R David Murray 0bec63e67d whatsnew: compression libraries support 'x' mode. 2014-02-27 20:05:42 -05:00
R David Murray 4b1ea234a0 whatsnew: tarfile stat constants removal. 2014-02-27 18:55:34 -05:00
R David Murray ecef6cd2f1 whatsnew: return types of re functions. 2014-02-27 18:32:32 -05:00
Andrew Kuchling 98f2bbf794 #16135: remove mentions of OS/2 from the documentation 2014-03-01 07:53:28 -05:00
Brett Cannon acc74e6c63 Issue #20650: Tweak some awkward wording. 2014-02-28 10:06:18 -05:00
R David Murray 871119eb2f whatsnew: fix textwrap/shorten entry, and improve the related docs.
I had incorrectly added back the shorten method when I initially
made the whatsnew entry, but the shorten function docs were not
correct according to the code.  I also improved the wording in
general.
2014-02-27 18:01:43 -05:00
R David Murray 9251d59523 whatsnew: expand pbkdf2_hmac entry slightly. 2014-02-26 13:07:21 -05:00
R David Murray d2d81f0163 whatsnew: reformat pdb entry to match style of most other module entries.
That is: one paragraph per feature.
2014-02-26 12:52:51 -05:00
R David Murray bdf5efa10c whatsnew: reword the contextlib.redirect_stdout entry for increased clarity. 2014-02-26 12:46:19 -05:00
Zachary Ware 7bbd101bb1 Fix several C-API doc typos caught by tomo cocoa on docs@.
The signature and description of PyException_SetCause now use "cause"
rather than "ctx" to match the code.
2014-02-26 10:40:38 -06:00
Zachary Ware 5ea5d2c3f7 Issue #20759: Fix some typos in the mock docs. 2014-02-26 09:34:43 -06:00
R David Murray 80ebf6d171 whatsnew: attribute base64 memoryview change to Nick. 2014-02-26 10:09:25 -05:00
R David Murray 63f4dd5e8f whatsnew: pprint's compact option. 2014-02-26 09:51:58 -05:00
Zachary Ware f8a5892140 Merge with 3.3 2014-02-26 10:41:40 -06:00
Zachary Ware 984689821d Close #20759: Fix some typos in the mock docs. (Merge with 3.3) 2014-02-26 09:38:39 -06:00
R David Murray 13cc883aaa whatsnew: DynanicClassAttribute (#19030), Py_SetStandardStreamEncoding (#16129)
Adding missing docs for DynamicClassAttribute by copying the docstring.  The
doc entry could stand some expansion, which I will note on the issue.
2014-02-25 16:03:14 -05:00
Antoine Pitrou ef85119618 Issue #20765: Add missing documentation for PurePath.with_name() and PurePath.with_suffix(). 2014-02-25 20:33:02 +01:00
R David Murray 77d73facdc whatsnew: encoding is now optional in PYTHONIOENCODING (#18818) 2014-02-25 10:55:29 -05:00
R David Murray 6c0f707cd1 whatsnew: logging SocketHandler and DatagramHandler support Unix domain sockets. 2014-02-25 10:39:56 -05:00
R David Murray 7cae336890 whatsnew: Request.method can be overridden in subclasses (#18978).
Jason doced the change in the constructor *method* description, but
not the description of Request.method, so I added the change there
as well.
2014-02-25 10:22:50 -05:00
Guido van Rossum 3e97585b3e Clarify that flow control works for datagrams, except on BSD. 2014-02-24 14:31:25 -08:00
R David Murray 8920e915fa whatsnew: http.server --bind cli option.
Also some fixups in the docs.
2014-02-24 17:21:42 -05:00
R David Murray 56f3c306c2 whatsnew: unittest.TestCase.assertLogs.
Also fix issue number in address sanity check entry.
2014-02-24 16:05:57 -05:00
R David Murray 4e4a313486 Fix return type in doc of PyStructSequence_InitType2. 2014-02-24 15:51:57 -05:00
R David Murray 4e564c893b whatsnew: cypthon can be compiled with address sanity checking enabled. 2014-02-24 15:48:22 -05:00
R David Murray 4f91364598 Merge #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Including the subsequent line re-wrapping.
2014-02-24 15:34:48 -05:00
R David Murray f031a6f334 #20628: wrap lines to < 80. 2014-02-24 15:32:54 -05:00
R David Murray df714b9f70 #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Patch by Sean Rodman.
2014-02-24 15:29:22 -05:00
Ezio Melotti c5f5e625aa #20740: merge with 3.3. 2014-02-24 20:59:48 +02:00
Ezio Melotti 6b532349d0 #20740: desquarify 2. 2014-02-24 20:58:31 +02:00
R David Murray 8eb443d58b Fix typo. 2014-02-24 12:59:20 -05:00
R David Murray 26818f64f0 whatsnew: frame.clear, expanded entry for -I/isolated mode. 2014-02-24 10:38:13 -05:00
Victor Stinner de0e1d30d8 asyncio doc: fix references in subprocess doc 2014-02-24 13:19:19 +01:00
Victor Stinner 07171242d5 subprocess.Popen.wait doc: mention asyncio to avoid busy loop 2014-02-24 13:18:47 +01:00
Georg Brandl 09141c4782 Closes #20755: port sphinx-1.1 fixes from default 2014-02-24 09:35:07 +01:00
Georg Brandl 06a70621ed merge with 3.3 2014-02-24 09:27:16 +01:00
Georg Brandl c4f44c027e Closes #20735: remove erroneous deprecated marker from stringprep docs 2014-02-24 09:26:53 +01:00
R David Murray 54bf73a54a whatsnew: threading.main_thread, os.urandom persistent handle, sunau.open with. 2014-02-23 21:31:53 -05:00
R David Murray 0b32adf832 whatsnew: unittest uses argparse now. 2014-02-23 21:02:53 -05:00
R David Murray ef3da23cb3 whatsnew: unittest drops references to successful tests. 2014-02-23 20:53:50 -05:00
R David Murray 27519673d3 whatsnew: pyvenv --copies option.
Also added the missing documentation for new new option.
2014-02-23 11:36:25 -05:00
R David Murray f3f2838ee5 whatsnew: devnull fileno/close/closed. 2014-02-23 11:21:59 -05:00
R David Murray 93a9328326 whatsnew: hashlib.hash.name is now public and returns lowercase always. 2014-02-23 10:42:47 -05:00
R David Murray 6e1bc7cab9 whatsnew: textwrap.shorten.
Also add the missing TextWrapper.shorten method doc.
2014-02-23 10:22:07 -05:00
R David Murray a183064d86 whatsnew: ExtensionFileLoader.get_filename.
Also reflow mmap paragraph.
2014-02-23 09:41:27 -05:00
Ezio Melotti 32f30a8d9b #20677: fix typo in enum docs. Patch by Saimadhav Heblikar. 2014-02-23 17:13:31 +02:00
R David Murray 98681d4ac1 Reflow paragraph. 2014-02-22 16:32:07 -05:00
R David Murray 928924d1a1 whatsnew: os.path.ismount recognizes volumes mounted below root. 2014-02-22 16:31:26 -05:00
R David Murray 237fda2984 whatsnew: PyStructSequence_InitType2, Victor's MemoryError fixes.
I'm documenting this new function, but I'm wondering if this will trigger
someone to think about whether or not this actually makes sense :)
2014-02-22 16:02:22 -05:00
R David Murray 7c12432fe1 whatsnew: Windows uses VirtualAlloc, --version goes to stdout. 2014-02-22 15:35:37 -05:00
R David Murray b070b3f502 whatsnew: frozen package __path__; and min/max versionadded. 2014-02-22 15:05:08 -05:00
R David Murray fce0082005 whatsnew: importlib deprecations.
This addresses issue #20199, if I got it right.  The deprecation and
replacement lists are based on the importlib documentation.
2014-02-22 14:28:46 -05:00