[issue36260] [security] CVE-2019-9674: Zip Bomb vulnerability

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-39341 as a duplicate of this issue: "[security] zipfile: ZIP Bomb vulnerability, don't check announced uncompressed size". -- ___ Python tracker __

[issue39596] reverse parameter for enumerate()

2020-02-10 Thread Ammar Askar
Ammar Askar added the comment: What is the use case for this? You seem to want `enumerate` to return (item, index) instead of (index, item) when `reverse=True`? You can achieve this yourself easily a custom generator: >>> def swapped_enumerate(l): ... for idx, item in enumerate(l): ...

[issue39597] sorting the String

2020-02-10 Thread Shani M
New submission from Shani M : It showing the wrong string order. 'sss' is to be appear at 3rd place but it comes at last place. 'qwe' is to appear at last place but it comes at 3rd place. -- files: Screenshot from 2020-02-10 14-08-52.png messages: 361675 nosy: Shani M priority: normal

[issue39596] reverse parameter for enumerate()

2020-02-10 Thread Eric V. Smith
Eric V. Smith added the comment: You can already do this using existing composable tools, including: >>> list((item, idx) for idx, item in enumerate(lis)) [('a', 0), ('b', 1), ('c', 2), ('d', 3)] >>> We won't be adding a parameter to enumerate in order add another way of doing this. If you

[issue39128] Document happy eyeball parameters in loop.create_connection signature docs

2020-02-10 Thread Julien Palard
Julien Palard added the comment: New changeset 5305cc9dbfe8a5a0ab666511f3ba7f026c8983f8 by idomic in branch 'master': bpo-39128: Added happy_eyeballs_delay, interleave to function signature (GH-18315) https://github.com/python/cpython/commit/5305cc9dbfe8a5a0ab666511f3ba7f026c8983f8 ---

[issue39128] Document happy eyeball parameters in loop.create_connection signature docs

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

[issue39128] Document happy eyeball parameters in loop.create_connection signature docs

2020-02-10 Thread Julien Palard
Julien Palard added the comment: I merged the first PR about adding parameter, but I'm not closing this issue yet, as Andrew said, a small chapter with a description of Happy Eyeballs algorithm would be nice, if anyone want to write a PR, go for it. -- __

[issue39128] Document happy eyeball parameters in loop.create_connection signature docs

2020-02-10 Thread miss-islington
miss-islington added the comment: New changeset af95d790a86fc46739badfa9edbaeb264ee96600 by Miss Islington (bot) in branch '3.8': bpo-39128: Added happy_eyeballs_delay, interleave to function signature (GH-18315) https://github.com/python/cpython/commit/af95d790a86fc46739badfa9edbaeb264ee966

[issue39534] Clarify tutorial on return statement in finally clause.

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

[issue39584] MacOS crashes by running attached Python code

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

[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-02-10 Thread STINNER Victor
Change by STINNER Victor : -- title: MacOS crashes by running attached Python code -> multiprocessing.shared_memory: MacOS crashes by running attached Python code ___ Python tracker _

[issue39597] sorting the String

2020-02-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: >From the screenshot: >>> b = ['sss', 'ase', 'klm', 'qwe'] >>> print sorted(b) ['ase', 'klm', 'qwe', 'sss'] This is the correct result, the output list is alphabetically sorted. -- nosy: +ronaldoussoren resolution: -> not a bug status: open -> pend

[issue39011] ElementTree attributes replace "\r" with "\n"

2020-02-10 Thread Stefan Behnel
Stefan Behnel added the comment: Your patch looks good to me. Could you please add (or adapt) the tests and then create a PR from it? You also need to write a NEWS entry for this change, and it also seems worth an entry in the "What's new" document. https://devguide.python.org/committing/ -

[issue39011] ElementTree attributes replace "\r" with "\n"

2020-02-10 Thread Reece Johnson
Reece Johnson added the comment: Hope it is fixed now. -- nosy: +nows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Thomas Reed
New submission from Thomas Reed : Hi, I have problem with cache. If there is someone in the detail of product longer that 5 minutes and than click to button "back",it makes error "ERR_CACHE_MISS". Do you know, how can i solve it? Thank you :) -- components: Windows messages: 361683

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Reece Johnson
Reece Johnson added the comment: Is the user logged out from your site when receiving this message? -- nosy: +nows ___ Python tracker ___ _

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Thomas Reed
Thomas Reed added the comment: No, normally browsing the web and products (without login in), after looking at the product details and then clicking the back button, the error will occur. -- ___ Python tracker

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Reece Johnson
Reece Johnson added the comment: It's a google chrome issue: https://winerrorfixer.com/err-cache-miss -- ___ Python tracker ___ ___

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Thomas Reed
Thomas Reed added the comment: Alright, thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue39598] ERR_CACHE_MISS

2020-02-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The tracker is for issues related to CPython. This doesn't seem like a Python issue to me. Please use other forums for discussion. Closing it as not a bug. -- nosy: +xtreak resolution: -> not a bug stage: -> resolved status: open -> closed

[issue39599] ABI breakage between 3.7.4 and 3.7.5

