summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35892: Fix mode() and add multimode() (#12089)Raymond Hettinger2019-03-122-8/+38
|
* Doc: Fix inconsistency in multiprocessing (GH-12273)Julien Palard2019-03-111-1/+1
|
* Various refinements to the NormalDist examples and recipes (GH-12272)Raymond Hettinger2019-03-111-23/+26
|
* bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)Lysandros Nikolaou2019-03-103-0/+44
|
* Fix padding on asyncio.IncompleteReadError docs (GH-12258)Andre Delfino2019-03-101-3/+3
|
* closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)Benjamin Peterson2019-03-104-6/+10
|
* Make a documentation link target more specific (GH-12249)Raymond Hettinger2019-03-091-3/+3
|
* bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086)Guido van Rossum2019-03-073-2/+15
| | | | | | | This adds a `feature_version` flag to `ast.parse()` (documented) and `compile()` (hidden) that allow tweaking the parser to support older versions of the grammar. In particular if `feature_version` is 5 or 6, the hacks for the `async` and `await` keyword from PEP 492 are reinstated. (For 7 or higher, these are unconditionally treated as keywords, but they are still special tokens rather than `NAME` tokens that the parser driver recognizes.) https://bugs.python.org/issue35975
* NormalDist.overlap() only needs one example (GH-12218)Raymond Hettinger2019-03-071-17/+4
|
* bpo-36216: Add check for characters in netloc that normalize to separators ↵Steve Dower2019-03-071-0/+18
| | | | (GH-12201)
* Refine statistics.NormalDist documentation and improve test coverage (GH-12208)Raymond Hettinger2019-03-071-28/+24
|
* bpo-36169 : Add overlap() method to statistics.NormalDist (GH-12149)Raymond Hettinger2019-03-071-0/+32
|
* Fix the documentation for set.copy() (GH-12176)Andre Delfino2019-03-071-1/+1
| | | Remove 's' mention as there's no argument.
* bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204)Emmanuel Arias2019-03-071-1/+1
|
* closes bpo-36188: Clean up 'unbound' method left-overs. (GH-12169)Martijn Pieters2019-03-051-6/+0
| | | | | | | | | | Methods are always bound, and `__self__` can no longer be `NULL` (`method_new()` and `PyMethod_New()` both explicitly check for this). Moreover, once a bound method is bound, it *stays* bound and won't be re-bound to something else, so the section in the datamodel that talks about accessing an methods in a different descriptor-binding context doesn't apply any more in Python 3.
* Doc: Use `option` word for command line interface. (GH-12142)NAKAMURA Osamu2019-03-051-1/+1
| | | For command line option, `option` is better than `parameter`.
* Fixed a missing . and a missing capital letter. (GH-12170)Jules Lasne (jlasne)2019-03-041-2/+2
|
* bpo-31904: Add encoding support for VxWorks RTOS (GH-12051)pxinwr2019-03-043-8/+12
| | | | | | | | Use UTF-8 as the system encoding on VxWorks. The main reason are: 1. The locale is frequently misconfigured. 2. Missing some functions to deal with locale in VxWorks C library.
* bpo-20906: Various revisions to the Unicode howto (#8394)Andrew Kuchling2019-03-041-158/+183
| | | | | | * bpo-20906: Corrections & revisions to Unicode HOWTO * bpo-34484: don't describe range as a Private Use Area
* bpo-36170: posix_spawn doesn't exist on 3.7 (GH-12143)Mark Williams2019-03-031-1/+1
| | | The 3.8 docs claim that `os.posix_spawn` was introduced in 3.7, but it wasn't; it will be introduced in 3.8.
* bpo-36103: change default buffer size of shutil.copyfileobj() (GH-12115)Inada Naoki2019-03-021-1/+1
| | | | | | | | | | | | | | | | It is changed from 16KiB to 64KiB. The previous default value is used since 1990. coreutils chose 128 KiB as minimum buffer size for block device I/O. But shutil.copyfileobj() can be used for non block devices. So I choose more conservative value. As my quick benchmark, performance difference between 64KiB and 128 KiB is up to ~5%. On the other hand, performance difference between 32 KiB and 64 KiB can be more than 10% when file is fully buffered. This is why 64 KiB is rational value.
* bpo-36043: FileCookieJar supports os.PathLike (GH-11945)Stéphane Wirtel2019-03-011-0/+7
| | | https://bugs.python.org/issue36043
* bpo-36018: Add documentation link to "random variable" (GH-12114)Raymond Hettinger2019-03-011-5/+7
| | | https://bugs.python.org/issue36018
* bpo-36018: Add special value tests and make minor tweaks to the docs (GH-12096)Raymond Hettinger2019-02-281-3/+3
| | | https://bugs.python.org/issue36018
* Add versionadded directives to ssl.minimum_version and ssl.maximum_version ↵Zhiming Wang2019-02-281-6/+10
| | | | | | (GH-11894)
* Document the surprising sideeffect PyErr_Print(). (#12081)Gregory P. Smith2019-02-271-2/+6
| | | | | Did you know an API documented as printing the pending traceback would sometimes exit the process? You do now.
* Fix grammar error in timeit module docs (GH-12066)Shiv Dhar2019-02-271-1/+1
| | | | skip issue skip news
* Update FAQ to point to Infrastructure Team website. (GH-12077)Ned Deily2019-02-271-8/+2
|
* Remove empty Dictionaries section from programming FAQ (GH-12026)Andre Delfino2019-02-251-3/+0
|
* bpo-28450: Fix and improve the documentation for unknown escapes in RE. ↵Serhiy Storchaka2019-02-251-2/+5
| | | | (GH-11920)
* bpo-36048: Use __index__() instead of __int__() for implicit conversion if ↵Serhiy Storchaka2019-02-253-12/+77
| | | | | | available. (GH-11952) Deprecate using the __int__() method in implicit conversions of Python numbers to C integers.
* Correct name of 'defaultobj' parameter in PyDict_SetDefault() signature. ↵Sergey Fedoseev2019-02-251-1/+1
| | | | (GH-11929)
* bpo-36018: Add properties for mean and stdev (GH-12022)Raymond Hettinger2019-02-241-6/+10
| | | | | | | | | | | | Responding to suggestions on the tracker and some off-line suggestions. Davin suggested that english named accessors instead of greek letters would result in more intelligible user code. Steven suggested that the parameters still need to be *mu* and *theta* which are used elsewhere (and I noted those parameter names are used in linked-to resources). Michael suggested proving-out the API by seeing whether it generalized to *Lognormal*. I did so and found that Lognormal distribution parameters *mu* and *sigma* do not represent the mean and standard deviation of the lognormal distribution (instead, they are for the underlying regular normal distribution). Putting these ideas together, we have NormalDist parameterized by *mu* and *sigma* but offering English named properties for accessors. That gives lets us match other API that access mu and sigma, it matches the external resources on the topic, gives us clear english names in user code. The API extends nicely to LogNormal where the parameters and the summary statistic accessors are not the same. https://bugs.python.org/issue36018
* bpo-35813: Tests and docs for shared_memory (#11816)Davin Potts2019-02-242-0/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added tests for shared_memory submodule. * Added tests for ShareableList. * Fix bug in allocationn size during creation of empty ShareableList illuminated by existing test run on Linux. * Initial set of docs for shared_memory module. * Added docs for ShareableList, added doctree entry for shared_memory submodule, name refactoring for greater clarity. * Added examples to SharedMemoryManager docs, for ease of documentation switched away from exclusively registered functions to some explicit methods on SharedMemoryManager. * Wording tweaks to docs. * Fix test failures on Windows. * Added tests around SharedMemoryManager. * Documentation tweaks. * Fix inappropriate test on Windows. * Further documentation tweaks. * Fix bare exception. * Removed __copyright__. * Fixed typo in doc, removed comment. * Updated SharedMemoryManager preliminary tests to reflect change of not supporting all registered functions on SyncManager. * Added Sphinx doctest run controls. * CloseHandle should be in a finally block in case MapViewOfFile fails. * Missed opportunity to use with statement. * Switch to self.addCleanup to spare long try/finally blocks and save one indentation, change to use decorator to skip test instead. * Simplify the posixshmem extension module. Provide shm_open() and shm_unlink() functions. Move other functionality into the shared_memory.py module. * Added to doc around size parameter of SharedMemory. * Changed PosixSharedMemory.size to use os.fstat. * Change SharedMemory.buf to a read-only property as well as NamedSharedMemory.size. * Marked as provisional per PEP411 in docstring. * Changed SharedMemoryTracker to be private. * Removed registered Proxy Objects from SharedMemoryManager. * Removed shareable_wrap(). * Removed shareable_wrap() and dangling references to it. * For consistency added __reduce__ to key classes. * Fix for potential race condition on Windows for O_CREX. * Remove unused imports. * Update access to kernel32 on Windows per feedback from eryksun. * Moved kernel32 calls to _winapi. * Removed ShareableList.copy as redundant. * Changes to _winapi use from eryksun feedback. * Adopt simpler SharedMemory API, collapsing PosixSharedMemory and WindowsNamedSharedMemory into one. * Fix missing docstring on class, add test for ignoring size when attaching. * Moved SharedMemoryManager to managers module, tweak to fragile test. * Tweak to exception in OpenFileMapping suggested by eryksun. * Mark a few dangling bits as private as suggested by Giampaolo.
* bpo-24310: Document IDLE settings dialog font tab sample (GH-12007)Terry Jan Reedy2019-02-241-0/+7
|
* bpo-36018: Add the NormalDist class to the statistics module (GH-11973)Raymond Hettinger2019-02-232-0/+221
|
* bpo-1054041: Add What's New docs. (GH-11999)Gregory P. Smith2019-02-231-0/+7
| | | Add What's New docs about the Ctrl-C improvement. Correct the issue number in the NEWS entry.
* bpo-35886: Make PyInterpreterState an opaque type in the public API. (GH-11731)Eric Snow2019-02-231-0/+10
| | | Move PyInterpreterState into the "internal" header files.
* bpo-36016: Add generation option to gc.getobjects() (GH-11909)Pablo Galindo2019-02-232-2/+14
|
* bpo-36074: Result of `asyncio.Server.sockets` after `Server.close()` after ↵Emmanuel Arias2019-02-221-2/+1
| | | | | | | | | | | is not clear (GH-11987) [bpo-36074](https://bugs.python.org/issue36074): It becomes clear on that the None is still return for server closed. https://bugs.python.org/issue36074
* bpo-36019: Use pythontest.net instead of example.com in network tests (GH-11941)Stéphane Wirtel2019-02-221-0/+4
|
* Include the --prompt flag in venv's help output (GH-10711)Holger Frey2019-02-221-1/+3
| | | Document usage of the existing `--prompt` option in the command line help.
* Doc: Missing backquotes. (GH-11982)Julien Palard2019-02-221-1/+1
|
* bpo-28235: Fix xml.etree.ElementTree.fromstring docs (GH-11903)Manjusaka2019-02-221-2/+4
|
* bpo-35904: Add statistics.fmean() (GH-11892)Raymond Hettinger2019-02-213-2/+29
|
* bpo-36068: Make _tuplegetter objects serializable (GH-11981)Joe Jevnik2019-02-211-1/+1
|
* bpo-36057 Update docs and tests for ordering in collections.Counter [no ↵Raymond Hettinger2019-02-211-5/+10
| | | | | | | | | | behavior change] (#11962) * Add tests for Counter order. No behavior change. * Update docs and tests * Fix doctest output and capitalization
* bpo-36060: Document how collections.ChainMap() determines iteration order ↵Raymond Hettinger2019-02-211-0/+15
| | | | (GH-11969)
* Document other performance implication for __slots__ (GH-11974)Raymond Hettinger2019-02-211-0/+1
|
* bpo-36059: Update OrderedDict() docs to reflect that regular dicts are now ↵Raymond Hettinger2019-02-211-43/+53
| | | | ordered (GH-11966)