[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-10 Thread Mark Dickinson
Mark Dickinson added the comment: Hi Katherine, My report was really just about the last sentence, but I agree that the "narrower" language is confusing here. If someone says that a type "A" is narrower than type "B", that suggests to my ears that "A" represents a subset of the values of "B

[issue39601] brace escapes are not working in formatted string literal format specifications

2020-02-10 Thread Eric V. Smith
Eric V. Smith added the comment: I always use datetime for testing such things. Its __format__() returns its argument, as long as you don't have '%' in it. I do agree that it's odd that the doubled braces cause the expression to be evaluated, but are still kept as single braces in the result

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 3f8d181446aa9d87e3773896c2695161ea8f6e42 by Miss Islington (bot) in branch '3.8': bpo-38374: Remove weakref.ReferenceError from docs (GH-18452) https://github.com/python/cpython/commit/3f8d181446aa9d87e3773896c2695161ea8f6e42 -- _

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset fcfc3c8fbe3942e8deef15acc25bfa371db7766a by Miss Islington (bot) in branch '3.7': bpo-38374: Remove weakref.ReferenceError from docs (GH-18452) https://github.com/python/cpython/commit/fcfc3c8fbe3942e8deef15acc25bfa371db7766a -- _

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 4eb9f4313cfaea6a9611221024a1c54f5662cc37 by Roger Hurwitz in branch 'master': bpo-38374: Remove weakref.ReferenceError from docs (GH-18452) https://github.com/python/cpython/commit/4eb9f4313cfaea6a9611221024a1c54f5662cc37 -- nosy: +mis

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17829 pull_request: https://github.com/python/cpython/pull/18455 ___ Python tracker ___ __

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17828 pull_request: https://github.com/python/cpython/pull/18454 ___ Python tracker ___ __

[issue39606] Regression: it should be possible to close async iterators multiple times

2020-02-10 Thread Nathaniel Smith
New submission from Nathaniel Smith : In bpo-39386, the 'aclose' method for async generators was fixed so that the following broken code would correctly raise an error: # -- bad code -- async def agen_fn(): yield async def do_bad_thing(): agen = agen_fn() aclose_coro = agen.aclose

[issue39593] ctypes s_set() uses strlen() and so truncates string at null character

2020-02-10 Thread hai shi
hai shi added the comment: releated bpo: issue12769 s_get() in cfield.c function have similar behavior. So far, this is a planned action(lack evidence). -- ___ Python tracker __

[issue39577] venv --prompt argument is ignored

2020-02-10 Thread Vinay Sajip
Vinay Sajip added the comment: > Am I misunderstanding the behaviour of the prompt argument? You can see from Karthikeyan's post how it's supposed to work, and how it does work in his example. It may be that something else is overwriting the prompt in your environment - we can't tell without

[issue39605] Fix some casts to not cast away const

2020-02-10 Thread Andy Lester
Change by Andy Lester : -- keywords: +patch pull_requests: +17827 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18453 ___ Python tracker ___

[issue39605] Fix some casts to not cast away const

2020-02-10 Thread Andy Lester
New submission from Andy Lester : gcc -Wcast-qual turns up a number of instances of casting away constness of pointers. Some of these can be safely modified, by either: * Adding the const to the type cast, as in: -return _PyUnicode_FromUCS1((unsigned char*)s, size); +return _PyUnicod

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread Roger Hurwitz
Change by Roger Hurwitz : -- keywords: +patch pull_requests: +17826 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18452 ___ Python tracker ___ __

[issue39601] brace escapes are not working in formatted string literal format specifications

2020-02-10 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue39601] brace escapes are not working in formatted string literal format specifications

2020-02-10 Thread Zachary Ware
Change by Zachary Ware : -- components: -2to3 (2.x to 3.x conversion tool) ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37970] urllib.parse docstrings incomplete

2020-02-10 Thread Ido Michael
Ido Michael added the comment: Hey Senthil, Yes the PEP guides was fixed a while ago, also the new comment of adding the same change for the second function were taken care of. -- ___ Python tracker ___

