Miss Islington (bot)
0404d35f9d
bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)
...
On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary
unchanged, and a monitor resolution greater than 96 DPI, this should
make text and lines sharper. It should otherwise have no effect.
Using a magnifier, I determined that the improvement comes from horizontal and
lines being better lined up with the monitor pixels. I checked that this call causes
no problem on any Windows buildbot, including the Win7 buildbots. Unlike most
IDLE patches, this one can be easily reverted by users by removing a few lines,
at the top of idlelib/pyshell.py.
(cherry picked from commit 800415e3df )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-06-11 11:39:43 -07:00
Miss Islington (bot)
860d8c4a5e
bpo-33831: Make htmlview run again (GH-7628)
...
(cherry picked from commit 0e5f901508 )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-06-11 10:20:05 -07:00
Miss Islington (bot)
bbbc3d99dc
bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (GH-7631) ( #7634 )
...
The docs claimed that a list of EmailMessage objects could be
passed to set_content(), but this was never implemented.
(cherry picked from commit 2c071cebe6 )
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2018-06-11 12:11:52 -04:00
Ned Deily
1b5731e276
bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7622)
2018-06-11 04:33:26 -04:00
Ned Deily
4836dc9973
more pypi.python.org -> pypi.org for 3.6 (GH-7616)
2018-06-11 01:29:28 -04:00
Miss Islington (bot)
1d4089b5d2
bpo-33812: Corrected astimezone for naive datetimes. (GH-7578) (GH-7601)
...
A datetime object d is aware if d.tzinfo is not None and
d.tzinfo.utcoffset(d) does not return None. If d.tzinfo is None,
or if d.tzinfo is not None but d.tzinfo.utcoffset(d) returns None,
d is naive.
This commit ensures that instances with non-None d.tzinfo, but
d.tzinfo.utcoffset(d) returning None are treated as naive.
In addition, C acceleration code will raise TypeError if
d.tzinfo.utcoffset(d) returns an object with the type other than
timedelta.
* Updated the documentation.
Assume that the term "naive" is defined elsewhere and remove the
not entirely correct clarification. Thanks, Tim.
(cherry picked from commit 877b23202b )
Co-authored-by: Alexander Belopolsky <abalkin@users.noreply.github.com>
2018-06-10 18:03:31 -04:00
Miss Islington (bot)
08a1b13392
bpo-33610: Update IDLE Code Context doc entry (GH-7597)
...
Users can now click on context lines.
(cherry picked from commit af4b0130d4 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-06-10 13:11:20 -07:00
Miss Islington (bot)
969759e11e
bpo-33820: Fix IDLE What's New typo (GH-7594)
...
(cherry picked from commit 820c53ac61 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-06-10 12:34:08 -07:00
Miss Islington (bot)
8ecd7f6d52
bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)
...
(cherry picked from commit e226eb7157 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-06-10 11:30:44 -07:00
Miss Islington (bot)
5c52f48200
Remove hyphens from phrase "picks up where it left off" (GH-7410)
...
(cherry picked from commit d689f97619 )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-06-09 19:04:32 -07:00
Miss Islington (bot)
a5f0a8eeab
Fix typo in object.__getnewargs__() documentation (GH-7554)
...
(cherry picked from commit 0e0534c402 )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-06-09 18:00:47 -07:00
Miss Islington (bot)
1f5569824f
bpo-33766: Document that end of file or string is a newline (GH-7383)
...
(cherry picked from commit 0aa17ee6a7 )
Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
2018-06-09 17:12:24 -07:00
Miss Islington (bot)
a0accc0f8e
bpo-31215: Add version changed notes for OpenSSL 1.1.0 compatibility (GH-7346)
...
(cherry picked from commit 9ef1b0690b )
Co-authored-by: Mayank Singhal <17mayank.singhal@gmail.com>
2018-06-08 03:22:39 -07:00
Berker Peksag
279564431e
[3.6] bpo-32392: Document env keyword argument of subprocess.run() (GH-7289)
...
(cherry picked from commit af1ec97a6d )
Conflicts:
Doc/library/subprocess.rst
2018-06-07 22:22:35 +03:00
Miss Islington (bot)
21f2553482
bpo-17909: Document that json.load can accept a binary IO (GH-7366)
...
(cherry picked from commit bb6366bd75 )
Co-authored-by: Anthony Sottile <asottile@umich.edu>
2018-06-07 03:21:20 -07:00
Miss Islington (bot)
889a1ef683
bpo-27902: Add compatibility note to Profile docs (GH-7295)
...
(cherry picked from commit f7745e1dcb )
Co-authored-by: Tobias Kunze <r@rixx.de>
2018-06-04 10:30:34 -07:00
Miss Islington (bot)
6a43d5f4fb
bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263)
...
The bytes parameter uses big endian.
(cherry picked from commit b75ec08567 )
Co-authored-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
2018-06-04 10:18:22 -07:00
Miss Islington (bot)
db30390858
bpo-23495: Correct the documentation for writerows() of csv Writer objects (GH-6316)
...
`writerows()` takes an iterable.
(cherry picked from commit a801cf164b )
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2018-06-02 08:37:28 -07:00
Miss Islington (bot)
218eacad2a
Fix typo in datamodel.rst (GH-6964)
...
This is a simple grammatical fix correcting "...object whose `__self__` attributes is ..." to "...object whose `__self__` attribute is ...".
(cherry picked from commit 00818c8ffd )
Co-authored-by: Zach Mitchell <zmitchell@users.noreply.github.com>
2018-06-02 07:53:54 -07:00
Miss Islington (bot)
1df877caad
bpo-32519: Removed misleading sentence from EnvBuilder documentation. (GH-7296) (GH-7299)
...
(cherry picked from commit c0d341d49b )
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2018-06-01 18:56:47 +01:00
Miss Islington (bot)
461ad598d1
bpo-33400: Removed references to RFC3339 and ISO8601 from the logging documentation. (GH-7297) (GH-7303)
...
(cherry picked from commit 23cee80cfa )
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2018-06-01 18:55:10 +01:00
Serhiy Storchaka
55d9e865cb
[3.6] bpo-33641: Convert RFC references into links. (GH-7103) (GH-7276)
...
85% of them are already links.
(cherry picked from commit 0a36ac1a09 )
2018-05-31 09:11:07 +03:00
Miss Islington (bot)
7da7a01f99
3.6 what's new: fix a reference to PEP 528 (GH-7113) ( #7257 )
...
(cherry picked from commit 495e567a2b )
Co-authored-by: Dmitry Shachnev <mitya57@users.noreply.github.com>
2018-05-30 19:35:15 -04:00
Miss Islington (bot)
7301dd91e8
bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242)
...
(cherry picked from commit 05f1c8902c )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-30 10:37:52 -07:00
Yury Selivanov
3b263e65a8
bpo-32684: Fix gather to propagate cancel of itself with return_exceptions (GH-7224)
2018-05-29 19:20:01 -04:00
Miss Islington (bot)
51bf38f796
bpo-30935: update get_event_loop docs (GH-2731)
...
(cherry picked from commit e55de2d77f )
Co-authored-by: Mandeep Singh <daxlab@users.noreply.github.com>
2018-05-29 12:33:29 -07:00
Steve Dower
325320d5f5
bpo-32878: Adds documentation for st_ino on Windows (GH-5764) (GH-7190)
2018-05-28 19:27:11 -07:00
Miss Islington (bot)
08beaf7d60
bpo-33670: Expose Sphinx errorlevel (GH-7156)
...
(cherry picked from commit 8c1ad0c4f6 )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-28 18:49:50 -07:00
Miss Islington (bot)
d8af830243
bpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163)
...
(cherry picked from commit 3d3e66c2da )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-28 18:08:17 -07:00
Andrés Delfino
717204ffcc
[3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829) (GH-7128)
...
* [3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829).
(cherry picked from commit 6e33f810c9 )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Typo fix spotted by Guido
2018-05-26 10:41:12 -07:00
Miss Islington (bot)
36f066a974
Document typing.NoReturn (GH-7107)
...
(cherry picked from commit 6e413f4327 )
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
2018-05-24 21:56:24 -07:00
Serhiy Storchaka
93e9fb5664
[3.6] bpo-5945: Improve mappings and sequences C API docs. (GH-7029). (GH-7049)
...
(cherry picked from commit f5b1183610 )
2018-05-22 14:54:14 +03:00
Miss Islington (bot)
ab90ea2a9c
Fix lambda parameters being refered as arguments (GH-7037)
...
(cherry picked from commit 268cc7c3f8 )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-22 01:07:35 -07:00
Miss Islington (bot)
0c1e7d8122
bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)
...
(cherry picked from commit 1179f4b40f )
Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
2018-05-21 19:18:41 -07:00
Miss Islington (bot)
983e9653e0
bpo-33580: Make binary/text file glossary entries follow most common "see also" style. (GH-6991)
...
(cherry picked from commit 0c4be82890 )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-20 08:57:42 -07:00
Miss Islington (bot)
82c9adb3f9
bpo-30940: Updating round() docs. (GH-6342)
...
(cherry picked from commit 900c48dba3 )
Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
2018-05-20 08:29:45 -07:00
Miss Islington (bot)
cef1f870be
Docs: be less specific about python versions (GH-6985)
...
CPython 3.5 is old now, and we don't bump this version often,
so lets avoid using specific versions.
(cherry picked from commit 9572132ab3 )
Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com>
2018-05-20 08:09:58 -07:00
Miss Islington (bot)
10a122c0d5
bpo-23722: Fix docs for future __classcell__ changes. (GH-6999)
...
(cherry picked from commit 8ae8e6af37 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-19 22:47:05 -07:00
Julien Palard
66b3f53db9
[3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895)
...
(cherry picked from commit 78553138be )
2018-05-19 09:28:28 +02:00
Miss Islington (bot)
a5f33a899f
bpo-19950: Clarify unittest TestCase instance use. (GH-6875) (GH-6939)
...
(cherry picked from commit dff46758f2 )
Co-authored-by: Gregory P. Smith <greg@krypto.org> Google
2018-05-18 17:55:05 -07:00
Andrés Delfino
fb5d0aa116
[3.6] bpo-33518: Add PEP entry to documentation glossary (GH-6860) ( #6935 )
...
(cherry picked from commit d5f1442608 )
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-19 01:44:21 +02:00
Miss Islington (bot)
e6e440ad5c
Fix C API docs: PyCapsule_Import always set an exception on failure. (GH-6967)
...
(cherry picked from commit bde3e0bf09 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-18 06:53:42 -07:00
Steve Dower
0d8f83f59c
bpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6925)
2018-05-17 09:46:00 -04:00
Stéphane Wirtel
e4cd12d3d3
[3.6] bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6885)
...
(cherry picked from commit 19177fbd5d )
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-05-16 10:08:23 -04:00
Petr Viktorin
e618e96581
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6864)
...
This is a backport of the documentation part of GH-6862
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
2018-05-15 13:31:47 -04:00
Travis DePrato
295465dc29
Add AsyncContextManager to typing module documentation. (GH-6823)
2018-05-14 22:07:21 -04:00
Miss Islington (bot)
914bad6e2c
Add versionchanged in create_datagram_endpoint doc (GH-4697)
...
Most of the parameters were added in 3.4.4 (b9bf913ab3 ), but this
change was not documented
(cherry picked from commit 0ded580403 )
Co-authored-by: Romuald Brunet <romuald@chivil.com>
2018-05-14 13:12:47 -07:00
Miss Islington (bot)
9fd5b5fdf8
bpo-22069: Update TextIO documentation (GH-6609)
...
Clarify that flush is implied when the call to write contains a newline character.
(cherry picked from commit 7ffd4c58fa )
Co-authored-by: Elena Oat <oat.elena@gmail.com>
2018-05-14 09:18:07 -07:00
Miss Islington (bot)
7488c79b60
bpo-26701: Tweak the documentation for special methods in int(). (GH-6741)
...
(cherry picked from commit df00f04825 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-10 07:38:20 -07:00
Miss Islington (bot)
fa40fc0593
bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738)
...
(cherry picked from commit ddb6215a55 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-09 02:00:13 -07:00