Mariatta
db3deb98e9
bpo-29521 Fix two minor documentation build warnings ( #41 ) ( #83 )
...
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 3d707be950
)
2017-02-14 08:54:59 -08:00
Mariatta
9268855ba6
Fix some sphinx warnings ( #9 ) ( #81 )
...
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS
Contributed by Ryan Gonzalez @kirbyfan64
(cherry picked from commit e7ffb99f84
)
2017-02-14 06:11:48 -08:00
Mariatta
0230e64d2c
bpo-28556: Various updates to typing ( #28 ) ( #77 )
...
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 b692dc8475
)
2017-02-14 06:11:12 -08:00
Mariatta
2d0c2286f8
A few README tweaks ( #73 ) ( #79 )
...
* 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 3cdbd68ce8
)
2017-02-13 15:48:40 -08:00
INADA Naoki
89ddffbe9d
bpo-29438: fixed use-after-free in key sharing dict ( #39 )
2017-02-13 09:19:05 +09:00
Mariatta
f66c81ff49
[backport to 3.6] bpo-28929: Link the documentation to its source file on 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 23bafa294c
)
* remove if statement
2017-02-12 13:08:24 -08:00
Mariatta
308f789d00
bpo-29474: Improve documentation for weakref.WeakValueDictionary ( #22 )
...
There were some grammatical errors in weakref.WeakValueDictionary
documentation.
2017-02-12 08:18:07 -08:00
Berker Peksag
89b1824e69
bpo-27122: Fix comment to point to correct issue number ( #48 )
...
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 af88e7eda4
)
2017-02-12 19:13:31 +03:00
Mariatta
c2328ec0f4
[backport to 3.6] Support "bpo-" in Misc/NEWS ( #42 )
...
(cherry picked from commit 79ab8be05f
)
2017-02-12 15:18:45 +03:00
Victor Stinner
2a35c939cc
Fix test_datetime on Windows
...
Issue #29100 : On Windows, datetime.datetime.fromtimestamp(min_ts) fails with an
OSError in test_timestamp_limits().
2017-02-10 12:37:21 +01:00
Victor Stinner
6f37e3645d
Fix test_datetime on system with 32-bit time_t
...
Issue #29100 : Catch OverflowError in the new test_timestamp_limits() test.
2017-02-10 11:45:14 +01:00
Victor Stinner
b67f096738
Fix datetime.fromtimestamp(): check bounds
...
Issue #29100 : Fix datetime.fromtimestamp() regression introduced in Python
3.6.0: check minimum and maximum years.
2017-02-10 10:34:02 +01:00
Łukasz Langa
57fe245e8c
Merge 3.5 ( fix #29519 )
2017-02-10 00:16:10 -08:00
Łukasz Langa
9cd7e17640
Fix #29519 : weakref spewing exceptions during interp finalization
2017-02-10 00:14:55 -08:00
Benjamin Peterson
35a1f7f62d
massage English for -X descriptions a bit
2017-02-09 22:31:17 -08:00
Serhiy Storchaka
d43ab05916
Issue #29513 : Fixed a reference leak in os.scandir() added in issue #29034 .
2017-02-09 20:02:37 +02:00
Nick Coghlan
e1857579f8
Merge issue #26355 fix from Python 3.5
2017-02-09 16:08:17 +01:00
Nick Coghlan
e66244521c
Issue #26355 : Specify canonical URLs in docs pages
...
Add canonical header link on each page to corresponding major
version of the documentation.
Patch by Matthias Bussonnier.
2017-02-09 16:03:59 +01:00
Berker Peksag
088507644e
Issue #29441 : Merge from 3.5
2017-02-07 11:27:48 +03:00
Berker Peksag
f59286794b
Issue #29441 : Update examples to use async and await keywords in asyncio-task.rst
2017-02-07 11:27:09 +03:00
Mariatta Wijaya
6138432e59
Issue #29314 : Merge with 3.5
2017-02-06 22:05:10 -08:00
Mariatta Wijaya
4e7ff8b1a3
Issue #29314 : Set the stacklevel to two in asyncio.async() Deprecation Warning
2017-02-06 22:03:00 -08:00
Mariatta Wijaya
e39262ccc3
Issue #29371 : merge with 3.5
2017-02-06 20:16:58 -08:00
Mariatta Wijaya
81b8977349
Issue #29371 : Clarify bitwise OR operation in doctest option flags.
2017-02-06 20:15:01 -08:00
Steve Dower
2dfa6cb9ff
Issue #28164 : Improves test on Windows 7
2017-02-06 14:50:17 -08:00
Steve Dower
f007b49eb9
Includes ensurepip and venv packages in nuget package.
2017-02-06 14:12:19 -08:00
Steve Dower
5288477cfd
Includes ensurepip and venv packages in nuget package.
2017-02-06 14:11:34 -08:00
Raymond Hettinger
d0b9158666
Substitute a more readable f-string
2017-02-06 07:15:31 -08:00
Berker Peksag
d93c4de522
Fix usage of data directive
2017-02-06 13:37:19 +03:00
Steve Dower
a7e164881e
Adds precheck for console filename to fix Windows 7.
2017-02-04 17:36:47 -08:00
Berker Peksag
6f80562862
Issue #28489 : Fix comment in tokenizer.c
...
Patch by Ryan Gonzalez.
2017-02-05 04:32:39 +03:00
Steve Dower
0c8ee60e91
Updates test_winconsoleio to better show the source of its issues.
2017-02-04 16:46:34 -08:00
Steve Dower
c008ddeb21
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:39:38 -08:00
Steve Dower
6d46ae7d12
Issue #29319 : Prevent RunMainFromImporter overwriting sys.path[0].
2017-02-04 15:39:21 -08:00
Steve Dower
5f9193a6ed
Issue #29326 : Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)
2017-02-04 15:19:29 -08:00
Steve Dower
722e3e2705
Issue #28164 : Correctly handle special console filenames (patch by Eryk Sun)
2017-02-04 15:07:46 -08:00
Steve Dower
21fae03e16
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:13 -08:00
Steve Dower
d3c4853b78
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:54:56 -08:00
Steve Dower
eacee98679
Issue #29409 : Implement PEP 529 for io.FileIO (Patch by Eryk Sun)
2017-02-04 14:38:11 -08:00
Steve Dower
bf0fc39edb
Issue #29392 : Prevent crash when passing invalid arguments into msvcrt module.
2017-02-04 15:05:40 -08:00
Steve Dower
1add96f1b6
Issue #29416 : Prevent infinite loop in pathlib.Path.mkdir
2017-02-04 14:55:16 -08:00
Serhiy Storchaka
86e42376c2
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:55:40 +02:00
Serhiy Storchaka
7e10dbbd45
Issue #29444 : Fixed out-of-bounds buffer access in the group() method of
...
the match object. Based on patch by WGH.
2017-02-04 22:53:57 +02:00
Stefan Krah
75c0d4f6bb
Issue29439: _decimal on Android requires linking with libm.
...
Patch by Chi Hsuan Yen.
2017-02-04 14:58:50 +01:00
Serhiy Storchaka
ed4de13f06
Issue #27867 : Silenced may-be-used-uninitialized warnings after
...
using PySlice_GetIndicesEx() in debug builds.
2017-02-04 11:07:17 +02:00
Serhiy Storchaka
c7611362b4
Issue #27867 : Silenced may-be-used-uninitialized warnings after
...
using PySlice_GetIndicesEx() in debug builds.
2017-02-04 11:04:00 +02:00
Berker Peksag
5a001eea5b
Issue #29198 : Merge from 3.5
2017-02-04 09:34:48 +03:00
Berker Peksag
5702fb7b4d
Issue #29198 : Fix indentation and markup in typing.rst
...
Patch by Jelle Zijlstra.
2017-02-04 09:34:16 +03:00
Berker Peksag
14169b2a89
Issue #29198 : Merge from 3.5
2017-02-04 09:18:42 +03:00
Berker Peksag
38962a6fe2
Issue #29198 : Document typing.AsyncGenerator
...
Patch by Jelle Zijlstra.
2017-02-04 09:18:11 +03:00