[issue35242] multiprocessing.Queue in an inconsistent state and a traceback silently suppressed if put an unpickable object and process's target function is finished

2018-11-13 Thread Sergei Zobov
New submission from Sergei Zobov : In case if the process target function put something unpickable in the `multiprocessing.Queue` and finish before `ForkingPickler`'s exception is handled we get two weird situations: * Internal queue semaphore stay acquired and never will be released, so we

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Found a relevant issue but 3 years old : https://github.com/travis-ci/travis-ci/issues/4387#issuecomment-125635027 Doc PR : https://github.com/travis-ci/docs-travis-ci-com/pull/311 . The docs recommend usage of -a to select a free port.

[issue35241] test_embed fails on MacOS buildbots

2018-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35241] test_embed fails on MacOS buildbots

2018-11-13 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/147/builds/430/steps/4/logs/stdio https://buildbot.python.org/all/#/builders/109/builds/789/steps/4/logs/stdio == FAIL:

Re: IDLE Default Working Directory

2018-11-13 Thread Christman, Roger Graydon
On 13 Nov 2018, at 09:51, Bev in TX wrote: > On Nov 12, 2018, at 5:50 PM, Terry Reedy wrote: > > For me, open (command-O) opens 'Documents'. I presume it should be easy > enough to move into a 'py' subfolder. The whole point is for Idle -> File -> Open (or

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

Re: distribute python interpreter and dependencies

2018-11-13 Thread Pablo Lucena
After changing PATH variable; are you ensuring that the failed hosts are using the new PATH vs the old one? I've seen different behavior on different Windows versions for what it takes to "refresh" the env. System vs User defined env may also affect this, depending on the user invoking your

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 88cbea4c6ff4987ce31f4fe6f73c2d04a3d37829 by Victor Stinner in branch '3.7': bpo-35233: Fix _PyMainInterpreterConfig_Copy() (GH-10537) https://github.com/python/cpython/commit/88cbea4c6ff4987ce31f4fe6f73c2d04a3d37829 --

[issue33725] Python crashes on macOS after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: A few other things I don't understand: * Why does setting OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES only seem to work when it's set in the shell before the parent process executes? AFAICT, it does *not* work if you set that in os.environ in the parent

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +9789 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: xvfb is a utility that allows you to run a command in a virtual X server environment. I assume that is needed for the doctests that use the X server. I assume is related to PR9806 -- ___ Python tracker

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Extract of .travis.yml: $XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu" if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then $XVFB_RUN make PYTHON=../python SPHINXOPTS="-q -W -j4" -C Doc/ venv doctest fi I'm not sure what is xvfb, nor why

[issue34784] Heap-allocated StructSequences

2018-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR9665 solves also Issue28709 -- nosy: +pablogsal ___ Python tracker ___ ___

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread STINNER Victor
New submission from STINNER Victor : Travis CI fails randomly with "xvfb-run: error: Xvfb failed to start". Example: https://travis-ci.org/python/cpython/jobs/454776965 whereas the full test suite succeeded. -- messages: 329881 nosy: vstinner priority: normal severity: normal status:

[issue33725] Python crashes on macOS after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Hoo boy. I'm not sure I have the full picture, but things are starting to come into focus. After much debugging, I've narrowed down at least one crash to urllib.request.getproxies(). On macOS (darwin), this ends up calling _scproxy.get_proxies() which

Re: Peewee ORM questions

2018-11-13 Thread TUA
Brainfart has left the building print(model_to_dict(row, exclude = (row.created, row.updated))) should have been print(model_to_dict(row, exclude = (model.created, model.updated))) -- https://mail.python.org/mailman/listinfo/python-list

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Attached PR 10532 modifies _PySys_EndInit() to copy lists and dictionaries from the config. -- ___ Python tracker ___

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9788 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33725] Python crashes on macOS after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- title: Pytho crashes on macOS after fork with no exec -> Python crashes on macOS after fork with no exec ___ Python tracker ___