[issue39585] Delete a pending item in _warning.c

2020-02-10 Thread ppperry
ppperry added the comment: What if a warning has a metaclass with a custom __getattribute__ method? -- nosy: +ppperry ___ Python tracker ___ __

[issue37970] urllib.parse docstrings incomplete

2020-02-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Ido, there was a change requested by a core-dev, Zachary , on your PR. > Please have a look at PEP 257 for docstring formatting guidelines. https://github.com/python/cpython/pull/16458/files#r353422155 Please let us know if that is addressed. -

[issue37970] urllib.parse docstrings incomplete

2020-02-10 Thread Ido Michael
Ido Michael added the comment: Any update on this? Adding @Tal Einat on the PR -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-10 Thread Eryk Sun
Eryk Sun added the comment: > On Windows 10 (version 1903), ANSI code page 1252, OEM code page 437, > LC_CTYPE locale "French_France.1252" The CRT default locale (i.e. the empty locale "") uses the user locale, which is the "Format" value on the Region->Formats tab. It does not use the system

[issue39601] brace escapes are not working in formatted string literal format specifications

2020-02-10 Thread Chris Wilcox
Chris Wilcox added the comment: Double curly braces do not indicate to not process the inner content. They indicate to include a literal curly brace. That said, I think there may be something not quite correct. I came up with an example based on the example in the format specifiers section

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 32c88407d24a700946e1a6429cd5ca616cb3a810 by Miss Islington (bot) in branch '3.7': bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449) https://github.com/python/cpython/commit/32c88407d24a700946e1a6429cd5ca616cb3a810 -- __

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset c372f9b9e758a22608b8df33423b7413d224fdad by Miss Islington (bot) in branch '3.8': bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449) https://github.com/python/cpython/commit/c372f9b9e758a22608b8df33423b7413d224fdad -- __

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Cheryl, it appears that only 'weight' words are deleted. For a given family, Tk only has a (user) settable 'bold', so other weight options must be 'baked in' to the family. Perhaps X11 allows more weight settings within a family, even if not exposed in Tk.

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: font.names() lists 'symbolic' family names guaranteed to exist. 'TkDefaultFont' is the default Text widget font on a particular OS. IDLE replaces that with 'TkFixedFont', which is translated to the actual family name on each OS: Courier on Windows (ugh) an

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17825 pull_request: https://github.com/python/cpython/pull/18451 ___ Python tracker ___ __

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 96ce22706735779cf8cc46eaaa5ac61359364b5a by Terry Jan Reedy in branch 'master': bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449) https://github.com/python/cpython/commit/96ce22706735779cf8cc46eaaa5ac61359364b5a --

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17824 pull_request: https://github.com/python/cpython/pull/18450 ___ Python tracker ___ __

[issue38374] Remove weakref.ReferenceError entry from documentation

2020-02-10 Thread Roger Hurwitz
Roger Hurwitz added the comment: At PyCascades CPython sprint and reviewing this issue. -- nosy: +rogerhurwitz ___ Python tracker ___ _

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread Cheryl Sabella
Cheryl Sabella added the comment: I don't see the same duplicates that Victor listed, however I do see some duplicates. (...) DejaVu Sans DejaVu Sans Mono DejaVu Serif (...) Manjari Manjari Manjari (...) Mukti Narrow Mukti Narrow (...) Ubuntu Ubuntu Ubuntu Condensed Ubuntu Mono (...) ---

[issue39577] venv --prompt argument is ignored

2020-02-10 Thread Andrea
Andrea added the comment: Operative system is OS X 10.15.3 (19D76) Catalina Python 3.7.4 installed via HomeBrew If I do this python -m venv ciao --prompt NewOne by the time I activate the environment, the prompt looks like (ciao) andreamoro@MacBookAir:~/Python Am I misunderstanding the behav

[issue39604] Document PyDateTimeAPI / PyDateTime_CAPI struct

