[issue34948] Document __warningregister__

2018-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't think that it is necessary to state its format. It is an opaque dictionary, and its format is an implementation detail. -- nosy: +serhiy.storchaka ___ Python tracker

[issue28806] Improve the netrc library

2018-10-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28397] Faster index range checks

2018-10-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +9170 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34950] Parse trusted and signature information from X509 certificate

2018-10-09 Thread Fabio Amendola
Change by Fabio Amendola : -- title: Parse more features from X509 certificate in get_peer_cert() -> Parse trusted and signature information from X509 certificate ___ Python tracker

[issue34878] Lock Objects documentation clarification

2018-10-09 Thread Benjamin Peterson
Change by Benjamin Peterson : -- priority: normal -> low resolution: not a bug -> status: closed -> open title: Lock Objects documentation bug -> Lock Objects documentation clarification ___ Python tracker

[issue34908] netrc parsing is overly strict

2018-10-09 Thread Xiang Zhang
Xiang Zhang added the comment: My PR https://github.com/python/cpython/pull/127 has tried to solve some restrictions of the current netrc library. It's somewhat outdated since no reviewer for a long time. As you can see there are also other libraries suffering from the restrictions.

[issue34950] Parse more features from X509 certificate in get_peer_cert()

2018-10-09 Thread Fabio Amendola
Change by Fabio Amendola : -- assignee: christian.heimes components: SSL nosy: christian.heimes, famendola priority: normal severity: normal status: open title: Parse more features from X509 certificate in get_peer_cert() versions: Python 3.7 ___

[issue34949] ntpath.abspath no longer uses normpath

2018-10-09 Thread joshu coats
New submission from joshu coats : After the changes from https://github.com/python/cpython/pull/8544, ntpath.abspath no longer calls normpath on the output of nt._getfullpathname. This unfortunately causes "python setup.py develop" on a project to become upset in some instances because two

[issue21109] tarfile: Traversal attack vulnerability

2018-10-09 Thread shashank
shashank added the comment: It won't exactly be drop-in replacement. I mean if users decide to replace Tarfile with SafeTarFile, existing code may break since there might be cases where dodgy tarballs are acceptable and/or used then SafeTarFile.open will throw an exception. Having said

[issue34932] Add macOS TCP_KEEPALIVE to available socket options

2018-10-09 Thread Ma Lin
Ma Lin added the comment: I searched on Google, an article [1] said: Of note, Mac OS X defines keepidle and keepintvl in terms of milliseconds as opposed to Linux using seconds. On Windows, it's also seconds. Will this option make trouble for cross-platform programs? [1]

[issue34948] Document __warningregister__

2018-10-09 Thread Steven D'Aprano
New submission from Steven D'Aprano : The warnings module makes use of a per-module global ``__warningregister__`` which is briefly mentioned in the docs but not documented. https://docs.python.org/3/library/warnings.html#warnings.warn_explicit Given that it is part of the warn_explicit API,

[issue2771] Test issue

2018-10-09 Thread Ezio Melotti
Ezio Melotti added the comment: mail test -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-09 Thread Steve Dower
Steve Dower added the comment: We'll need to bring in venv specialists to check whether using it outside of Py_Main() is valid. Or perhaps you could explain what you are actually trying to do? I don't believe it is necessary when you are calling Py_SetPath yourself, and only the "launch

[issue5614] Malloc errors in test_io

2018-10-09 Thread William Schwartz
William Schwartz added the comment: In Jupyter Notebook, I tried to pass a large amount of data (about 2.3 GB) to Statsmodels's KDEUnivariate.fit (https://www.statsmodels.org/dev/generated/statsmodels.nonparametric.kde.KDEUnivariate.fit.html#statsmodels.nonparametric.kde.KDEUnivariate.fit)

[issue20216] Misleading docs for sha1, sha256, sha512, md5 modules

2018-10-09 Thread Cheryl Sabella
Cheryl Sabella added the comment: @vajrasky, Would you be interested in converting your patch to a GitHub pull request? Thanks! -- nosy: +cheryl.sabella stage: -> needs patch versions: +Python 3.8 -Python 3.4, Python 3.5, Python 3.6 ___ Python

[issue26441] email.charset: to_splittable and from_splittable are not there anymore!

2018-10-09 Thread Cheryl Sabella
Change by Cheryl Sabella : -- assignee: -> docs@python components: +Documentation -email keywords: +easy nosy: +docs@python stage: -> needs patch type: -> enhancement versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker

[issue34906] Fix typo in the documentation

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9169 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34947] inspect.getclosurevars() does not get all globals

2018-10-09 Thread Josh Rosenberg
Josh Rosenberg added the comment: Problem: The variables from the nested functions (which comprehensions are effectively a special case of) aren't actually closure variables for the function being inspected. Allowing recursive identification of all closure variables might be helpful in

[issue34913] Document gzip command line interface

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +9168 stage: -> patch review ___ Python tracker ___ ___

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have added some tests for 3.6, 3.7 and 3.8. But for the new CLI, just for 3.8 now, I am going to close this issue. -- stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.7, Python 3.8 -Python 3.5

[issue23596] gzip argparse interface

2018-10-09 Thread Julien Palard
Julien Palard added the comment: New changeset e8bbc52debfd1b28517946d65db257e6b6d92e29 by Julien Palard (Stéphane Wirtel) in branch 'master': bpo-23596: Use argparse for the command line of gzip (GH-9781) https://github.com/python/cpython/commit/e8bbc52debfd1b28517946d65db257e6b6d92e29

[issue34932] Add macOS TCP_KEEPALIVE to available socket options

2018-10-09 Thread Robert
Robert added the comment: Acknowledging the test failure and message pointing to #32394: == FAIL: test_new_tcp_flags (test.test_socket.TestMSWindowsTCPFlags)

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9167 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23596] gzip argparse interface

2018-10-09 Thread miss-islington
miss-islington added the comment: New changeset 8e23ba021f45df67edd2926a3e3daf6a2a1f0ed8 by Miss Islington (bot) in branch '3.7': bpo-23596: Add unit tests for the command line for the gzip module (GH-9775) https://github.com/python/cpython/commit/8e23ba021f45df67edd2926a3e3daf6a2a1f0ed8

[issue23596] gzip argparse interface

2018-10-09 Thread miss-islington
miss-islington added the comment: New changeset 482dc9445d834f1d03c501b45fafd422b6eb8c9c by Miss Islington (bot) in branch '3.6': bpo-23596: Add unit tests for the command line for the gzip module (GH-9775) https://github.com/python/cpython/commit/482dc9445d834f1d03c501b45fafd422b6eb8c9c

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: And now, I am going to work on the refactoring with argparse -- ___ Python tracker ___ ___

[issue23596] gzip argparse interface

2018-10-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +9165 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23596] gzip argparse interface

2018-10-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +9166 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23596] gzip argparse interface

2018-10-09 Thread Julien Palard
Julien Palard added the comment: New changeset 84eec1199583bcb034e43337bcb8e2b876ebd269 by Julien Palard (Stéphane Wirtel) in branch 'master': bpo-23596: Add unit tests for the command line for the gzip module (GH-9775)

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-10-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9164 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34947] inspect.getclosurevars() does not get all globals

2018-10-09 Thread Jan Hermann
New submission from Jan Hermann : inspect.getclosurevars() omits globals or nonlocals that are bound within comprehensions: 22:50 ~ python3 Python 3.7.0 (default, Aug 17 2018, 21:14:48) [Clang 9.1.0 (clang-902.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more

[issue23831] tkinter canvas lacks of moveto method.

2018-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: +1 on adding this. We can and sometimes do acknowledge an initial author in the commit message and blurb. In this case, there is no name, so it would be "Based on patch by 'mps'." -- ___ Python tracker

[issue21880] IDLE: Ability to run 3rd party code checkers

2018-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Idlelib modules OutputWindow and configHandler are now outwin and config. I discovered a non-checker .py file consumer. Pygame Zero enables use of pygame to create games without boilerplate. https://pygame-zero.readthedocs.io/en/stable/ide-mode.html One can

[issue23596] gzip argparse interface

2018-10-09 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34916] include sqlite-3.25+ (with window functions)

2018-10-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: My latter points makes it possible to define custom windowing functions in Python, similar to how it is already possible to define other SQLite functions in Python. -- ___ Python tracker

[issue23596] gzip argparse interface

2018-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @matrixise for the PR. This seems to be a good first step for both testing the command line interface and also argparse can generate help string which can be used for issue34913. -- nosy: +xtreak

[issue34946] inspect.getcallargs is marked as deprecated in documentation, but doesn't issue a DeprecationWarning when used

2018-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: As far as I can see from https://bugs.python.org/issue20438 this deprecation is meant to be a documentation level deprecation discouraging usage than a code level deprecation adding a DeprecationWarning to be removed later. I might be wrong here.

[issue34946] inspect.getcallargs is marked as deprecated in documentation, but doesn't issue a DeprecationWarning when used

2018-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There was some discussion over undeprecating getcallargs at https://bugs.python.org/issue27172#msg281825 that there are some behavior changes with signature.bind -- ___ Python tracker

[issue34946] inspect.getcallargs is marked as deprecated in documentation, but doesn't issue a DeprecationWarning when used

2018-10-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34926] Allow querying a Path's mime-type