[issue34784] Heap-allocated StructSequences

2018-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9787 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 35c28d562ec7249f2a6aef8e326eadac130a1656 by Victor Stinner in branch '3.7': [3.7] bpo-35233: Rewrite test_embed.InitConfigTests (GH-10524) (GH-10529) https://github.com/python/cpython/commit/35c28d562ec7249f2a6aef8e326eadac130a1656 --

[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-11-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: Correct, this issue was filed before we had the new pyc options (which came out of our September core dev. sprint in 2016 iirc). I'll just close it, the way forward for people using zip files on modern CPython interpreters is to explicitly use the new

[issue31354] Fixing a bug related to LTO only build

2018-11-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: Is it an actual problem to compile extension modules with -flto? (I realize as an extension module there isn't a huge benefit to the concept unless it happens to have multiple source files or link against a non-shared library) --

Peewee ORM questions

2018-11-13 Thread TUA
Hi all, couldn't find a group for Peewee, so here I am: Given a table structure of {'id': , 'username': , 'password': , 'created': , 'updated': } Using playhouse.shortcuts: def ListAll(model): for row in model.select(): print(model_to_dict(row, exclude = (row.created,

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-13 Thread miss-islington
miss-islington added the comment: New changeset 9fbcb1402efab4e287f25145a69ba14c9c6dbce9 by Miss Islington (bot) in branch '3.7': [3.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10522)

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9786 stage: -> patch review ___ Python tracker ___ ___

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9785 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16438] Numeric operator predecence confusing

2018-11-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: I'm actually thinking perhaps the "see :ref:`operator-summary`" clause should be separate and under Notes below the table, as opposed to current PR: ``` All numeric types (except complex) support the following operations (for priorities of the operations,

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7ddd56f4d835c6107b20a0b4233185bb59270142 by Victor Stinner in branch 'master': bpo-35233: Rewrite test_embed.InitConfigTests (GH-10524) https://github.com/python/cpython/commit/7ddd56f4d835c6107b20a0b4233185bb59270142 --

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-13 Thread STINNER Victor
New submission from STINNER Victor : Extract of _PySys_EndInit(): SET_SYS_FROM_STRING_BORROW("path", config->module_search_path); sys.path is initialized from _PyMainInterpreterConfig.module_search_path object: the list of strings is not copied. As a consequence, when sys.path is modified,

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9784 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33725] Pytho crashes on macOS after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- title: macOS crashes after fork with no exec -> Pytho crashes on macOS after fork with no exec ___ Python tracker ___

[issue33725] macOS crashes after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- title: High Sierra hang when using multi-processing -> macOS crashes after fork with no exec ___ Python tracker ___

[issue33725] High Sierra hang when using multi-processing

2018-11-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: issue35219 is where I've run into this problem. I'm still trying to figure out all the details in my own case, but I can confirm that setting the environment variable does not always help. -- ___ Python tracker

[issue33725] High Sierra hang when using multi-processing

2018-11-13 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-13 Thread miss-islington
miss-islington added the comment: New changeset fdc485a5dff8508328b4f26265d0af1ba5004597 by Miss Islington (bot) in branch '3.6': bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) https://github.com/python/cpython/commit/fdc485a5dff8508328b4f26265d0af1ba5004597

[issue35219] macOS 10.14 Mojave crashes in multiprocessing

2018-11-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I am going to dupe this to 33725 after all. -- resolution: -> duplicate superseder: -> High Sierra hang when using multi-processing ___ Python tracker

[issue35238] Alleviate memory reservation of fork_exec in subprocess.Popen via forkserver

2018-11-13 Thread Oscar Esteban
New submission from Oscar Esteban : ## Context We are developers of nipype (https://github.com/nipype) which is a workflow engine for neuroimaging software. We are experiencing problems that gave rise to the addition of ``os.posix_spawn`` to Python 3.8, and particularly, this -

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +9783 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 746b2d35ea47005054ed774fecaed64fab803d7d by Gregory P. Smith in branch 'master': bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) https://github.com/python/cpython/commit/746b2d35ea47005054ed774fecaed64fab803d7d

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +9782 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: passing value from Python3 script back to RewriteMap MapType prg in Apache24

