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

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Richard Damon
On 10/9/18 2:03 PM, Chris Angelico wrote: > On Wed, Oct 10, 2018 at 4:57 AM Richard Damon > wrote: >> Shoot, as in physically, generally no such right; metaphorically, as in >> sever discipline in list operations, generally yes, though perhaps >> limited from some grounds based on applicable

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread jfong
Chris Angelico at 2018.10.10 UTC+8 AM 10:31:33 wrote: > On Wed, Oct 10, 2018 at 1:21 PM wrote: > > I switched from comp.lang.python to mailing list a few months ago for those > > spam threads there. Now it seems a bad decision because 1) replied mail can > > be lost or duplicated or even

[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

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 1:21 PM wrote: > I switched from comp.lang.python to mailing list a few months ago for those > spam threads there. Now it seems a bad decision because 1) replied mail can > be lost or duplicated or even banned. 2) look at each separately mail is not > as comfortable as

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread jfong
Richard Damon at 2018.10.9 UTC+8 PM 8:40:29 wrote: > Moderators are generally appointed by those who do 'pay the bill' for > the mailing list they are moderators for, and serve at their pleasure. > Mailing List are generally 'private property', though often made open to > the public for general

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

From Mathematica to Jypyter

2018-10-09 Thread Terry Reedy
https://paulromer.net/jupyter-mathematica-and-the-future-of-the-research-paper/ Jupyter, Mathematica, and the Future of the Research Paper Paul Romer, new Nobel prize winner in economics, for research on how ideas interact with economic growth, explained last April why he has switched from

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

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Peter J. Holzer
On 2018-10-08 12:46:48 -0700, Ethan Furman wrote: > On 10/08/2018 07:43 AM, Rhodri James wrote: > > I appreciate that the moderators are volunteers, but they have official > > power on this list.  Being volunteers doesn't mean that they can't get > > it wrong, or that we shouldn't call them on it

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

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 4:57 AM Richard Damon wrote: > Shoot, as in physically, generally no such right; metaphorically, as in > sever discipline in list operations, generally yes, though perhaps > limited from some grounds based on applicable Laws. AIUI there is no law stating that I have to

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 4:49 AM wrote: > > I am wondering the role of the moderator. > > Does he own the server or pay the bill? Where he get the power to suspending > people? Is he a police or judge? Can he shoot someone just because he has any > reason? > The mods represent the Python

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

Return html data + serve a file

2018-10-09 Thread vergos . nikolas
Hello, iam using Python + Flask. Iam trying to print some html and also serve a file to the user. My code is: pdata = pdata + '' # Prepare selected file for download filename = request.form.get('filename') filepath = '/home/user/wsgi/static/files/'

Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
Well, Beautifulsoup is not On Wed, Oct 10, 2018 at 02:installed on my system, just in the environment, so how could apache run correctly my app without accessing my environment? I thought that venv or virtualenv point was only to create some folder which was simply sourced. What other things

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

Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
I rsynced the full local project directory (which contains the virtualenv dir) to a remote server. And there I couldn't enter into it. However, obviously apache2 achieved to... October 9 2018 5:21 PM, "Chris Warrick" wrote: > On Tue, 9 Oct 2018 at 11:18, wrote: > >> Here are the ouput during

Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
Here are the ouput during sourcing: [ftg @ localhost] [/var/www/ffablob] % source env-p3/bin/activate [ftg @ localhost]

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Richard Damon
On 10/9/18 12:10 AM, jf...@ms4.hinet.net wrote: > I am wondering the role of the moderator. > > Does he own the server or pay the bill? Where he get the power to suspending > people? Is he a police or judge? Can he shoot someone just because he has any > reason? > > What will happen if his

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Rhodri James
On 08/10/18 20:46, Ethan Furman wrote: On 10/08/2018 07:43 AM, Rhodri James wrote: I appreciate that the moderators are volunteers, but they have official power on this list.  Being volunteers doesn't mean that they can't get it wrong, or that we shouldn't call them on it when they do. I

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread Alister via Python-list
On Mon, 08 Oct 2018 12:46:48 -0700, Ethan Furman wrote: > On 10/08/2018 07:43 AM, Rhodri James wrote: > >> I appreciate that the moderators are volunteers, but they have official >> power on this list.  Being volunteers doesn't mean that they can't get >> it wrong, or that we shouldn't call them

Re: Observations on the List - "Be More Kind"

2018-10-09 Thread jfong
I am wondering the role of the moderator. Does he own the server or pay the bill? Where he get the power to suspending people? Is he a police or judge? Can he shoot someone just because he has any reason? What will happen if his power was limited? Will the forum be end in disorder? No, I

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

Re: My environment doesn't load

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 2:32 AM wrote: > > I rsynced the full local project directory (which contains the virtualenv > dir) to a remote server. > And there I couldn't enter into it. > However, obviously apache2 achieved to... Not so obvious. It's possible Apache is ignoring the venv and just

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

Re: My environment doesn't load

2018-10-09 Thread ftg
I rsynced the full local project directory (which contains the virtualenv dir) to a remote server. And there I couldn't enter into it. However, obviously apache2 achieved to... > October 9 2018 5:21 PM, "Chris Warrick" wrote: > >> On Tue, 9 Oct 2018 at 11:18, wrote: >> >>> Here are the

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

Re: My environment doesn't load

2018-10-09 Thread Chris Warrick
On Tue, 9 Oct 2018 at 11:18, wrote: > > Here are the ouput during sourcing: > > > [ftg @ localhost] [/var/www/ffablob] > > % source env-p3/bin/activate > > [ftg @ localhost] [/var/www/ffablob] > > % which python > > /usr/bin/python > > and if I run some of my code that import beautyfulsoup it

[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

  1   2   >