2018-10-09 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +9163 stage: -> patch review ___ Python tracker ___ ___

[issue34916] include sqlite-3.25+ (with window functions)

2018-10-09 Thread Big Stone
Big Stone added the comment: hum. On Windows at least, just drop-in replace the sqlite3.dll per the new sqlite-3.25 dll and the window functions just works. ==> I don't see the need for your latter point, at least on Windows. checked with sqlite_bro on Python-3.6.7rc1 with example: CREATE

[issue34946] inspect.getcallargs is marked as deprecated in documentation, but doesn't issue a DeprecationWarning when used

2018-10-09 Thread Chris Bremner
New submission from Chris Bremner : Looking in the documentation for inspect.getcallargs (https://docs.python.org/3/library/inspect.html#inspect.getcallargs), it appears that inspect.getcallargs is deprecated in favor of inspect.Signature.bind and inspect.Signature.bind_partial. However,

[issue34880] About the "assert" bytecode

2018-10-09 Thread thautwarm
thautwarm added the comment: Hi, Serhiy, there could be an another way to fix all this sort of problems IMO. We can figure out all the cases that implicitly require shadow builtins, and then change symtable visitor to add corresponding free variables with name mangling, for instance: 1.

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Berker, Here is my PR for this issue. >From this PR, I will add the new CLI with argparse. And after this issue, I will work on https://bugs.python.org/issue34913 -- nosy: +matrixise ___ Python tracker

[issue34934] Consider making Windows select.select interruptible using WSAEventSelect & WSAWaitForMultipleEvents

2018-10-09 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23596] gzip argparse interface

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9162 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34939] Possibly spurious SyntaxError: annotated name can't be global

2018-10-09 Thread Rohan Padhye
Rohan Padhye added the comment: Another point I'd like to make is that there is no error in either file or interactive if the annotated assignment appears before the `global` declaration like so: ``` x:int = 0 def set_x(): global x x = 1 # Works fine! ``` The syntax error

[issue34079] Multiprocessing module fails to build on Solaris 11.3

2018-10-09 Thread Steven Packard
Steven Packard added the comment: I don't think you can blindly change that value of that definition. It will likely break the compilation of the module using Solaris Sun Studio while fixing compilation with gcc. The attached patch should do the correct thing in the presence of either

[issue34751] Hash collisions for tuples

2018-10-09 Thread Tim Peters
Tim Peters added the comment: >> Changes initialization to add in the length: > What's the rationale for that change? You always asked > me to stay as close as possible to the "official" hash function > which adds in the length at the end. Is there an actual benefit > from doing it in the

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-09 Thread miss-islington
miss-islington added the comment: New changeset 41e5ec377b36aa951ac095839d2f74f66ee1e665 by Miss Islington (bot) in branch '3.7': bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716) https://github.com/python/cpython/commit/41e5ec377b36aa951ac095839d2f74f66ee1e665 --

[issue34939] Possibly spurious SyntaxError: annotated name can't be global

2018-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks similar to say x = 1 global x It is an error in a file, but is not an error in interactive mode. -- nosy: +serhiy.storchaka ___ Python tracker

[issue34939] Possibly spurious SyntaxError: annotated name can't be global