2020-02-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue38063] Modify test_socket.py to use unittest test discovery

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-14408. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Support ./python -m unittest in test_socket ___ Python tracker

[issue39578] MagicMock specialisation instance can no longer be passed to new MagicMock instance

2020-02-10 Thread Elena Oat
Elena Oat added the comment: Here's the example I ran, that indeed fails in Python 3.8 and Python 3.9 (with different errors) and works in Python 3.7. from unittest.mock import MagicMock class CustomMock(MagicMock): def __init__(self): super().__init__(__something__='something'

[issue14408] Support ./python -m unittest in test_socket

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-38063 as a duplicate of this issue. -- nosy: +vstinner ___ Python tracker ___ ___ Py

[issue36273] test_thread leaks a core dump on PPC64 AIX 3.x

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure on PPC64 AIX 3.x recently, I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue36194] Add "make regen-configure"

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: Most developers seem to be used to "autoconf && autoheader", so it's not obvious that "make regen-configure" would benefit to anyone. I just close the issue. -- resolution: -> rejected stage: -> resolved status: open -> closed

[issue35361] Update libffi dependency to 3.2.1?

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 and 3.6 don't accept bugfixes anymore. I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed versions: +Python 2.7, Python 3.6 -Python 3.8 ___ Python tracker

[issue38325] [Windows] test_winconsoleio failures

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I "fixed" the issue by skipping broken tests. If anyone wants to fix the underlying issue: go ahead and open an issue, it would be way better with a PR to fix these tests! In the meanwhile, skipping broken tests help to detect regressions (new issues).

[issue35501] "make coverage" should not leak coverage compiler flags to third party C extensions

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: It's unclear to me if it's a real issue or not. Moreover, I'm not comfortable to change the Makefile. So I just close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python

[issue13826] Having a shlex example in the subprocess.Popen docs is confusing

2020-02-10 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38325] [Windows] test_winconsoleio failures

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 038770edc4680e9a3dc39bacb35a8358034fb901 by Victor Stinner in branch 'master': bpo-38325: Skip non-BMP tests of test_winconsoleio (GH-18448) https://github.com/python/cpython/commit/038770edc4680e9a3dc39bacb35a8358034fb901 --

[issue31963] AMD64 Debian PGO 3.x buildbot: compilation failed with an internal compiler error in create_edge

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently, I close the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue21998] asyncio: support fork

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: There is no activity for 2 years. Asyncio is mature now. It seems like users learnt how to work around this issue, or don't use fork() with asyncio. I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +17823 pull_request: https://github.com/python/cpython/pull/18449 ___ Python tracker ___ __

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-02-10 Thread Carol Willing
Carol Willing added the comment: New changeset c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160 by Ogi Moore in branch 'master': bpo-39417: Fix broken link to guide to building venvs (GH-18432) https://github.com/python/cpython/commit/c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160 -- nosy: +willi

[issue11871] test_default_timeout() of test_threading.BarrierTests failure: BrokenBarrierError

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I didn't see this failure recently, I close the issue. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue39530] Documentation about comparisons between numeric types is misleading

2020-02-10 Thread Katherine Michel
Katherine Michel added the comment: I'm at the sprints at PyCascades and was looking for an issue to work on and came across this and wanted to know more about it. As I was doing some research, I found the terms "narrower" and "wider" to seem ambiguous. I'm assuming "narrower" to mean that an

[issue39601] brace escapes are not working in formatted string literal format specifications

2020-02-10 Thread JitterMan
JitterMan added the comment: My expectation is that doubling up the braces acts to escape them, meaning that characters between the braces is treated as simple text and passed to the __format__ method as is. The only processing that should occur on the format specification is to convert the

[issue38061] FreeBSD: Optimize subprocess.Popen(close_fds=True) using closefrom()

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: FreeBSD change has been merged: "lang/python{27,35,36,37,38}: Add closefrom(2) support" https://svnweb.freebsd.org/ports?view=revision&revision=518640 -- ___ Python tracker

[issue38325] [Windows] test_winconsoleio failures