2020-02-10 Thread Julien Danjou
New submission from Julien Danjou : As I've reported originally on the python-dev list, there seems to be an ABI breakage between 3.7.4 and 3.7.5. https://mail.python.org/archives/list/python-...@python.org/message/J2FGZPS5PS7473TONJTPAVSNXRGV3TFL/ The culprit commit is https://github.com/py

[issue39593] Adding a unit test of ctypes

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: Using strlen() seems to be as old as ctypes itself. -- I don't know which behavior is correct. It's a little bit strange that ctypes truncate the string at "\0". A "char" buffer can be an arbitrary array of bytes. It may be a binary format which doesn't use

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

2020-02-10 Thread STINNER Victor
Change by STINNER Victor : -- title: Adding a unit test of ctypes -> ctypes s_set() uses strlen() and so truncates string at null character ___ Python tracker ___

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: This issue is still failing frequently on buildbots. What can be done to stop getting test failures on buildbots? -- ___ Python tracker ___

[issue39128] Document happy eyeball parameters in loop.create_connection signature docs

2020-02-10 Thread Ido Michael
Ido Michael added the comment: Thanks Julien, I forgot about this part, will create a new PR. I thought referencing the abstract of the algorithm + a link to the IETF RFC: Happy Eyeballs: Success with Dual-Stack Hosts When a server's IPv4 path and protocol are working, but the server's

[issue39586] Deprecate bdist_msi: use bdist_wheel instead

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 29b3fc0a18f105de666fdd586b537f34e349766d by Hugo van Kemenade in branch 'master': bpo-39586: Deprecate distutils bdist_msi command (GH-18415) https://github.com/python/cpython/commit/29b3fc0a18f105de666fdd586b537f34e349766d -- nosy: +v

[issue39586] Deprecate bdist_msi: use bdist_wheel instead

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: Steve Dower who knows well Windows installer discourage users to use MSI: https://discuss.python.org/t/remove-distutils-bdist-wininst-command/3115/14 Other pip developers want to get ride of everything but sdist and bdist_wheel formats: https://discuss.python

[issue39599] ABI breakage between 3.7.4 and 3.7.5

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

[issue39599] ABI breakage between 3.7.4 and 3.7.5

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: The latest 3.7 release is Python 3.7.6: Dec. 18, 2019. So at least two 3.7 release are impacted. Moreover, Python 3.8.0 and 3.8.1 have also been released with the change. -- nosy: +vstinner ___ Python tracker

[issue39599] ABI breakage between Python 3.7.4 and 3.7.5: change in PyGC_Head structure

2020-02-10 Thread STINNER Victor
Change by STINNER Victor : -- title: ABI breakage between 3.7.4 and 3.7.5 -> ABI breakage between Python 3.7.4 and 3.7.5: change in PyGC_Head structure ___ Python tracker ___

[issue39599] ABI breakage between 3.7.4 and 3.7.5

2020-02-10 Thread STINNER Victor
STINNER Victor added the comment: You can find the rationale for this change in two issues: * bpo-27987 * bpo-36618 First, it was a warning in clang ubsan (Undefined Behavior Sanitizer). Then ctypes started to crash when Python was compiled with clang. It means that compiling Python 3.7 with

[issue39498] Signpost security considerations in library

2020-02-10 Thread Julien Palard
Julien Palard added the comment: Asked on gh: > this is a "security guidance for standard library modules" index? (I'm not sure to understand the question exactly) I think it could be usefull from a reviewer point of view to have such index so he can iterate over it and check point by point

[issue39090] Document various options for getting the absolute path from pathlib.Path objects

2020-02-10 Thread Paul Moore
Paul Moore added the comment: > In short -- I understand that this is a complex issue, but making an absolute > path is a pretty common use case, and we've had os.path.abspath() for > decades, so there should be one obvious way to do it, and it should be easily > discoverable. +1 on this.

[issue39597] sorting the String

2020-02-10 Thread Zachary Ware
Change by Zachary Ware : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue39591] Functions in Python/traceback.c can take const pointer arguments

2020-02-10 Thread Andy Lester
Andy Lester added the comment: > Yes, Py_INCREF and Py_DECREF change the type, and therefore constness. Understood. The changes that I have proposed are not to objects that get sent through Py_INCREF/Py_DECREF. If they did, -Wcast-qual would have caught it. -Wcast-qual catches if you cast,

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

2020-02-10 Thread STINNER Victor
New submission from STINNER Victor : == FAIL: test_fontlist_key (idlelib.idle_test.test_configdialog.FontPageTest) -- Traceback (most recent call last): File

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

2020-02-10 Thread STINNER Victor
Change by STINNER Victor : -- title: idle_test: test_fontlist_key() fails if two fonts have the same name -> idle_test: test_fontlist_key() fails if two font families have the same name ___ Python tracker __

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

2020-02-10 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17805 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18430 ___ 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: I proposed PR 18430 to remove duplicated font family names. -- ___ Python tracker ___ ___ Python-

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

2020-02-10 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

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

