| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
| |
(cherry picked from commit 132ac381fe7eb593e3d7c63926f90285bba13cdc)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit 0899b9809547ec2894dcf88cf4bba732c5d47d0d)
|
|
|
| |
(cherry picked from commit 9d56b34af2efc4e266bf3ae62da5cd2e422a42be)
|
|
|
|
|
|
| |
Windows AMD64. (#168) (#220)
Fixed bpo-29565: Corrected ctypes passing of large structs by value.
(cherry picked from commit a86339b83fbd0932e0529a3c91935e997a234582)
|
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit 8fb1f6e039cbdeb333d83b7a62f0f37af4ce6e02)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(GH-140) (#208)
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
(cherry picked from commit 32e8f9bdfd4324f1aa4fbbdf1ed8536f2b00cabb)
|
|
|
| |
(cherry picked from commit 3a9ac827c7c87dffc60c4200323948551bcb6662)
|
|
|
|
| |
longer affects a partial object after creation. (#209)
|
|
|
| |
(cherry picked from commit fb8fe72fc593438f6a0b934c6ff2d9c4aa28673d)
|
|
|
|
|
|
|
| |
* Fix incorrect handling of signed zeros for complex-related classes.
* Add Misc/NEWS entry.
(cherry picked from commit 112ec38c15b388fe025ccb85369a584d218b1160)
|
|
|
|
| |
lookdict_unicode() and lookdict_unicode_nodummy() may raise exception
when key is not unicode.
|
|
|
|
| |
weakref objects (#128) (#186)
|
|
|
| |
(cherry picked from commit b2ee40ed9c9041dcff9c898aa19aacf9ec60308a)
|
| |
|
|
|
|
|
|
| |
* Drop duplicate word 'object' in lzma docs
* Fix typo in os docs: fpr -> for
(cherry picked from commit d4d48743ac20854de104e08dd66972471684f676)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add .travis.yml to 3.6 branch
* Travis CI: run rstlint.py in the docs job (#68)
Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.
Modify the docs job to run toosl/rstlint.py.
Fix also the two minor warnings which causes the buildbot slave to
fail.
* Only run CI checks when appropriate files have changed (#74)
Closes python/core-workflow#14
* Use 'make check' instead of 'python3 tools/rstlint.py' (#96)
|
|
|
|
|
|
|
| |
``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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Travis CI: run rstlint.py in the docs job (#68)
Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.
Modify the docs job to run toosl/rstlint.py.
Fix also the two minor warnings which causes the buildbot slave to
fail.
(cherry picked from commit 2b501866ed493758e4c4b29f0ce9b24023d910a1)
* Doc/Makefile: set PYTHON to python3 (#124)
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.
(cherry picked from commit 91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c)
|
|
|
| |
(cherry picked from commit 6420088b924a23e5de40be6623d2a80b12f71d97)
|
|
|
| |
(cherry picked from commit 7e147f1ddb8233964ff0981e6b64fc12edac99aa)
|
|
|
| |
Includes GH-2, GH-70, GH-73 (GH-79), and GH-21.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Much of bpo-29521 was fixed in parallel with commit
e7ffb99 . This cleans up the rest.
Apply parallel change to Doc/make.bat to read
"set SPHINXOPTS=-D latex_elements.papersize="
I don't have a Windows system on which to observe the warning,
but it should be necessary.
The warning:
.../workspace/cpython_github/Doc/faq/windows.rst:303:
WARNING: unknown option: -t
In the Windows FAQ, `How do I keep editors from inserting tabs
into my Python source?`, contained a reference to a Python -t
option. In Python 2.x, this caused Python to issue warnings
about lines with mixed spaces and tabs, but as of Python 3.6
it does nothing.
Per discussion at http://bugs.python.org/issue29387, take
their wording. Python [3] raises an IndentationError or
TabError. Tabnanny is now a module.
(cherry picked from commit 3d707be950b387552585451071928e7b39cdfa53)
|
|
|
|
|
|
|
|
| |
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS
Contributed by Ryan Gonzalez @kirbyfan64
(cherry picked from commit e7ffb99f842ebff97cffa0fc90b18be4e5abecf2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
various updates from upstream python/typing repo:
- Added typing.Counter and typing.ChainMap generics
- More flexible typing.NamedTuple
- Improved generic ABC caching
- More tests
- Bugfixes
- Other updates
* Add Misc/NEWS entry
(cherry picked from commit b692dc8475a032740576129d0990ddc3edccab2b)
|
|
|
|
|
|
|
|
|
| |
* Add a paragraph at the top for users, not builders, of Python.
* Use nicer rst url syntax to avoid borking paragraphs in the plain text.
Contributed by Ned Batchelder @nedbat
(cherry picked from commit 3cdbd68ce8230cff1afb67472b96fbfa7f047e32)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GitHub (#37)
* bpo-28929: Link the documentation to its source file on GitHub
Change the documentation's `Show Source` link on the left menu
to GitHub source file.
(cherry picked from commit 23bafa294c75c20cb85ae5d97d7571a3a0ad8dd3)
* remove if statement
|
|
|
|
| |
There were some grammatical errors in weakref.WeakValueDictionary
documentation.
|
|
|
|
|
|
|
|
| |
It took me quite a bit to figure out what this was referring to,
since the given issue number is wrong, and the original commit
message I found through git blame lists a different, also wrong
issue number... see https://bugs.python.org/issue27122#msg279449
(cherry picked from commit af88e7eda4101f36e904771d3cf59a5f740b3b00)
|
|
|
|
| |
(cherry picked from commit 79ab8be05fb4ffb5c258d2ca49be5fc2d4880431)
|
|
|
|
|
| |
Issue #29100: On Windows, datetime.datetime.fromtimestamp(min_ts) fails with an
OSError in test_timestamp_limits().
|
|
|
|
| |
Issue #29100: Catch OverflowError in the new test_timestamp_limits() test.
|
|
|
|
|
| |
Issue #29100: Fix datetime.fromtimestamp() regression introduced in Python
3.6.0: check minimum and maximum years.
|
|\ |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Add canonical header link on each page to corresponding major
version of the documentation.
Patch by Matthias Bussonnier.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
asyncio-task.rst
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|