summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-29557: Remove ambiguous line in binhex docs (#90)David Wilemski2017-02-141-2/+0
| | | | | "appears to not work in all cases" does not inspire confidence in this module. I can find no context for what bug this was referencing so it should be removed.
* Issue #29534: move Misc/NEWS entry to correct section; add Misc/ACS entry ↵Mark Dickinson2017-02-142-2/+4
| | | | for Andrew Nester. (#99)
* Fixed #29534 - _decimal difference with _pydecimal (#65)Andrew Nester2017-02-143-11/+28
|
* Use 'make check' instead of 'python3 tools/rstlint.py' (#96)Berker Peksag2017-02-141-1/+1
|
* Only run CI checks when appropriate files have changed (#74)Berker Peksag2017-02-141-9/+27
| | | Closes python/core-workflow#14
* Tweak .codedoc.yml to make it more useful (#71)Berker Peksag2017-02-141-9/+14
|
* Various updates to README.rst (#21)Zachary Ware2017-02-141-83/+77
| | | | | | These include spelling/grammar fixes, removing some outdated prose, updating some superseded prose, and adding/cleaning up some links. Also rewraps the entire file at 79 columns.
* bpo-28556: Various updates to typing (#28)Ivan Levkivskyi2017-02-134-58/+335
| | | | | | | | | | | | | | | 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 * Add issue number
* A few README tweaks (#73)Ned Batchelder2017-02-131-5/+11
| | | | | * 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.
* Add Travis CI and Codecov badges to README (#70)Victor Stinner2017-02-132-6/+8
| | | | | | | Badges are small images which gives the status of the Travis CI and the coverage percentage of Codecode. It helps to check the status of the Travis CI and to get the link to Travis CI. See also https://shields.io/
* Travis CI: run rstlint.py in the docs job (#68)Victor Stinner2017-02-132-2/+3
| | | | | | | | | | 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.
* bpo-29521 Fix two minor documentation build warnings (#41)Jim DeLaHunt2017-02-132-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Allow up to a 0.01% drop in coverage (#30)Zachary Ware2017-02-131-2/+6
|
* bpo-29176: Fix name of the _curses.window class (#52)Victor Stinner2017-02-121-1/+1
| | | | Set name to "_curses.window" instead of "_curses.curses window" (with a space!?).
* getpass: update docstrings (#49)MRMillon2017-02-121-1/+0
| | | | EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here. ff47a133e1eee9dab60b86fb0d56ccd1022f841a
* bpo-28929: Link the documentation to its source file on GitHub (#35)Mariatta2017-02-121-2/+5
| | | | | | | | | * 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. * change version to master
* bpo-29524: Add Objects/call.c file (#12)Victor Stinner2017-02-129-1345/+1393
| | | | | | | | | * Move all functions to call objects in a new Objects/call.c file. * Rename fast_function() to _PyFunction_FastCallKeywords(). * Copy null_error() from Objects/abstract.c * Inline type_error() in call.c to not have to copy it, it was only called once. * Export _PyEval_EvalCodeWithName() since it is now called from call.c.
* bpo-29474: Improve documentation for weakref.WeakValueDictionary (#10)Mariatta2017-02-121-5/+5
| | | | There were some grammatical errors in weakref.WeakValueDictionary documentation.
* bpo-27122: Fix comment to point to correct issue number (#47)Nathaniel J. Smith2017-02-121-1/+1
| | | | | | 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
* bpo-29438: fixed use-after-free in key sharing dict (#17)INADA Naoki2017-02-122-3/+9
|
* Fix some sphinx warnings (#9)Ryan Gonzalez2017-02-113-17/+17
| | | | * Fix some deprecation warnings in Doc/conf.py * Fix an rst error in Misc/NEWS
* Make Travis docs build more lenient (#16)Zachary Ware2017-02-111-1/+1
|
* Rename README to README.rst and enhance formatting (#2)Victor Stinner2017-02-112-51/+44
| | | Update also the Release Schedule to Python 3.7.
* Fix bpo-29528 Use a secure variable to stop spam (#13)Donald Stufft2017-02-111-1/+5
| | | | | | | If the IRC notification is stored in plaintext, then anyone who forks the repository and also adds it to travis will send notifications to the IRC channel for their fork by default. Since the secure variable is encrypted using a repository specific key, this will only work when it is being built using the correct repository.
* Don't treat warnings as error in Travis docs job (#7)Victor Stinner2017-02-111-1/+1
| | | bpo-29527.
* Support "bpo-" in Misc/NEWS (#1)Brett Cannon2017-02-101-4/+4
|
* Fix formatting issue with Codecov badgeBrett Cannon2017-02-101-1/+2
|
* Add the Codecov badge for masterBrett Cannon2017-02-101-0/+3
|
* Add a Travis badge for the master branchBrett Cannon2017-02-101-0/+2
|
* Add a codecov configuration fileBrett Cannon2017-02-101-0/+26
|
* Add a Travis configuration fileBrett Cannon2017-02-101-0/+81
|
* Delete old pull request templateBrett Cannon2017-02-101-9/+0
|
* Add a CONTRIBUTING fileBrett Cannon2017-02-101-0/+46
| | | This file will be displayed to contributors when they create a pull request in any branch (hence why it is not written in a branch-specific way).
* Backed out changeset f23fa1f7b68fVictor Stinner2017-02-108-1390/+1345
| | | | | Sorry, I didn't want to push this change before the review :-( I was pushing a change into the 2.7 branch.
* Issue #29465: Add Objects/call.c fileVictor Stinner2017-02-108-1345/+1390
| | | | | | | | | | * Move all functions to call objects in a new Objects/call.c file. * Rename fast_function() to _PyFunction_FastCallKeywords(). * Copy null_error() from Objects/abstract.c * Inline type_error() in call.c to not have to copy it, it was only called once. * Export _PyEval_EvalCodeWithName() since it is now called from call.c.
* Merge 3.6Victor Stinner2017-02-101-2/+3
|\
| * Fix test_datetime on WindowsVictor Stinner2017-02-101-2/+3
| | | | | | | | | | Issue #29100: On Windows, datetime.datetime.fromtimestamp(min_ts) fails with an OSError in test_timestamp_limits().
* | Merge 3.6Victor Stinner2017-02-101-3/+7
|\ \ | |/
| * Fix test_datetime on system with 32-bit time_tVictor Stinner2017-02-101-3/+7
| | | | | | | | Issue #29100: Catch OverflowError in the new test_timestamp_limits() test.
* | Merge 3.6Victor Stinner2017-02-103-21/+79
|\ \ | |/
| * Fix datetime.fromtimestamp(): check boundsVictor Stinner2017-02-103-21/+79
| | | | | | | | | | Issue #29100: Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check minimum and maximum years.
* | Merge 3.6 (fix #29519)Łukasz Langa2017-02-101-2/+2
|\ \ | |/
| * Merge 3.5 (fix #29519)Łukasz Langa2017-02-102-2/+5
| |\
| | * Fix #29519: weakref spewing exceptions during interp finalizationŁukasz Langa2017-02-102-2/+5
| | |
* | | merge 3.6Benjamin Peterson2017-02-101-5/+7
|\ \ \ | |/ /
| * | massage English for -X descriptions a bitBenjamin Peterson2017-02-101-5/+7
| | |
* | | Issue #29507: Fix _PyObject_CallFunctionVa()Victor Stinner2017-02-091-2/+4
| | | | | | | | | | | | is_size_t test was reversed. Bug spotted by INADA Naoki.
* | | Issue #29507: Update test_exceptionsVictor Stinner2017-02-091-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_unraisable() of test_exceptions expects that PyErr_WriteUnraisable(method) fails on repr(method). Before the previous change (7b8df4a5d81d), slot_tp_finalize() called PyErr_WriteUnraisable() with a PyMethodObject. In this case, repr(method) calls repr(self) which is BrokenRepr.__repr__() and the calls raises a new exception. After the previous change, slot_tp_finalize() uses an unbound method: repr() is called on a regular __del__() method which doesn't call repr(self). repr() doesn't fail anymore. PyErr_WriteUnraisable() doesn't call __repr__() anymore, so remove BrokenRepr unit test.
* | | Optimize slots: avoid temporary PyMethodObjectVictor Stinner2017-02-093-58/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29507: Optimize slots calling Python methods. For Python methods, get the unbound Python function and prepend arguments with self, rather than calling the descriptor which creates a temporary PyMethodObject. Add a new _PyObject_FastCall_Prepend() function used to call the unbound Python method with self. It avoids the creation of a temporary tuple to pass positional arguments. Avoiding temporary PyMethodObject and avoiding temporary tuple makes Python slots up to 1.46x faster. Microbenchmark on a __getitem__() method implemented in Python: Median +- std dev: 121 ns +- 5 ns -> 82.8 ns +- 1.0 ns: 1.46x faster (-31%) Co-Authored-by: INADA Naoki <songofacandy@gmail.com>
* | | Null mergeSerhiy Storchaka2017-02-090-0/+0
|\ \ \ | |/ /