2018-10-09 Thread Guido van Rossum
Guido van Rossum added the comment: I agree with Ivan. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +9160 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +9161 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-09 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset c880ffe7d2ce2fedb1831918c8a36e3623e0fb76 by Yury Selivanov (twisteroid ambassador) in branch 'master': bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716)

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-09 Thread miss-islington
miss-islington added the comment: New changeset 0ce31d340b264a550a3c574e1d6913f4affd4669 by Miss Islington (bot) in branch '3.7': bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-9656)

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-09 Thread miss-islington
miss-islington added the comment: New changeset 25bfb1aa75c8358becdab11142954c8ee9c3607f by Miss Islington (bot) in branch '3.6': bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-9656)

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: Did you try with a minimal project containing a C extension? Did you install in a system where sys.prefix != sys.exec_prefix? -- ___ Python tracker

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Well, I did try it on a minimal Python project. I also read the distutils sources and understood why it installs data_files in sys.prefix by default. So what more do you need to be convinced? -- ___ Python

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +9159 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +9158 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 79d21331e605fdc941f947621846b8563485aab6 by Victor Stinner in branch 'master': bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-9656)

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: > If the docs are wrong, their history doesn't matter that much What I was saying is that I am not sure that the docs are wrong. Distutils is more touchy that the rest of the stdlib and I err on the side of caution. --

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: There is also commit fa2f4b6d8e297eda09d8ee52dc4a3600b7d458e7 Author: Greg Ward Date: Sat Jun 24 17:22:39 2000 + Changed the default installation directory for data files (used by the "install_data" command to the installation base, which is

[issue32680] smtplib SMTP instances missing a default sock attribute

2018-10-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: PR merged for 3.8 branch. I don't think such a simple change deserves a backport for previous Python versions. Closing this out as resolved. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-09 Thread STINNER Victor
STINNER Victor added the comment: I tested the following configurations on my Fedora 28: ./configure --with-pydebug CFLAGS=-O0 -mcet -fcf-protection ./configure CFLAGS=-mcet -fcf-protection ./configure --with-pydebug CFLAGS=-O0 -mcet -fcf-protection=none ./configure CFLAGS=-mcet

[issue32680] smtplib SMTP instances missing a default sock attribute

2018-10-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset 7b313971805ca9b53f181f7b97e5376d0b89dc06 by Giampaolo Rodola (Romuald Brunet) in branch 'master': bpo-32680 add default "sock" on SMTP objects (#5345) https://github.com/python/cpython/commit/7b313971805ca9b53f181f7b97e5376d0b89dc06

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Just for fun, let's look at the history. That piece of documentation goes back to commit 632bda3aa06879396561dde5ed3d93ee8fb8900c Author: Fred Drake Date: Fri Mar 8 22:02:06 2002 + Add more explanation of how data_files is used (esp. where the

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > If you’re not sure about the reason for that sentence, I think you should not > remove it from the docs If the docs are wrong, their history doesn't matter that much: the docs should be fixed regardless. > test the conditions (package with extension

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-09 Thread STINNER Victor
STINNER Victor added the comment: More info about -fcf-protection=full -mcet: "Enable control flow protection on x86-64 using -fcf-protection=full -mcet." https://fedoraproject.org/wiki/Changes/HardeningFlags28 man gcc: -fcf-protection=[full|branch|return|none] Enable code

[issue34945] regression with ./python -m test and pdb

2018-10-09 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- title: regression with ./python -m test -> regression with ./python -m test and pdb ___ Python tracker ___

[issue34945] regression with ./python -m test

2018-10-09 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Hi Steve, I have a regression since the commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed, commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed (HEAD) Author: Steve Dower Date: Tue Sep 18 09:10:26 2018 -0700 bpo-34582: Adds JUnit XML output for regression

[issue19270] Document that sched.cancel() doesn't distinguish equal events and can break order

2018-10-09 Thread Josh Rosenberg
Josh Rosenberg added the comment: Victor: "I would be interested of the same test on Windows." Looks like someone performed it by accident, and filed #34943 in response (because time.monotonic() did in fact return the exact same time twice in a row on Windows). --

[issue34944] Update _dirnameW to accept long path names

2018-10-09 Thread Joe Pamer
Change by Joe Pamer : -- keywords: +patch pull_requests: +9157 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Éric Araujo
Éric Araujo added the comment: If you’re not sure about the reason for that sentence, I think you should not remove it from the docs but investigate more (look at the history, test the conditions (package with extension module), etc). -- ___

[issue28234] In xml.etree.ElementTree docs there are many absent Element class links

2018-10-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9156 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34944] Update _dirnameW to accept long path names

2018-10-09 Thread Joe Pamer
New submission from Joe Pamer : The fix for issue 32557 updated os__getdiskusage_impl to use _dirnameW for obtaining the parent directory of a file. This would cause a regression if the path exceeded 260 characters, since _dirnameW currently returns -1 if given a path >= MAX_PATH in length.

[issue23831] tkinter canvas lacks of moveto method.

2018-10-09 Thread Juliette Monsel
Change by Juliette Monsel : -- keywords: +patch pull_requests: +9155 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue33261] inspect.isgeneratorfunction fails on hand-created methods

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Can somebody please review PR 6448? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23831] tkinter canvas lacks of moveto method.

2018-10-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: test needed -> needs patch versions: +Python 3.8 -Python 3.5 ___ Python tracker ___ ___

[issue23831] tkinter canvas lacks of moveto method.

