Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-34790: add version of removal of explicit passing of coros to ↵ | jack1142 | 2020-05-13 | 1 | -1/+1 |
| | | | | `asyncio.wait`'s documentation (#20008) | ||||
* | Fix Wikipedia link (GH-20031) | Allen Guo | 2020-05-12 | 1 | -5/+5 |
| | |||||
* | bpo-40571: Make lru_cache(maxsize=None) more discoverable (GH-20019) | Raymond Hettinger | 2020-05-11 | 1 | -0/+26 |
| | |||||
* | bpo-36346: array: Don't use deprecated APIs (GH-19653) | Inada Naoki | 2020-05-11 | 1 | -6/+7 |
| | | | | | | | | * Py_UNICODE -> wchar_t * Py_UNICODE -> unicode in Argument Clinic * PyUnicode_AsUnicode -> PyUnicode_AsWideCharString * Don't use "u#" format. Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | Add link to Enum class (GH-19884) | Andre Delfino | 2020-05-10 | 1 | -1/+1 |
| | |||||
* | bpo-39791: Add files() to importlib.resources (GH-19722) | Jason R. Coombs | 2020-05-08 | 1 | -0/+37 |
| | | | | | | | | | * bpo-39791: Update importlib.resources to support files() API (importlib_resources 1.5). * 📜🤖 Added by blurb_it. * Add some documentation about the new objects added. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | bpo-40541: Add optional *counts* parameter to random.sample() (GH-19970) | Raymond Hettinger | 2020-05-08 | 1 | -7/+14 |
| | |||||
* | Make the first dataclass example more useful (GH-19994) | Ned Batchelder | 2020-05-08 | 1 | -0/+2 |
| | |||||
* | bpo-40273: Reversible mappingproxy (FH-19513) | Zackery Spytz | 2020-05-07 | 1 | -0/+6 |
| | |||||
* | bpo-40517: Implement syntax highlighting support for ASDL (GH-19967) | Batuhan Taskaya | 2020-05-07 | 1 | -1/+1 |
| | |||||
* | Fix typo in sqlite3 documentation (GH-19965) | Naglis | 2020-05-06 | 1 | -1/+1 |
| | | | *first* is repeated twice. | ||||
* | Revert "bpo-40517: Implement syntax highlighting support for ASDL (#19928)" ↵ | Raymond Hettinger | 2020-05-05 | 1 | -1/+1 |
| | | | | | (#19950) This reverts commit d60040ba226bd2e3b6f58d074015aa2499dc1cb8. | ||||
* | bpo-40517: Implement syntax highlighting support for ASDL (#19928) | Batuhan Taskaya | 2020-05-05 | 1 | -1/+1 |
| | |||||
* | bpo-40286: Put methods in correct sections. Add security notice to use ↵ | Raymond Hettinger | 2020-05-04 | 1 | -10/+15 |
| | | | | secrets for session tokens. (GH-19870) | ||||
* | bpo-40499: Mention that asyncio.wait() needs a non-empty aws set (GH-19900) | Joel Rosdahl | 2020-05-04 | 1 | -0/+2 |
| | | | | | A similar formulation was added in bpo-21596 (db74d982d43d98040e38665d843cbc8de4a082b1) but was lost in bpo-33649 (3faaa8857a42a36383bb18425444e597fc876797). | ||||
* | bpo-39470: Indicate that ``os.makedirs`` is equivalent to ``Path.mkdir`` ↵ | Joannah Nanjekye | 2020-05-04 | 1 | -0/+1 |
| | | | | | | | | | | | | (GH-18216) * Indicate os.makedirs is equivalent to Path.mkdir * 📜🤖 Added by blurb_it. * ignore news feed Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | Remove outdated and confusing advice about setting maxsize (GH-19889) | Raymond Hettinger | 2020-05-03 | 1 | -2/+1 |
| | |||||
* | Fix missing space in docs(GH-19866) | Mathieu Dupuy | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867) | Raymond Hettinger | 2020-05-02 | 1 | -0/+3 |
| | |||||
* | bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers ↵ | Sander | 2020-05-02 | 1 | -1/+2 |
| | | | | of 10 (GH-19752) | ||||
* | bpo-39435: Make the first argument of pickle.loads() positional-only. (GH-19846) | Serhiy Storchaka | 2020-05-02 | 1 | -1/+1 |
| | | | | It was positional-only de facto: documentation and two implementations used three different name. | ||||
* | bpo-39435: Fix docs for pickle.loads (GH-18160) | Shantanu | 2020-05-01 | 1 | -2/+2 |
| | |||||
* | bpo-39691: Clarify io.open_code behavior (GH-19824) | Shantanu | 2020-05-01 | 1 | -4/+5 |
| | |||||
* | bpo-40394 - difflib.SequenceMatched.find_longest_match default args (GH-19742) | lrjball | 2020-04-29 | 1 | -1/+4 |
| | | | | | * bpo-40394 - difflib.SequenceMatched.find_longest_match default args Added default args to find_longest_match, as well as related tests. | ||||
* | bpo-40291: Add support for CAN_J1939 sockets (GH-19538) | karl ding | 2020-04-29 | 1 | -1/+18 |
| | | | | Add support for CAN_J1939 sockets that wrap SAE J1939 protocol functionality provided by Linux 5.4+ kernels. | ||||
* | bpo-40275: Move transient_internet from test.support to socket_helper (GH-19711) | Serhiy Storchaka | 2020-04-29 | 1 | -7/+8 |
| | |||||
* | bpo-40025: Require _generate_next_value_ to be defined before members (GH-19098) | Ethan Onstott | 2020-04-28 | 1 | -0/+4 |
| | | | require `_generate_next_value_` to be defined before members | ||||
* | bpo-30966: Add multiprocessing.SimpleQueue.close() (GH-19735) | Victor Stinner | 2020-04-27 | 1 | -0/+10 |
| | | | | | | Add a new close() method to multiprocessing.SimpleQueue to explicitly close the queue. Automerge-Triggered-By: @pitrou | ||||
* | bpo-40375: Implement imaplib.IMAP4.unselect (GH-19712) | Dong-hee Na | 2020-04-27 | 1 | -0/+9 |
| | |||||
* | bpo-40387: Improve queue join() example. (GH-19724) | Raymond Hettinger | 2020-04-26 | 1 | -16/+12 |
| | |||||
* | bpo-40275: Avoid importing logging in test.support (GH-19601) | Serhiy Storchaka | 2020-04-25 | 1 | -5/+0 |
| | | | | | Import logging lazily in assertLogs() in unittest. Move TestHandler from test.support to logging_helper. | ||||
* | bpo-40275: Avoid importing socket in test.support (GH-19603) | Serhiy Storchaka | 2020-04-25 | 1 | -59/+71 |
| | | | | | | * Move socket related functions from test.support to socket_helper. * Import socket, nntplib and urllib.error lazily in transient_internet(). * Remove importing multiprocess. | ||||
* | bpo-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663) | Carl Meyer | 2020-04-24 | 1 | -4/+10 |
| | | | | | Deprecate lib2to3 module in light of PEP 617. We anticipate removal in the 3.12 timeframe. | ||||
* | bpo-39983: Add test.support.print_warning() (GH-19683) | Victor Stinner | 2020-04-23 | 1 | -0/+9 |
| | | | | | | | Log "Warning -- ..." test warnings into sys.__stderr__ rather than sys.stderr, to ensure to display them even if sys.stderr is captured. test.libregrtest.utils.print_warning() now calls test.support.print_warning(). | ||||
* | bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939) | sweeneyde | 2020-04-22 | 1 | -2/+102 |
| | | | | | Added str.removeprefix and str.removesuffix methods and corresponding bytes, bytearray, and collections.UserString methods to remove affixes from a string if present. See PEP 616 for a full description. | ||||
* | Small improvements to the recipes and examples. (GH-19635) | Raymond Hettinger | 2020-04-21 | 1 | -30/+26 |
| | | | | | * Add underscores to long numbers to improve readability * Use bigger dataset in the bootstrapping example * Convert single-server queue example to more useful multi-server queue | ||||
* | bpo-40148: Add PurePath.with_stem() (GH-19295) | Tim Hoffmann | 2020-04-19 | 1 | -0/+24 |
| | | | | Add PurePath.with_stem() | ||||
* | bpo-39285: Clarify example for PurePath.match (GH-19458) | Tim Lo | 2020-04-19 | 1 | -1/+3 |
| | | | | | | | | | | | Fixes Issue39285 The example incorrectly returned True for match. Furthermore the example is ambiguous in its usage of PureWindowsPath. Windows is case-insensitve, however the underlying match functionality utilizes fnmatch.fnmatchcase. Automerge-Triggered-By: @pitrou | ||||
* | bpo-40325: Deprecate set object support in random.sample() (GH-19591) | Raymond Hettinger | 2020-04-19 | 1 | -0/+7 |
| | |||||
* | bpo-27635: Fix pickle documentation about `__new__` not being called. (GH-19269) | Furkan Önder | 2020-04-18 | 1 | -3/+3 |
| | | | Automerge-Triggered-By: @pitrou | ||||
* | bpo-40178: Convert the remaining os functions to Argument Clinic. (GH-19360) | Serhiy Storchaka | 2020-04-18 | 1 | -1/+1 |
| | | | | | Convert os.getgrouplist(), os.initgroups(), os.sendfile() and os.get_terminal_size(). | ||||
* | bpo-40282: Allow random.getrandbits(0) (GH-19539) | Antoine Pitrou | 2020-04-17 | 1 | -0/+3 |
| | |||||
* | bpo-40286: Add randbytes() method to random.Random (GH-19527) | Victor Stinner | 2020-04-17 | 1 | -0/+7 |
| | | | | | | | | | | | | Add random.randbytes() function and random.Random.randbytes() method to generate random bytes. Modify secrets.token_bytes() to use SystemRandom.randbytes() rather than calling directly os.urandom(). Rename also genrand_int32() to genrand_uint32(), since it returns an unsigned 32-bit integer, not a signed integer. The _random module is now built with Py_BUILD_CORE_MODULE defined. | ||||
* | bpo-40300: Allow empty logging.Formatter.default_msec_format. (GH-19551) | Mariusz Felisiak | 2020-04-17 | 1 | -0/+3 |
| | |||||
* | Minor modernization and readability improvement to the tokenizer example ↵ | Raymond Hettinger | 2020-04-16 | 1 | -2/+6 |
| | | | | (GH-19558) | ||||
* | Fix parameter names in assertIn() docs (GH-18829) | Christoph Zwerschke | 2020-04-16 | 1 | -3/+3 |
| | | | The names "member" and "container" for the arguments are also used in the module and shown with the help() function, and are immediately understandable in this context, contrary to "first" and "second". | ||||
* | bpo-40290: Add zscore() to statistics.NormalDist. (GH-19547) | Raymond Hettinger | 2020-04-16 | 1 | -0/+10 |
| | |||||
* | bpo-40257: Output object's own docstring in pydoc (GH-19479) | Serhiy Storchaka | 2020-04-15 | 1 | -1/+4 |
| | |||||
* | bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396) | Batuhan Taşkaya | 2020-04-14 | 1 | -4/+0 |
| | |||||
* | bpo-39380: Change ftplib encoding from latin-1 to utf-8 (GH-18048) | Sebastian Pedersen | 2020-04-14 | 1 | -13/+20 |
| | | | | | Add the encoding in ftplib.FTP and ftplib.FTP_TLS to the constructor as keyword-only and change the default from "latin-1" to "utf-8" to follow RFC 2640. |