summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-24241: Improve preferred webbrowser handling (#85)David Steele2017-02-254-16/+37
| | | | | | | | | | | | | | | | | | - Add 'preferred' argument to webbrowser.register - Use xdg-settings to specify preferred X browser The first change replaces the existing undocumented tri-state 'try_order' parameter with the documented boolean keyword-only 'preferred' parameter. Setting it to True places the browser at the front of the list, preferring it as the return to a subsequent get() call. The second change adds a private `_os_preferred_browser` setting and then uses that to make the default browser reported by `xdg-settings` first in the try list when running under X (or another environment that sets the `DISPLAY` variable). This avoids the problem where the first entry in the tryorder queue otherwise defaults to xdg-open, which doesn't support the "new window" option.
* bpo-28929: Add to Misc/NEWS (GH-112)Mariatta2017-02-251-0/+2
| | | | mention bpo-28929 in the Documentation section of What's New in Python 3.7.0 alpha 1
* Fix small typos in expressions.rst (GH-276)Jim Fasarakis-Hilliard2017-02-241-2/+2
|
* bpo-25008: Deprecate smtpd and point to aiosmtpd (#274)Barry Warsaw2017-02-242-0/+9
| | | | | | * bpo-25008: Deprecate smtpd and point to aiosmtpd. * Simplify the aiosmtpd URL.
* bpo-28556: Fix regression that sneaked into recent typing updates (GH-270)Ivan Levkivskyi2017-02-242-1/+12
|
* bpo-27788 : synchronise platform.py version number (#246)Matthias Bussonnier2017-02-241-1/+1
| | | | Was bumped in the docstring by b9f4feab1b9c9ffa8ea29af3d82bc536f9f3005a but not in `__version__`
* bpo-29637: clean docstring only if not None (GH-267)Matthias Bussonnier2017-02-242-1/+5
|
* bpo-29634: Reduce deque repeat execution when maxlen exist and size is not 1 ↵Louie Lu2017-02-241-0/+4
| | | | (#255) (#255)
* Update to typing: treat subscripted generics as proxies (#265)Ivan Levkivskyi2017-02-242-0/+34
|
* bpo-29624: Adds purge step and layout test after uploading files. (#258)Steve Dower2017-02-232-10/+53
|
* bpo-29622: Make AST constructor to accept less than enough number of ↵INADA Naoki2017-02-233-42/+34
| | | | | | | | | | | positional arguments (GH-249) bpo-29463 added optional "docstring" field to 4 AST types. While it is optional, it breaks backward compatibility because AST constructor requires number of positional argument is same to number of fields. AST types accepts empty arguments, and incomplete keyword arguments. But it's not big problem because field can be filled after creation, and checked when compiling. So stop requiring complete set of fields for positional arguments too.
* Document why functools.partial() must copy kwargs (#253)Victor Stinner2017-02-232-2/+5
| | | | Add a comment to prevent further attempts to avoid a copy for optimization.
* bpo-28911: Clarify the behaviour of assert_called_once_with. (#251)Arne de Laat2017-02-232-7/+8
|
* bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting ↵Martijn Pieters2017-02-233-3/+22
| | | | | | | | operations (#51) When you use `'%s' % SubClassOfStr()`, where `SubClassOfStr.__rmod__` exists, the reverse operation is ignored as normally such string formatting operations use the `PyUnicode_Format()` fast path. This patch tests for subclasses of `str` first and picks the slow path in that case. Patch by Martijn Pieters.
* mark various test data binary (#233)Benjamin Peterson2017-02-231-0/+9
|
* bpo-29463: Add docstring field to some AST nodes. (#46)INADA Naoki2017-02-2215-3045/+3150
| | | | | | | | | | | * bpo-29463: Add docstring field to some AST nodes. ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring field for now. It was first statement of there body. * fix document. thanks travis! * doc fixes
* bpo-29546: Improve from-import error message with location (#103)Matthias Bussonnier2017-02-224-5/+39
| | | | bpo-29546: Improve from-import error message with location
* Add sockaddr_alg to sock_addr_t (#234)Christian Heimes2017-02-222-30/+34
| | | | | | | | | | sock_addr_t is used to define the minimum size of any socket address on the stack. Let's make sure that an AF_ALG address always fits. Coverity complains because in theory, AF_ALG might be larger than any of the other structs. In practice it already fits. Closes Coverity CID 1398948, 1398949, 1398950 Signed-off-by: Christian Heimes <christian@python.org>
* bpo-29110: Fix file object leak in `aifc.open` when given invalid AIFF file. ↵Anthony Zhang2017-02-223-13/+33
| | | | (GH-162)
* bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122)Matthias Bussonnier2017-02-222-13/+10
| | | | | | | | | | | | | | Nick Coghlan said on bpo-28814: > inspect.getargvalues() and inspect.formatargvalues() were deprecated > in Python 3.5 as part of implementing bpo-20438 > This is incorrect, as these are *frame* introspection related functions, > not callable introspection ones. The documentation and implementation > layout is confusing though, as they're interleaved with the callable > introspection operation This commit undeprecates these functions and adds a note to ignore previous deprecation notices.
* bpo-27660: remove unnecessary overflow checks in list_resize (GH-189)Xiang Zhang2017-02-221-12/+7
|
* bpo-29509: skip redundant intern (GH-197)INADA Naoki2017-02-211-1/+1
| | | | PyObject_GetAttrString intern temporary key string. It's completely redudant.
* bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX (#202)Matthieu Dartiailh2017-02-212-1/+4
|
* doc: fix compile error on "shoddy" example extension (GH-215)INADA Naoki2017-02-212-1/+2
|
* .gitattribute -> .gitattributes (GH-213)INADA Naoki2017-02-211-0/+0
|
* Reduce conflict on Misc/NEWS (GH-212)INADA Naoki2017-02-211-0/+1
| | | use "union" merge strategy for Misc/NEWS.
* bpo-29453: Remove reference to undefined dictionary ordering in Tutorial ↵Jim Fasarakis-Hilliard2017-02-211-6/+5
| | | | | | | | | (GH-140) As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that ordering is undefined and change snippet to remove the unecessary sorted call. * Add sentence mentioning guaranteed output order of kwargs
* bpo-29554: Improve docs for pstat module and profile. (#88)Matthias Bussonnier2017-02-212-8/+12
| | | | | | | Clarify that methods take a string which is interpreted as a regex, not a regex object. Also clarify what the old `-1`, `0`, `1` and `2` options were.
* bpo-29602: fix signed zero handling in complex constructor. (#203)Mark Dickinson2017-02-203-3/+30
| | | | | | * Fix incorrect handling of signed zeros for complex-related classes. * Add Misc/NEWS entry.
* bpo-24274: fix erroneous comment in dictobject.c (GH-196)INADA Naoki2017-02-201-1/+2
| | | | lookdict_unicode() and lookdict_unicode_nodummy() may raise exception when key is not unicode.
* README: OS X -> macOS (GH-55)Paul Schreiber2017-02-201-3/+3
|
* bpo-29532: Altering a kwarg dictionary passed to functools.partial() (#190)Serhiy Storchaka2017-02-203-1/+16
| | | no longer affects a partial object after creation.
* bpo-29347: Fix possibly dereferencing undefined pointers when creating ↵Xiang Zhang2017-02-202-0/+5
| | | | weakref objects (#128)
* bpo-29520: doc: add missing dot (GH-182)INADA Naoki2017-02-201-1/+1
| | | 3eea8c6 missed dot at the end of paragraph.
* Fixed bpo-29565: Corrected ctypes passing of large structs by value on ↵Vinay Sajip2017-02-204-0/+57
| | | | | | | | | | | | | | | Windows AMD64. (#168) * Fixed bpo-29565: Corrected ctypes passing of large structs by value. Added code and test to check that when a structure passed by value is large enough to need to be passed by reference, a copy of the original structure is passed. The callee updates the passed-in value, and the test verifies that the caller's copy is unchanged. A similar change was also added to the test added for bpo-20160 (that test was passing, but the changes should guard against regressions). * Reverted unintended whitespace changes.
* bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165)INADA Naoki2017-02-191-2/+9
|
* Tweak PEP 519 documentation in stdlib (#163)Berker Peksag2017-02-192-3/+3
| | | | * Drop duplicate work 'object' in lzma docs * Fix typo in os docs: fpr -> for
* bpo-29579: Removes readme.txt from the installer. (#160)Steve Dower2017-02-192-3/+2
|
* bpo-22807: Expose platform UUID generation safety information. (#138)Barry Warsaw2017-02-184-7/+111
| | | | bpo-22807: Expose platform UUID generation safety information.
* bpo-29571: Use correct locale encoding in test_re (#149)Nick Coghlan2017-02-182-1/+6
| | | | | | | ``local.getlocale(locale.LC_CTYPE)`` and ``locale.getpreferredencoding(False)`` may give different answers in some cases (such as the ``en_IN`` locale). ``re.LOCALE`` uses the latter, so update the test case to match.
* Make devguide link in README more prominent (#145)Nick Coghlan2017-02-181-4/+7
|
* Change some mercurial/ hg.python.org references. (#8)Senthil Kumaran2017-02-164-6/+6
|
* update test_socket AEAD test for kernel 4.9 and up (#133)matejcik2017-02-161-8/+7
|
* bpo-29026: Clarify documentation of time.time (#34)Eric Appelt2017-02-161-7/+35
| | | | | | | | | | | | | | | * bpo-29026: Clarity documentation of time.time Clarify the documentation of time.time by more precisely defining what is meant by "seconds since the epoch" on most platforms. Additionally explain how gmtime and localtime may be used to extract calendar components and convert to a more common date format. * bpo-29026: Minor improvements for time.time doc * bpo-29026: Consistency fixes for time.time doc
* bpo-29576: add explicit deprecation for importlib.abc.find_loader() and ↵Matthias Bussonnier2017-02-165-7/+41
| | | | | | find_module() (GH-32)
* bpo-29548: Fix some inefficient call API usage (GH-97)INADA Naoki2017-02-167-40/+23
|
* bpo-29556: Remove unused #include <langinfo.h> (#98)Yen Chi Hsuan2017-02-154-16/+0
| | | | | | bltinmodule.c: Added in b744ba1 and no longer necessary since d64e8a7 posixmodule.c: Added in d1cd4d4 and no longer necessary since efb00c0 pythonrun.c: Added in 73d538b and no longer necessary since d600951 sysmodule.c: Added in 5467d4c and no longer necessary since a2c17c5
* bpo-29521 update Misc/ACKS (#106)Mariatta2017-02-151-0/+1
|
* Rename Doc/README.txt to Doc/README.rst and add formatting (#104)Roger2017-02-155-15/+16
| | | | | | | | | | | | | | | | * Reformat Doc/README.txt to Doc/README.rst * Update mention of Doc/README.rst * Update mention of README.txt to README.rst * Make line fold * rstlint ignore Doc/README.rst * conf.py ignore Doc/README.rst * Update issue tracker url in Docs/README.rst
* Doc/Makefile: set PYTHON to python3 (#124)Victor Stinner2017-02-152-2/+2
| | | | | | rstlint.py run by "make check" doesn't support Python 2. "make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't provide the venv module: it's a module of Python 3 standard library.