2018-10-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think you can be attributed as the only author. A PR should contain more than just changes in tkinter/__init__.py (tests, documentation changes). And the code can be different than proposed in msg239745. Since this command doesn't return anything

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Change by Jeroen Demeyer : Removed file: https://bugs.python.org/file40993/data_files_doc.patch ___ Python tracker ___ ___ Python-bugs-list

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-09 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +9154 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23831] tkinter canvas lacks of moveto method.

2018-10-09 Thread Juliette Monsel
Juliette Monsel added the comment: I am willing to create a pull request with the code provided in msg239745 , to add tests and a what's new entry. However I am not sure about how to acknowledge the contribution of msg239745's author. -- ___

[issue21880] IDLE: Ability to run 3rd party code checkers

2018-10-09 Thread Tal Einat
Tal Einat added the comment: I'll get this up on a git branch so that we can continue hacking on it. -- ___ Python tracker ___ ___

[issue34943] sched cancel (wrong item removed from queue)

2018-10-09 Thread ajneu
ajneu added the comment: Ah ... https://bugs.python.org/issue19270 amazing! assert ev1 == ev2 does not fail! (the equality just checks timestamp as far as I can see) Terrible. In particular: Terrible if the documentation blatently lies to me:

[issue23867] Argument Clinic: inline parsing code for 1-argument functions

2018-10-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34943] sched cancel (wrong item removed from queue)

2018-10-09 Thread ajneu
New submission from ajneu : Hi, in the code given below, the last assert fails when running with /mingw64/bin/python3 (Python 3.7.0 -- mingw64's python3 from msys2 project) C:\Python36\python.exe (Python 3.6.6 -- windows installer) It does not fail when running with /usr/bin/python3 (Python

[issue34941] xml.etree.ElementTree findall() fails when using custom TreeBuilder

2018-10-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9153 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34187] Issues with lazy fd support in _WindowsConsoleIO fileno() and close()

2018-10-09 Thread Gus Goulart
Gus Goulart added the comment: Hi everyone, I would like to let you know that I'm starting working on this one. Thanks! -- nosy: +Gus ___ Python tracker ___

[issue34751] Hash collisions for tuples

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I pushed an update at PR 9471. I think I took into account all your comments, except for moving the length addition from the end to the begin of the function. -- ___ Python tracker

[issue34942] Add an FAQ note about floating point representation

2018-10-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: fixed -> out of date ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34942] Add an FAQ note about floating point representation

2018-10-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Martin, I was searching in the general and programming FAQ for this and did a general search with the link and nothing showed up in the bug tracker or search engine in FAQ. My bad, I will close this. -- resolution: -> fixed stage:

[issue34941] xml.etree.ElementTree findall() fails when using custom TreeBuilder

2018-10-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka components: +XML nosy: +eli.bendersky, scoder, serhiy.storchaka versions: +Python 2.7, Python 3.6, Python 3.8 ___ Python tracker

[issue34942] Add an FAQ note about floating point representation

2018-10-09 Thread Martin Panter
Martin Panter added the comment: Have you seen ? It already links to the tutorial. -- nosy: +martin.panter ___ Python tracker

[issue34751] Hash collisions for tuples

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Changes initialization to add in the length: What's the rationale for that change? You always asked me to stay as close as possible to the "official" hash function which adds in the length at the end. Is there an actual benefit from doing it in the

[issue34942] Add an FAQ note about floating point representation

2018-10-09 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : There have been tickets raised due to floating point representation being misleading where "0.1 + 0.2" returns 0.30004 and "0.1 + 0.3" returns 0.4. This is explained at [0] but I think it's worth to add this as a question to FAQ and

[issue32797] Tracebacks from Cython modules no longer work

2018-10-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I pushed a documentation-only patch on PR 9540 to better document status quo. Can somebody please review either PR 6653 or PR 9540? -- ___ Python tracker

[issue34941] xml.etree.ElementTree findall() fails when using custom TreeBuilder

2018-10-09 Thread Jack Jansen
Jack Jansen added the comment: Correction to the last line: When using Python 2.7 everything works fine. When adding a findall() method to the Element subclass that simply calls ElementPath.findall() everything also works fine. I suspect some issue with the _elementtree C implementation but

[issue34916] include sqlite-3.25+ (with window functions)

2018-10-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: To completely do this requires two things: 1) Upgrade SQLite included in a number of binary distributions 2) Update the sqlite extension to allow creating custom window functions in Python The latter is definitely something that cannot be done in a

  1   2   >