2018-11-13 Thread Benedikt Kroll
Thank you for your responses! The solution I just found is the following: Even though the python script has the necessary execute permissions, the RewriteMap definition required that the python interpreter is included in the Apache config file: RewriteMap extrw "prg:/usr/bin/python3

[issue35235] Access violation on alloc in Windows x86-64 python, pymalloc_alloc

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Try to reproduce your bug using PYTHONMALLOC=debug environment variable: https://pythondev.readthedocs.io/debug_tools.html#memory-debugger On Python 3.7, you can use "py -3.7 -X dev program.py" (-X dev option) to enable PYTHONMALLOC=debug. -- nosy:

[issue35237] Allow Path instances in sys.path ?

2018-11-13 Thread Ammar Askar
Ammar Askar added the comment: Looks like there's an issue already open for this. -- nosy: +ammar2 resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> add support for path-like objects in sys.path ___ Python tracker

[issue35237] Allow Path instances in sys.path ?

2018-11-13 Thread Thierry Parmentelat
New submission from Thierry Parmentelat : Hi; this is my first entry in this repo I ran today into a rather frustrating experience, that I'd to avoid it for others as far as possible In a nutshell I had a sphinx stub that read: import sys sys.path.append("..") import mymodule and because

[issue16438] Numeric operator predecence confusing

2018-11-13 Thread Anjali Malik
Change by Anjali Malik : -- pull_requests: +9781 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue10486] http.server doesn't set all CGI environment variables

2018-11-13 Thread Glenn Linderman
Glenn Linderman added the comment: That's interesting, Pierre, I hadn't really read the RFC carefully, to realize that many of the "missing" variables from Apache are HTTP headers, and that section 4.1.18 tell how to convert HTTP headers to meta variables. The code in server.py 3.6 (Sorry, I

[issue35236] urllib.request.urlopen throws on some valid FTP files

2018-11-13 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +9779 stage: -> patch review ___ Python tracker ___ ___

[issue35236] urllib.request.urlopen throws on some valid FTP files

2018-11-13 Thread Ian Liu Rodrigues
New submission from Ian Liu Rodrigues : Some FTP clients will not allow changing to a directory if the path does not ends with a slash. For example, try out this in a public FTP: from ftplib import FTP ftp = FTP('ftp.unicamp.br') ftp.login() ftp.cwd('pub/libreoffice') # throws error

[issue35223] Pathlib incorrectly merges strings.

2018-11-13 Thread Eryk Sun
Eryk Sun added the comment: os.path.join and pathlib are working as designed and documented. Similarly in POSIX we have the following: >>> p = os.path.join("/123/345", "/", "folder///filename.bin") >>> print(p) /folder///filename.bin >>> print(os.path.normpath(p))

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 00b137c72f90fbc39a6cd7e48b37c58d19977180 by Victor Stinner in branch 'master': bpo-35233: Fix _PyMainInterpreterConfig_Copy() (GH-10519) https://github.com/python/cpython/commit/00b137c72f90fbc39a6cd7e48b37c58d19977180 --

[issue35235] Access violation on alloc in Windows x86-64 python, pymalloc_alloc

2018-11-13 Thread Mark Inderhees
Mark Inderhees added the comment: Actually, I have now seen this in full installed python. I have updated the title. -- title: Access violation on alloc in Windows x86-64 embeddable python, pymalloc_alloc -> Access violation on alloc in Windows x86-64 python, pymalloc_alloc

[issue35232] Add `module`/`qualname` arguments to make_dataclass for picklability

2018-11-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35222] email.utils.formataddr is not exactly the reverse of email.utils.parseaddr