2020-02-10 Thread JitterMan
New submission from JitterMan : It appears as if escaping the braces by doubling them up is not working properly if the braces are in a format specification within a f-string. >>> print(f'Email:\n{C:{{v.name}} {{v.email}}|\n}') >>> Traceback (most recent call

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

2020-02-10 Thread JitterMan
JitterMan added the comment: It appears as if escaping the braces by doubling them up is not working properly if the braces are in a format specification within a f-string. >>> print(f'Email:\n{C:{{v.name}} {{v.email}}|\n}') >>> Traceback (most recent call la

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

2020-02-10 Thread Zachary Ware
Zachary Ware added the comment: What result are you expecting here? -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list

[issue39602] importlib: lazy loading can result in reimporting a submodule

2020-02-10 Thread Pox TheGreat
New submission from Pox TheGreat : Using the LazyLoader class one can modify the sys.meta_path finders so that every import mechanism becomes lazy. This method has been used in Mercurial and by Facebook. My problem is that if I have a package (pa) which imports a submodule (a) in the __init_

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

2020-02-10 Thread Elena Oat
Elena Oat added the comment: There was no update on this since 02/04, so I will work on this as I am at the PyCascades sprints right now. -- nosy: +Elena.Oat ___ Python tracker _

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

2020-02-10 Thread Chris Wilcox
Chris Wilcox added the comment: The attached code implements `__format__` on the `Collections` class. In case 1, the template passed to `__format__` is "{v.name}: {v.email}|". In case 2, a name error will occur while processing the f string and v will not be found as no object 'v' exists in

[issue16776] Document PyCFunction_New and PyCFunction_NewEx functions

2020-02-10 Thread Roger Hurwitz
Roger Hurwitz added the comment: I am at PyCascades at the CPython sprint, and I will work on this issue to the best of my ability. -- nosy: +rogerhurwitz ___ Python tracker

[issue39551] mock patch should match behavior of import from when module isn't present in sys.modules

2020-02-10 Thread Dino Viehland
Dino Viehland added the comment: I like that idea, let me see if I can find a way to do that. This is a little bit different in that it's implicitly trying to find a module, and supports dotting through non-packages as well, but maybe there's a way to leverage importlib and still keep the e

[issue39603] Injection in http.client

2020-02-10 Thread Max
New submission from Max : I recently came across a bug during a pentest that's allowed me to perform some really interesting attacks on a target. While originally discovered in requests, I had been forwarded to one of the urllib3 developers after agreeing that fixing it at it's lowest level w

[issue14678] Update zipimport to support importlib.invalidate_caches()

2020-02-10 Thread Chris Wilcox
Chris Wilcox added the comment: What work remains to be done for this issue? -- nosy: +crwilcox ___ Python tracker ___ ___ Python-b

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

2020-02-10 Thread Carol Willing
Carol Willing added the comment: New changeset ed335cf53b5d4bca9a08c9b83ba684ba17be0f10 by Victor Stinner in branch 'master': bpo-39600, IDLE: Remove duplicated font names (GH-18430) https://github.com/python/cpython/commit/ed335cf53b5d4bca9a08c9b83ba684ba17be0f10 -- nosy: +willingc

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

2020-02-10 Thread Ognyan Moore
Ognyan Moore added the comment: Hi, I'm at pycascades cpython sprint, I can tackle this issue. -- nosy: +Ognyan Moore ___ Python tracker ___ __

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

2020-02-10 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +17806 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18432 ___ Python tracker ___ __

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

2020-02-10 Thread Elena Oat
Change by Elena Oat : -- keywords: +patch pull_requests: +17807 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18433 ___ Python tracker ___ __

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

2020-02-10 Thread Ognyan Moore
Ognyan Moore added the comment: Submitted PR 18432 to reflect this fix -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9305] Don't use east/west of UTC in date/time documentation

2020-02-10 Thread Chris Wilcox
Chris Wilcox added the comment: Are you still working on this Ajay Mahato? -- nosy: +crwilcox ___ Python tracker ___ ___ Python-bugs

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

2020-02-10 Thread Elena Oat
Change by Elena Oat : -- pull_requests: +17808 pull_request: https://github.com/python/cpython/pull/18434 ___ Python tracker ___ ___

[issue20265] Bring Windows docs up to date

2020-02-10 Thread Mariatta
Mariatta added the comment: I think this is done, so I'm going to close it. Thanks all who participated. If there are more updates needed to the Windows documentation, I would suggest creating specific tickets with specific problems, instead of one big catchall ticket. -- nosy: +Mari

[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

[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 ___ _

[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

[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 ___

[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

[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 ___ __

[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 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

[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 ___ ___

[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 ___ ___

[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 ___ __

[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 ___ __

[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:

[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

[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

[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 Guido van Rossum
Guido van Rossum added the comment: Sorry, those PRs were for issue39501. -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bug

[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

[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 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 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

[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 ___

[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
Change by Roger Hurwitz : -- keywords: +patch pull_requests: +17817 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18443 ___ Python tracker ___ __

[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

[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

[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 ___ _

[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 ___

[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

[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

[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

[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 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 ___ __

[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 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 -- ___

[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 -- ___

  1   2   >