2020-02-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17822 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18448 ___ Python tracker ___ _

[issue38515] regrtest main process timed out after 5 min on AMD64 FreeBSD CURRENT Shared 3.8

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently, I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue38887] test_asyncio: test_pipe_handle() failed on AMD64 Windows7 SP1 3.x

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently, I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: >>> loc=locale.getlocale(locale.LC_CTYPE) >>> loc ('tr_TR', 'ISO8859-9') getlocale() has issues on Unix, but worse issues on Windows. See: * bpo-12726 * bpo-20087 * bpo-20088 * bpo-23425 * bpo-33934 * bpo-38805 I never use getlocale() and I never unders

[issue39498] Signpost security considerations in library

2020-02-10 Thread Carol Willing
Carol Willing added the comment: I agree that a helpful entry in the index would be a nice addition. Christian would be the person to start with since he probably has ideas what would be useful too. -- nosy: +willingc ___ Python tracker

[issue39594] Typo in documentation for os.times

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 4d4301782cbc789eedc5b76741d1028df579cfa5 by Miss Islington (bot) in branch '3.8': bpo-39594: Fix typo in os.times documentation (GH-18443) https://github.com/python/cpython/commit/4d4301782cbc789eedc5b76741d1028df579cfa5 -- __

[issue13826] Having a shlex example in the subprocess.Popen docs is confusing

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset e6690f6cd1b0c2bd5804bad30239a4070f79102c by Miss Islington (bot) in branch '3.8': bpo-13826: Clarify Popen constructor example (GH-18438) https://github.com/python/cpython/commit/e6690f6cd1b0c2bd5804bad30239a4070f79102c -- ___

[issue39594] Typo in documentation for os.times

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset a12effde34e7cf7ced767ca232cc2ed95e62cd46 by Miss Islington (bot) in branch '3.7': bpo-39594: Fix typo in os.times documentation (GH-18443) https://github.com/python/cpython/commit/a12effde34e7cf7ced767ca232cc2ed95e62cd46 -- __

[issue13826] Having a shlex example in the subprocess.Popen docs is confusing

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 78982f94faaa05e363d15b49ec230d11a4d8bebd by Miss Islington (bot) in branch '3.7': bpo-13826: Clarify Popen constructor example (GH-18438) https://github.com/python/cpython/commit/78982f94faaa05e363d15b49ec230d11a4d8bebd -- ___

[issue39594] Typo in documentation for os.times

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17821 pull_request: https://github.com/python/cpython/pull/18447 ___ Python tracker ___ __

[issue39594] Typo in documentation for os.times

2020-02-10 Thread Mariatta
Mariatta added the comment: Thanks! -- nosy: +Mariatta resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue13826] Having a shlex example in the subprocess.Popen docs is confusing

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17820 pull_request: https://github.com/python/cpython/pull/18446 ___ Python tracker ___ __

[issue13826] Having a shlex example in the subprocess.Popen docs is confusing

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17819 pull_request: https://github.com/python/cpython/pull/18445 ___ Python tracker ___ __

[issue13826] Having a shlex example in the subprocess.Popen docs is confusing

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 95d024d585bd3ed627437a2f0cbc783c8a014c8a by Tim D. Smith in branch 'master': bpo-13826: Clarify Popen constructor example (GH-18438) https://github.com/python/cpython/commit/95d024d585bd3ed627437a2f0cbc783c8a014c8a -- nosy: +miss-islin

[issue39594] Typo in documentation for os.times

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17818 pull_request: https://github.com/python/cpython/pull/18444 ___ Python tracker ___ __

[issue39594] Typo in documentation for os.times

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 37c55b2b49a3acb7c56c9f6a5062bc6e4e35bc1c by Roger Hurwitz in branch 'master': bpo-39594: Fix typo in os.times documentation (GH-18443) https://github.com/python/cpython/commit/37c55b2b49a3acb7c56c9f6a5062bc6e4e35bc1c -- nosy: +miss-isl

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: Details on this error: ERROR: test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) -- Traceback (most recent call last): File "C:\vstinner\python\3.8\lib\test\test_locale.py", li