2018-11-13 Thread R. David Murray
R. David Murray added the comment: Because the RFCs are defined only for ascii. Non-ascii in RFC 2822 addresses is an RFC violation. In python2 non-ascii would usually round-trip through these functions, but again that was an accident. If you'd like to propose a doc clarification that

[issue35235] Access violation on alloc in Windows x86-64 embeddable python, pymalloc_alloc

2018-11-13 Thread Mark Inderhees
New submission from Mark Inderhees : I'm seeing an AV in python allocation logic when running my scripts. This only happens when using embedded python. It does not reproduce when using installed python. This is on Windows x86-64, I'm running Windows 10. I've seen this on 3.6.5 and 3.7.1.

[issue35216] misleading error message from shutil.copy()

2018-11-13 Thread Eryk Sun
Eryk Sun added the comment: The EINVAL error in Windows also needs improvement, but I don't what can be done after the fact. If there's a trailing slash when opening or creating a regular file, the NtCreateFile system call returns STATUS_OBJECT_INVALID_NAME. The Windows API maps this to

[issue35195] [Windows] Python 3.7 initializes LC_CTYPE locale at startup, causing performance issue on msvcrt isdigit()

2018-11-13 Thread Dragoljub
Dragoljub added the comment: This is the default LC_CTYPE locale type I see on Windows10 and Python 3.7.1 vs 3.5.2: Same: 'C' '3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)]' import _locale _locale.setlocale(_locale.LC_CTYPE, None) 'C' '3.5.2

[issue35195] [Windows] Python 3.7 initializes LC_CTYPE locale at startup, causing performance issue on msvcrt isdigit()

2018-11-13 Thread Dragoljub
Dragoljub added the comment: On Python 3.7.1 and Windows 10: I attempted locale.setlocale(locale.LC_ALL, "POSIX") --> Errors Out --- Error Traceback (most recent call last) in > 1

Re: IDLE Default Working Directory

2018-11-13 Thread Bev in TX
> On Nov 12, 2018, at 10:07 AM, Brian Oney wrote: > > On Mon, 2018-11-12 at 09:35 -0600, Bev in TX wrote: >> I am not the OP and I’m on macOS — no shortcuts. How would one do the same >> thing on other platforms? >> Bev in TX > Hello there, > > I am not an IDLE user. You may try a startup

[issue35234] ssl module falls over with internationalized domain names

2018-11-13 Thread Christian Heimes
Christian Heimes added the comment: This is a duplicate of #28414. I decided to not fix Python 3.6 because I had to break an existing API to fix the problem. And no, it didn't get fixed by accident. Nathaniel and I poured a lot of time and effort into untangling this mess. The fix is

[issue35234] ssl module falls over with internationalized domain names

2018-11-13 Thread Michael Casadevall
New submission from Michael Casadevall : Test case attached. In Python 3.6, ssl tries to validate the hostname on its own, but fails to convert the SSL certificates hostname from IDNA back to UTF-8 and mismatches. Python 3.7 and master are unaffected since this got fixed by accident when

Re: IDLE Default Working Directory

2018-11-13 Thread Bev in TX
> On Nov 12, 2018, at 5:50 PM, Terry Reedy wrote: > > For me, open (command-O) opens 'Documents'. I presume it should be easy > enough to move into a 'py' subfolder. The whole point is for Idle -> File -> Open (or command-O) to automatically open to a specific folder. Bev in TX --

[issue10486] http.server doesn't set all CGI environment variables

2018-11-13 Thread Pierre Quentel
Pierre Quentel added the comment: The QUERY_STRING value is always set by the code at lines 1135-1137 of http.server: for k in ('QUERY_STRING', 'REMOTE_HOST', 'CONTENT_LENGTH', 'HTTP_USER_AGENT', 'HTTP_COOKIE', 'HTTP_REFERER'): env.setdefault(k, "") The RFC for CGI

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset ae8878176d6dc1878d1e792ac4308ca1920b103b by Victor Stinner in branch '3.6': bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10518) https://github.com/python/cpython/commit/ae8878176d6dc1878d1e792ac4308ca1920b103b

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9778 stage: -> patch review ___ Python tracker ___ ___

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
New submission from STINNER Victor : _PyMainInterpreterConfig_Copy() doesn't copy the install_signal_handlers attribute and so config->install_signal_handlers is always -1. Bug spotted by Francis Hart: https://github.com/python/cpython/pull/10516 Attached PR fix the issue. --

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset d57a3e5d03efdda6247c27bd682872edf399d88b by Victor Stinner in branch '3.7': bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10517) https://github.com/python/cpython/commit/d57a3e5d03efdda6247c27bd682872edf399d88b

