summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* #2211: properly document the Morsel behavior changes.R David Murray2015-03-291-6/+29
| | | | | | | Also deprecate the undocumented set argument instead of removing it already in 3.5. Initial patch by Demian Brecht.
* Issue #23648: Document the PEP 475 in the "Porting to Python 3.5" section andVictor Stinner2015-03-262-0/+25
| | | | add a version changed note in modified functions.
* Issue #21717: The zipfile.ZipFile.open function now supports 'x' (exclusiveSerhiy Storchaka2015-03-251-9/+16
| | | | creation) mode.
* Issue #23622: Unknown escapes in regular expressions that consist of ``'\'``Serhiy Storchaka2015-03-241-1/+9
| | | | | and ASCII letter now raise a deprecation warning and will be forbidden in Python 3.6.
* Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-241-0/+4
|\ | | | | | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
* | change Σ to ν for obscure joke reasonsBenjamin Peterson2015-03-241-2/+2
| | | | | | | | https://twitter.com/ncoghlan_dev/status/579173053793353728
* | #11468: merge with 3.4.Ezio Melotti2015-03-241-37/+28
|\ \ | |/
| * #11468: improve unittest basic example. Initial patch by Florian Preinstorfer.Ezio Melotti2015-03-241-37/+28
| |
* | Issue #23688: Added support of arbitrary bytes-like objects and avoidedSerhiy Storchaka2015-03-231-0/+4
| | | | | | | | | | unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier.
* | Issue #23252: Added support for writing ZIP files to unseekable streams.Serhiy Storchaka2015-03-221-1/+4
| |
* | mergeRaymond Hettinger2015-03-221-0/+68
|\ \ | |/
| * Issue 23729: Document ElementTree namespace handling and fix an omission in ↵Raymond Hettinger2015-03-221-0/+68
| | | | | | | | the XPATH predicate table.
* | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-221-13/+23
|\ \ | |/
| * #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-221-13/+23
| | | | | | | | | | | | | | | | Some http servers will reject PUT, POST, and PATCH requests if they do not have a Content-Length header. Patch by James Rutherford, with additional cleaning up of the 'request' documentation by me.
* | #23657 Don't explicitly do an isinstance check for str in zipappPaul Moore2015-03-221-8/+9
| | | | | | | | | | As a result, explicitly support pathlib.Path objects as arguments. Also added tests for the CLI interface.
* | merge 3.4 (#22933)Benjamin Peterson2015-03-221-6/+3
|\ \ | |/
| * clarify behavior of shutil.move when destination exists (closes #22933)Benjamin Peterson2015-03-221-6/+3
| | | | | | | | Patch by Mike Short.
* | Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵Raymond Hettinger2015-03-211-0/+22
| | | | | | | | as a MutableSequence.
* | Issue #22832: Tweaked parameter names for fcntl module to better matchSerhiy Storchaka2015-03-201-32/+32
| | | | | | | | | | official POSIX documentation. Updated the documenttion for Python 3. Patch by Alex Shkop.
* | Merge: #11726: Make linecache docs reflect that all files are treated the same.R David Murray2015-03-201-2/+2
|\ \ | |/
| * #11726: Make linecache docs reflect that all files are treated the same.R David Murray2015-03-201-2/+2
| | | | | | | | | | | | | | Being able to read non-python text files is not a purpose of linecache, but it does work and people use it. This changeset adjusts the language to make it clear that Python files are not treated uniquely, but does not go so far as to say reading non-python files is explicitly supported.
* | Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retriedVictor Stinner2015-03-201-0/+10
| | | | | | | | | | | | | | | | | | | | when interrupted by a signal not in the *sigset* parameter, if the signal handler does not raise an exception. signal.sigtimedwait() recomputes the timeout with a monotonic clock when it is retried. Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't raise InterruptedError anymore if it is interrupted by a signal not in its sigset parameter.
* | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, andSerhiy Storchaka2015-03-204-24/+59
| | | | | | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too.
* | Issue #23632: Memoryviews now allow tuple indexing (including for ↵Antoine Pitrou2015-03-191-16/+22
| | | | | | | | multi-dimensional memoryviews).
* | Issue #23646: If time.sleep() is interrupted by a signal, the sleep is nowVictor Stinner2015-03-191-0/+5
| | | | | | | | | | | | | | retried with the recomputed delay, except if the signal handler raises an exception (PEP 475). Modify also test_signal to use a monotonic clock instead of the system clock.
* | Merge 3.4 (linecache doc)Victor Stinner2015-03-181-2/+2
|\ \ | |/
| * Issue #11726: Fix linecache example in the docVictor Stinner2015-03-181-2/+2
| | | | | | | | | | | | | | Use a Python source file (linecache.__file__) instead of /etc/passwd. Modify also linecache docstrings to clarify the linecache is written to cache Python source files, not any text files.
* | Merge 3.4 (linecache doc)Victor Stinner2015-03-181-2/+5
|\ \ | |/
| * Issue #11726: clarify linecache doc: linecache is written to cache PythonVictor Stinner2015-03-181-2/+5
| | | | | | | | source files, even if "it works" with other text files encoded to UTF-8.
* | Issue #12155: Fix queue doc example to join threadsVictor Stinner2015-03-181-13/+23
| | | | | | | | Use None as a sentinel to stop a worker.
* | Issue #2211: Updated the implementation of the http.cookies.Morsel class.Serhiy Storchaka2015-03-181-0/+12
| | | | | | | | | | | | | | | | | | Setting attributes key, value and coded_value directly now is deprecated. update() and setdefault() now transform and check keys. Comparing for equality now takes into account attributes key, value and coded_value. copy() now returns a Morsel, not a dict. repr() now contains all attributes. Optimized checking keys and quoting values. Added new tests. Original patch by Demian Brecht.
* | Issue #18983: Allow selection of output units in timeit.Robert Collins2015-03-171-1/+7
| | | | | | | | | | | | | | | | This allows manual selection of a specific unit such as usecs rather than the use of a heuristic. This is intended to aid machine processing of timeit output. Patch by Serhiy Storchaka.
* | Revert changeset d927047b1d8eb87738676980a24930d053ba2150Victor Stinner2015-03-171-4/+0
| | | | | | | | Sorry, it was a mistake, the patch is still under review: issue #23646.
* | merge 3.4 (#23679)Benjamin Peterson2015-03-161-2/+6
|\ \ | |/
| * versionchanged for rc4 removal (closes #23679)Benjamin Peterson2015-03-161-2/+6
| |
* | Issue #23549: Clarify confusion in heapq doc - accessing the mininmal elementEli Bendersky2015-03-151-2/+4
|\ \ | |/ | | | | | | | | | | | | | | Merge 3.4 The current documentation only mentions heap[0] as the smallest element in the beginning, and not in any of the methods' docs. There's no method to access the minimal element without popping it, and the documentation of nsmallest is confusing because it may suggest that min() is the way to go for n==1.
| * Issue #23549: Clarify confusion in heapq doc - accessing the mininmal elementEli Bendersky2015-03-151-2/+4
| | | | | | | | | | | | | | The current documentation only mentions heap[0] as the smallest element in the beginning, and not in any of the methods' docs. There's no method to access the minimal element without popping it, and the documentation of nsmallest is confusing because it may suggest that min() is the way to go for n==1.
* | Issue #2052: Add charset parameter to HtmlDiff.make_file().Berker Peksag2015-03-141-1/+6
| |
* | Fix minor docs markup errors.Serhiy Storchaka2015-03-142-2/+2
|\ \ | |/
| * Fix minor docs markup errors.Serhiy Storchaka2015-03-142-2/+2
| |
* | merge 3.4Benjamin Peterson2015-03-131-1/+1
|\ \ | |/
| * __getslice__ certainly won't appear in the outputBenjamin Peterson2015-03-131-1/+1
| |
* | Strip trailing whitespaceBrett Cannon2015-03-131-7/+8
| |
* | Issue #23491: Implement PEP 441: Improving Python Zip Application SupportBrett Cannon2015-03-132-0/+258
| | | | | | | | Thanks to Paul Moore for the PEP and implementation.
* | testVictor Stinner2015-03-121-0/+4
| |
* | merge 3.4Benjamin Peterson2015-03-131-1/+1
|\ \ | |/
| * use the meth role for ZipFile.openBenjamin Peterson2015-03-131-1/+1
| |
* | Issue #22154: Add an example to show context management protocol support of ↵Berker Peksag2015-03-131-0/+7
|\ \ | |/ | | | | | | | | ZipFile.open(). Patch by Mike Short.
| * Issue #22154: Add an example to show context management protocol support of ↵Berker Peksag2015-03-131-0/+7
| | | | | | | | | | | | ZipFile.open(). Patch by Mike Short.
* | Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-122-7/+7
|\ \ | |/ | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.