[issue30155] Add ability to get tzinfo from a datetime instance in C API

2020-02-10 Thread Paul Ganssle
Paul Ganssle added the comment: So this bug is asking for two things: 1. An official accessor for the `tzinfo` component of an existing datetime, which I think is very reasonable in light of the fact that there are official accessors for all the other components of a datetime. 2. An officia

[issue11664] Add patch method to unittest.TestCase

2020-02-10 Thread Guido van Rossum
Guido van Rossum added the comment: Given the two recent -1 responses let's close this. -- nosy: +gvanrossum resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___

[issue34592] cdll.LoadLibrary allows None as an argument

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I'm using LoadLibrary(None) commonly to load symbols in Python itself ;-) -- nosy: +vstinner ___ Python tracker ___ _

[issue34592] cdll.LoadLibrary allows None as an argument

2020-02-10 Thread Malcolm Smith
Malcolm Smith added the comment: This isn't documented, but CDLL(None) is translated to dlopen(NULL), which "causes a search for a symbol in the main program, followed by all shared libraries loaded at program startup, and then all shared libraries loaded by dlopen() with the flag RTLD_GLOBA

[issue39604] Document PyDateTimeAPI / PyDateTime_CAPI struct

2020-02-10 Thread Paul Ganssle
New submission from Paul Ganssle : The entire public interface documented for the datetime C API is various C macros (see: https://docs.python.org/3/c-api/datetime.html) which are wrappers around function calls to the PyDateTimeAPI / PyDatetime_CAPI struct, but the struct itself is undocument

[issue39594] Typo in documentation for os.times

2020-02-10 Thread Roger Hurwitz
Change by Roger Hurwitz : -- keywords: +patch pull_requests: +17817 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18443 ___ Python tracker ___ __

[issue39278] add docstrings to functions in pdb module

2020-02-10 Thread Ognyan Moore
Ognyan Moore added the comment: Stumbled across this issue, is there a list of methods/functions that need docstrings or should we aim to add docstrings to all methods in pdb.py? -- nosy: +Ognyan Moore ___ Python tracker

[issue39594] Typo in documentation for os.times

2020-02-10 Thread Roger Hurwitz
Roger Hurwitz added the comment: Reviewing this as part of the CPython sprint at PyCascades. -- nosy: +rogerhurwitz ___ Python tracker ___

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: > Victor, your example does not create a Listbox, so that cannot be the issue. > The only change to ConfigDialog when testing is that it is not made modal. > What puzzles me is that test_fontlist_key starts by explicitly activating the > first font on the

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: In LibreOffice, I see 4 flavors of "Cantarell" with different *weight* : Cantarell Cantarell Extra Bold Cantarell Light Cantarell Thin whereas tkinter.font.families(frame) returns 4 times the same string: "Cantarell". The C function of Tk is TkpGetFontFamili

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 2e8097d1c7c04dd96061ec1498cfa088bce9085b by Miss Islington (bot) in branch '3.7': bpo-39600, IDLE: Remove duplicated font names (GH-18430) https://github.com/python/cpython/commit/2e8097d1c7c04dd96061ec1498cfa088bce9085b -- __

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 021a5694ede9d7be119f9ceb3ee7e8e518ec5002 by Miss Islington (bot) in branch '3.8': bpo-39600, IDLE: Remove duplicated font names (GH-18430) https://github.com/python/cpython/commit/021a5694ede9d7be119f9ceb3ee7e8e518ec5002 -- nosy: +miss

[issue3950] turtle.py: bug in TurtleScreenBase._drawimage

2020-02-10 Thread Guido van Rossum
Guido van Rossum added the comment: Sorry, those PRs were for issue39501. -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bug

[issue39501] gettext's default localedir does not match documentation

2020-02-10 Thread Guido van Rossum
Guido van Rossum added the comment: Fixed by Carl-y in PR 18435, PR 18440, PR 18439. (Sorry, those commits were attributed to issue3950 by mistake.) -- nosy: +gvanrossum resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tr

[issue3950] turtle.py: bug in TurtleScreenBase._drawimage

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset 3b888ad70aaed39df1985b38b4987feb5bee7981 by Miss Islington (bot) in branch '3.7': [3.7] bpo-3950: Fix docs for default locale used by gettext to match implementation (GH-18435) (GH-18439) https://github.com/python/cpython/commit/3b888ad70aaed39

[issue39578] MagicMock specialisation instance can no longer be passed to new MagicMock instance

2020-02-10 Thread Elena Oat
Elena Oat added the comment: I am looking at reproducing this and creating a short example of where this fails. Will look further into more details of why this doesn't work. -- nosy: +Elena.Oat ___ Python tracker

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2020-02-10 Thread Anthony Tuininga
Anthony Tuininga added the comment: Any progress on this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17816 pull_request: https://github.com/python/cpython/pull/18442 ___ Python tracker ___ __

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17815 pull_request: https://github.com/python/cpython/pull/18441 ___ Python tracker ___ __

[issue3950] turtle.py: bug in TurtleScreenBase._drawimage

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17813 pull_request: https://github.com/python/cpython/pull/18440 ___ Python tracker ___ ___

[issue3950] turtle.py: bug in TurtleScreenBase._drawimage

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17814 pull_request: https://github.com/python/cpython/pull/18439 ___ Python tracker ___ ___

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, do you know anything about the tkinter.font.families() tuple having duplicate names? It strikes me as an OS or tk error. On Windows, the tuple has groups of related names with a base name, such as 'Segoe UI' both alone and with suffixes, such as 'li

[issue13826] Having a shlex example in the subprocess.Popen docs is confusing

2020-02-10 Thread Tim Smith
Change by Tim Smith : -- keywords: +patch pull_requests: +17812 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18438 ___ Python tracker ___

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17810 pull_request: https://github.com/python/cpython/pull/18436 ___ Python tracker ___ __

[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

2020-02-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17811 pull_request: https://github.com/python/cpython/pull/18437 ___ Python tracker ___ __

[issue16776] Document PyCFunction_New and PyCFunction_NewEx functions

2020-02-10 Thread Guido van Rossum
Guido van Rossum added the comment: I'm sprinting with Roger. Based on Petr's comment I am closing this issue -- if we should not draw attention to this function let's not document it. @svetlov if you still think it should be documented, can you suggest where the documentation should go? The

[issue39545] await is not supported in f-string in 3.6

2020-02-10 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR! We don't normally accept doc changes for branches in security-fix mode but this seems like a worthwhile exception. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue39545] await is not supported in f-string in 3.6

2020-02-10 Thread Ned Deily
Ned Deily added the comment: New changeset a2963f09629a0a8c63e9acef79c1dcc0a040ddb6 by Elena Oat in branch '3.6': bpo-39545: docs: do not use await in f-strings (GH-18434) https://github.com/python/cpython/commit/a2963f09629a0a8c63e9acef79c1dcc0a040ddb6 -- nosy: +ned.deily

[issue3950] turtle.py: bug in TurtleScreenBase._drawimage

2020-02-10 Thread Carl Tyndall
Change by Carl Tyndall : -- pull_requests: +17809 pull_request: https://github.com/python/cpython/pull/18435 ___ Python tracker ___ _

[issue39369] Doc: Update mmap readline method documentation

2020-02-10 Thread Carol Willing
Carol Willing added the comment: New changeset 6c9974e12c50150149b989aaef68be1fe46ea670 by Wellington Pardim in branch 'master': bpo-39369 Doc: Update mmap readline method documentation (GH-17957) https://github.com/python/cpython/commit/6c9974e12c50150149b989aaef68be1fe46ea670 -- n

[issue39417] Link to "Python Packaging User Guide: Creating and using virtual environments" is broken

2020-02-10 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +newcomer friendly ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

  1   2   >