Re: Unable to get the gateway IP of wlan interface using python code

2018-11-13 Thread srinivasan
As am a beginner with the python Syntax, I was able to parse the gateway IP as below, Please do let me know if anyone forsee any issues in the below?: def get_gateway_ip(self): """ Get the Gateway IP address of the AP. :return: Gateway IP. """

[issue35232] Add `module`/`qualname` arguments to make_dataclass for picklability

2018-11-13 Thread Antony Lee
New submission from Antony Lee : Currently, dataclasses created by make_dataclass are not picklable, because their __module__ is set to "types". It seems that this would be easily fixed by letting make_dataclass gain a `module` and a `qualname` kwarg, similarly to the Enum functional form

[issue33930] Segfault with deep recursion into object().__dir__

2018-11-13 Thread Gus Goulart
Gus Goulart added the comment: Sorry, I forgot to include the trashcan API. I'll double check and update the issue. -- ___ Python tracker ___

Re: [egenix-info] Re: ANN: Python Meeting Düsseldorf - 07.11.2018

2018-11-13 Thread eGenix Team: M.-A. Lemburg
On 13.11.2018 13:54, Alex Kaye wrote: > Is anyone conducting  > Python webinars ? It would be helpful > to us beginners. It could become a worldwide > connector for Python users. This page should provide some good entry points: https://wiki.python.org/moin/BeginnersGuide You can also have a

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9777 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33196] SEGV in mp.synchronize.Lock.__repr__ in spawn'ed proc if ctx mismatched

2018-11-13 Thread Gus Goulart
Gus Goulart added the comment: I've tested on Fedora 29 server and also failed to reproduce the error. -- Added file: https://bugs.python.org/file47931/testing_on_fedora.png ___ Python tracker

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9776 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31354] Fixing a bug related to LTO only build

2018-11-13 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: This change exports -flto in cflags. You can check it with python3-config --cflags after this commit. Which means that every c extension which will use those cflags will also utilize -flto which wasn't happening before, thus I'd say it's a

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +9774 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +9775 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

RE: Windows file associations fix

2018-11-13 Thread David Raymond
Thank you for the detailed info. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Python.File\shell only had "Edit with Pythonwin", and didn't have an "open" key. I added that in, along with one for the Python.NoConFile which was also missing "open", and it seems to be working happily now. Again, many

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset f966e5397ed8f5c42c185223fc9b4d750a678d02 by Victor Stinner in branch 'master': bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) https://github.com/python/cpython/commit/f966e5397ed8f5c42c185223fc9b4d750a678d02

[issue35231] make install may not call ldconfig on GNU/Linux when using --enable-shared

2018-11-13 Thread pmpp
Change by pmpp : -- title: make install may not call ldconfig on GNU/Linux -> make install may not call ldconfig on GNU/Linux when using --enable-shared ___ Python tracker

[issue35231] make install may not call ldconfig on GNU/Linux

2018-11-13 Thread pmpp
Change by pmpp : -- title: make install may not call ldconfig on posix -> make install may not call ldconfig on GNU/Linux ___ Python tracker ___

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-35230: "Remove _Py_REF_DEBUG_COMMA". -- ___ Python tracker ___ ___ Python-bugs-list

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- components: +Interpreter Core resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35230] Remove _Py_REF_DEBUG_COMMA

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: This change is related to bpo-35059. -- nosy: +vstinner ___ Python tracker ___ ___

[issue35231] make install may not call ldconfig on posix

2018-11-13 Thread pmpp
New submission from pmpp : observed on ubuntu trusty x64 with release 3.7.1 at least when switching from "m" abi to "dm" abi sometimes libpython is not resolved in /usr/local/lib so maybe add "ldconfig" as a preventive mesure. -- components: Installation messages: 329840 nosy: pmpp

[issue32170] Contrary to documentation, ZipFile.extract does not extract timestamps or other metadata

2018-11-13 Thread Sascha Silbe
Change by Sascha Silbe : -- nosy: +sascha_silbe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29708] support reproducible Python builds

2018-11-13 Thread Sascha Silbe
Change by Sascha Silbe : -- nosy: +sascha_silbe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34033] distutils is not reproducible

2018-11-13 Thread Sascha Silbe
Change by Sascha Silbe : -- nosy: +sascha_silbe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33930] Segfault with deep recursion into object().__dir__

2018-11-13 Thread Gus Goulart
Change by Gus Goulart : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

PyCA cryptography 2.4.1 (and 2.4) released

2018-11-13 Thread Paul Kehrer
PyCA cryptography 2.4.1 has been released to PyPI. cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, asymmetric algorithms, message digests, X509, key derivation functions, and much more. We support Python 2.7,

[issue33930] Segfault with deep recursion into object().__dir__

2018-11-13 Thread Gus Goulart
Gus Goulart added the comment: ronaldoussoren, I have tested (Debian 9) substituting "_PyObject_GC_UNTRACK(m);" to "PyObject_GC_UnTrack(m);", and although the tests pass, I'm can still see the segfault error. diff --git a/Objects/methodobject.c b/Objects/methodobject.c index

ANN: Python Meeting Düsseldorf - 07.11.2018

2018-11-13 Thread eGenix Team: M.-A. Lemburg
[This announcement is in German since it targets a local user group meeting in Düsseldorf, Germany] ANKÜNDIGUNG PyDDF Python Herbst Sprint 2018 in Düsseldorf

​PyDev 7.0.3 Released

2018-11-13 Thread Fabio Zadrozny
PyDev 7.0.3 Release Highlights --- * **Mypy** * PyDev can now use Mypy when doing code analysis. * **Black Formatter** * PyDev can now use black as the code formatting engine. * **Virtual environments** * It's now possible to use pipenv for managing

[issue17972] inspect module docs omits many functions

2018-11-13 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: ...but then we would have to include them in the docs... should be *but then we would have to include all the public functions in the docs*. -- ___ Python tracker

[issue17972] inspect module docs omits many functions

2018-11-13 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: I think this issue should be discussed once more. I am not sure it's worth defining __all__, but then we would have to include them in the docs. If you think __all__ should be defined instead, then I could go through the trouble of doing so. Could a

Re: ANN: Python Meeting Düsseldorf - 07.11.2018

2018-11-13 Thread Alex Kaye
Is anyone conducting Python webinars ? It would be helpful to us beginners. It could become a worldwide connector for Python users. Alex On Tue, Nov 13, 2018 at 3:21 AM eGenix Team: M.-A. Lemburg wrote: > > [This announcement is in German since it targets a local user group > meeting in

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

2018-11-13 Thread miss-islington
miss-islington added the comment: New changeset 60a6baef4005a32fb4cf45e15942ea18e59ecf19 by Miss Islington (bot) in branch '3.6': bpo-35229: Deprecate _PyObject_GC_TRACK() (GH-10511) https://github.com/python/cpython/commit/60a6baef4005a32fb4cf45e15942ea18e59ecf19 -- nosy:

[issue35230] Remove _Py_REF_DEBUG_COMMA

2018-11-13 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +9773 stage: -> patch review ___ Python tracker ___ ___

[issue35230] Remove _Py_REF_DEBUG_COMMA

2018-11-13 Thread INADA Naoki
INADA Naoki added the comment: I meant 2aaf0c1. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >