[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2019-01-22 Thread Nasir Hussain
Nasir Hussain added the comment: Hi, Should I convert patch into PR? Thanks -- nosy: +nasirhjafri ___ Python tracker ___ ___

[issue35804] v3.6.8 _ctypes win32 compiled with pgo crash

2019-01-22 Thread Anselm Kruis
Change by Anselm Kruis : Added file: https://bugs.python.org/file48072/test_ctypes.log ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35804] v3.6.8 _ctypes win32 compiled with pgo crash

2019-01-22 Thread Anselm Kruis
Change by Anselm Kruis : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: @bbayles Hopefully a Windows user could test if you give a step-by-step guide of what to check for. -- nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Hi there. I get this behavior as well, although only in a venv. Ah, thanks for the clarification. Then it's a duplicate of issue35797. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: ->

[issue35804] v3.6.8 _ctypes win32 compiled with pgo crash

2019-01-22 Thread Anselm Kruis
New submission from Anselm Kruis : During the QA for Stackless 3.6.8 I observed a crash in _ctypes compiled for win32 with PGO, that also exists with plain C-Python v3.6.8. I didn't check other versions yet. OS: Win7 (64bit) Compiler: Visual Studio 2017 professional 15.9.5 How to reproduce

[issue15045] Make textwrap.dedent() and textwrap.indent() handle whitespace consistently

2019-01-22 Thread Nick Coghlan
Nick Coghlan added the comment: Putting some of my comments here rather than on the PR, as they're design questions related to "Is the current behaviour actually wrong?" and "Even if the current behaviour is deemed technically incorrect, is it worth the risk of changing it after all these

[issue35791] Unexpected exception with importlib

2019-01-22 Thread Nick Coghlan
Nick Coghlan added the comment: Yep, that's a bug in `py`'s module interface emulation - see the last paragraph in https://docs.python.org/3/reference/import.html#module-spec -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue35486] subprocess module import hooks breaks back compatibility

2019-01-22 Thread Nick Coghlan
Nick Coghlan added the comment: Aye, we can :) -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33416] Add endline and endcolumn to every AST node

2019-01-22 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 9932a22897ef9905161dac7476e6976370e13515 by Ivan Levkivskyi in branch 'master': bpo-33416: Add end positions to Python AST (GH-11605) https://github.com/python/cpython/commit/9932a22897ef9905161dac7476e6976370e13515 --

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2019-01-22 Thread Jurjen N.E. Bos
Jurjen N.E. Bos added the comment: Yes. That would make me happy. In the meantime I learned how to use git, so maybe I'll do the pull request myself next time. Thanks for the work. -- ___ Python tracker

[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393

2019-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset a4ae828ee416a66d8c7bf5ee71d653c2cc6a26dd by Benjamin Peterson in branch 'master': closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261) https://github.com/python/cpython/commit/a4ae828ee416a66d8c7bf5ee71d653c2cc6a26dd

[issue34656] [CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393

2019-01-22 Thread STINNER Victor
STINNER Victor added the comment: > And Modules/cPickle.c is that drastically different? Stupid me. I was surprised that Python 2.7 had no C accelerator. I was looking for Modules/*pickle*.c on my case sensitive Linux filesystem... -- versions: +Python 2.7

[issue35805] email package folds msg-id identifiers using RFC2047 encoded words where it must not

2019-01-22 Thread Martijn Pieters
New submission from Martijn Pieters : When encountering identifier headers such as Message-ID containing a msg-id token longer than 77 characters (including the <...> angle brackets), the email package folds that header using RFC 2047 encoded words, e.g. Message-ID:

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Steve Dower added the comment: As mentioned above, those changes are other improvements that were worth taking, and about half of the required manylinux1 changes. But we probably need to maintain our own manylinux image for building/running CPython tests, if we want to do it. The existing

[issue35800] remove smtpd.MailmanProxy

2019-01-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jan 22, 2019, at 07:16, Samuel Colvin wrote: > > Ok, if I create a PR, should it just remove MailmanProxy completely or mark > it as deprecated in the docs to be removed in 3.9? > > Personally, I think it should be ok to remove it completely since it

[issue35720] Memory leak in Modules/main.c:pymain_parse_cmdline_impl when using the CLI flag

2019-01-22 Thread STINNER Victor
STINNER Victor added the comment: Thanks Lucas Cimon! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11435 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27035] Cannot set exit code in atexit callback

2019-01-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: @ Kumar Do you want to make a PR fixing the docs? -- ___ Python tracker ___ ___

[issue27035] Cannot set exit code in atexit callback

2019-01-22 Thread Kumar Akshay
Kumar Akshay added the comment: Can I work on this? I noticed the same behaviour as python3.7 in python3.8 from master branch. -- nosy: +kakshay ___ Python tracker ___

[issue35806] typing module adds objects to sys.modules that don't look like modules

2019-01-22 Thread Guido van Rossum
Guido van Rossum added the comment: OK, I don't see a bug here. The docs for sys.modules are pretty vague -- I don't believe they imply that all values in sys.modules must have every attribute of a Module object. -- resolution: -> wont fix stage: test needed -> resolved status:

[issue35806] typing module adds objects to sys.modules that don't look like modules

2019-01-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: The reason I filed #35791 is that I'm rewriting modulegraph[1] using importlib and run into some problems due to importlib.util.find_spec() failing for names that are already imported. Working around that in general probably will require reimplementing

[issue35779] Print friendly version message in REPL

2019-01-22 Thread Steven D'Aprano
Steven D'Aprano added the comment: > We only print simplified message in official binary release, any > Linux/private builds still using the current message. We know enough > information about official binary release. Who is "we" in this sentence? Are you saying that the Python.org binary

[issue27035] Cannot set exit code in atexit callback

2019-01-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The behaviour regarding printing SytemExit was changed by Serhiy in 3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4 and in bpo-28994. -- ___ Python tracker

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6d43f6f081023b680d9db4542d19b9e382149f0a by Victor Stinner in branch 'master': bpo-35713: Split _Py_InitializeCore into subfunctions (GH-11650) https://github.com/python/cpython/commit/6d43f6f081023b680d9db4542d19b9e382149f0a --

[issue35795] test_pkgutil test_zipapp fail in AMD64 Windows7 SP1 3.x and AMD64 Windows7 SP1 3.7 buildbots

2019-01-22 Thread Steve Dower
Steve Dower added the comment: I recently added (and even more recently fixed) the "--tempdir" option for libregrtest, so that can be used to specify a temporary location for *most* tests. Some still ignore that setting (notably distutils), but it's a starting point. I agree that tests

[issue35806] typing module adds objects to sys.modules that don't look like modules

2019-01-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: In response to my previous message: "Messing" with sys.modules appears to be good enough work around for me, at least in the limited testing I've done so far. The new version of modulegraph hasn't seen any testing beyond a largish set of unit tests though.

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Steve Dower added the comment: New changeset 128efcade63480b5860a6d045a41ba4abf5eea2f by Steve Dower in branch '3.7': bpo-35683: Improve Azure Pipelines steps (GH-11493) https://github.com/python/cpython/commit/128efcade63480b5860a6d045a41ba4abf5eea2f --

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-22 Thread Eryk Sun
Eryk Sun added the comment: > The current solution is the simplest one that ensures the most > compatibility for the least amount of risk, even though that > was not zero risk, as we've seen. How about making the py[w].exe launcher unset __PYVENV_LAUNCHER__ whenever it runs a registered

[issue33416] Add endline and endcolumn to every AST node

2019-01-22 Thread Emily Morehouse
Change by Emily Morehouse : -- pull_requests: +11441 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27035] Cannot set exit code in atexit callback

2019-01-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think this is a documentation issue today. The docs say: >If an exception is raised during execution of the exit handlers, a traceback >is printed (unless SystemExit is raised) and the exception >information is saved. After all exit handlers have

[issue5038] urrlib2/httplib doesn't reset file position between requests

2019-01-22 Thread David Heiberg
Change by David Heiberg : -- nosy: +dheiberg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Yuuji KAWAMATSU
Change by Yuuji KAWAMATSU : -- keywords: +patch pull_requests: +11442 stage: -> patch review ___ Python tracker ___ ___

[issue20911] urllib 'headers' is not a well defined data type

2019-01-22 Thread Demian Brecht
Demian Brecht added the comment: @R. David Murray Is this issue still valid? Running 3.6 it seems that http and ftp are consistent at any rate (http returns http.client.HTTPMessage and ftp returns email.message.Message). If it's still an issue, could you please elaborate? --

[issue35779] Print friendly version message in REPL

2019-01-22 Thread Ma Lin
Ma Lin added the comment: Hi, thanks for your replies. To be honest, the reason is I fell it's a bit ugly, this line is very long at REPL startup. And the information is not very clear [1]. I'm not strongly pushing this idea, just raise my feeling, keep it easy. :) Yes, after this

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Yuuji KAWAMATSU
Change by Yuuji KAWAMATSU : -- keywords: +patch, patch pull_requests: +11442, 11443 stage: -> patch review ___ Python tracker ___

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Yuuji KAWAMATSU
Change by Yuuji KAWAMATSU : -- keywords: +patch, patch, patch pull_requests: +11442, 11443, 11444 stage: -> patch review ___ Python tracker ___

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-22 Thread Steve Dower
Steve Dower added the comment: > How about making the py[w].exe launcher unset __PYVENV_LAUNCHER__ whenever it > runs a registered version explicitly? I think this is a good idea, though it can be unset unconditionally. If we're in a virtual environment, then it will run the intermediate

[issue35791] Unexpected exception with importlib

2019-01-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: I expected as much. I've filed an issue with apipkg for this: https://github.com/pytest-dev/apipkg/issues/13. My next challenge is to find a way to work around this issue in my code. BTW. Typing.io is a namespace added to sys.modules by the typing

[issue35804] v3.6.8 _ctypes win32 compiled with pgo crash

2019-01-22 Thread Steve Dower
Steve Dower added the comment: We already compile 32-bit CPython without PGO on Windows, so I don't think there's anything to do here apart from record the issue. It's very likely that 3.8 will finally get an updated libffi, which should deal with this completely (or force us to take

[issue35800] remove smtpd.MailmanProxy

2019-01-22 Thread Samuel Colvin
Samuel Colvin added the comment: Ok, if I create a PR, should it just remove MailmanProxy completely or mark it as deprecated in the docs to be removed in 3.9? Personally, I think it should be ok to remove it completely since it hasn't been working at all for the last 4 minor versions.

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset cda73a5af2ff064ca82140342b3158851d43868f by Vinay Sajip (yuji38kwmt) in branch 'master': bpo-35781: Changed references to deprecated 'warn' method in logging documentation in favour of 'warning' (GH-11654)

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 3be19c082b7f0ba3cf6c28922d3577126871788e by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-35781: Changed references to deprecated 'warn' method in logging documentation in favour of 'warning' (GH-11654) (GH-11657)

[issue35808] Let's retire pgen

2019-01-22 Thread Guido van Rossum
New submission from Guido van Rossum : Pgen is literally the oldest piece of technology in the CPython repo -- it was the first thing I wrote for Python over 29 years ago. It's not aged well, and building it requires various #if[n]def PGEN hacks in other parts of the code; it also depends

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +11445 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset f0c743604fc841d35a48822b936ef2e5919e43c1 by Vinay Sajip (Géry Ogam) in branch 'master': bpo-35722: Updated the documentation for the 'disable_existing_loggers' parameter (GH-11525)

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11444 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11443 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 552478bb1086ef371e4f1da0b430b90eba4785d5 by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-35722: Updated the documentation for the 'disable_existing_loggers' parameter (GH-11525) (GH-11655)

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11447 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11446 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11452 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35808] Let's retire pgen

2019-01-22 Thread Ethan Smith
Change by Ethan Smith : -- nosy: +Ethan Smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35766] Merge typed_ast back into CPython

2019-01-22 Thread Ethan Smith
Change by Ethan Smith : -- nosy: +Ethan Smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35726] QueueHandler formating affects other handlers

2019-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset da6424e96ada72c15c91bddb0a411acf7119e10a by Vinay Sajip (Manjusaka) in branch 'master': bpo-35726: Prevented QueueHandler formatting from affecting other handlers (GH-11537)

[issue35726] QueueHandler formatting affects other handlers

2019-01-22 Thread Vinay Sajip
Vinay Sajip added the comment: Merged for 3.8, will add backport labels to PR in due course. -- title: QueueHandler formating affects other handlers -> QueueHandler formatting affects other handlers ___ Python tracker

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread miss-islington
Change by miss-islington : -- keywords: pull_requests: +11446, 11447, 11449, 11450 ___ Python tracker ___ ___ Python-bugs-list

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread miss-islington
Change by miss-islington : -- keywords: +patch, patch, patch, patch, patch pull_requests: +11445, 11446, 11447, 11448, 11449, 11450 ___ Python tracker ___

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread miss-islington
Change by miss-islington : -- keywords: +patch, patch pull_requests: +11445, 11446 ___ Python tracker ___ ___ Python-bugs-list

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread miss-islington
Change by miss-islington : -- keywords: +patch, patch, patch, patch pull_requests: +11445, 11446, 11447, 11449 ___ Python tracker ___

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread miss-islington
Change by miss-islington : -- keywords: +patch, patch, patch pull_requests: +11445, 11446, 11447 ___ Python tracker ___ ___

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11450 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35722] disable_existing_loggers does not apply to the root logger

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11449 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +11451, 11453 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-22 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: -11453 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11435, 11436, 11437 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33416] Add endline and endcolumn to every AST node

2019-01-22 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Buildbots are green, this can be now closed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35804] v3.6.8 _ctypes win32 compiled with pgo crash

2019-01-22 Thread Anselm Kruis
Anselm Kruis added the comment: Closing the issue is perfectly OK for me. I just want to document the problem, because there is no bpo ticket yet and Tools/msi/README.txt does not mention any problems with PGO either. 3.7 and master might be affected too, but I didn't observe this issue

[issue35807] Update bundled pip to 19.0

2019-01-22 Thread Pradyun Gedam
New submission from Pradyun Gedam : In line with https://bugs.python.org/issue35277. Will also update setuptools while I do this. (if no one else gets to it, I'll file a PR tomorrow morning) -- components: Library (Lib) messages: 334230 nosy: dstufft, ncoghlan, paul.moore, pradyunsg

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11430, 11431 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11430, 11431, 11432 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11430 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35720] Memory leak in Modules/main.c:pymain_parse_cmdline_impl when using the CLI flag

2019-01-22 Thread miss-islington
miss-islington added the comment: New changeset f71e7433ebccb2e3a2665b93bb84de38f9c581c8 by Miss Islington (bot) in branch '3.7': bpo-35720: Fixing a memory leak in pymain_parse_cmdline_impl() (GH-11528) https://github.com/python/cpython/commit/f71e7433ebccb2e3a2665b93bb84de38f9c581c8

[issue35802] os.stat / os.lstat always present, but code checks hastattr(os, 'stat') / hasattr(os, 'lstat')

2019-01-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: I suspect these conditionals are very old and came from times when we supported some platforms that did not have these APIs. Are they present on all CPython supported platforms today? Windows is probably the only one left to verify. BSD/Linux/Un*xes and

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +11438, 11439, 11440 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35804] v3.6.8 _ctypes win32 compiled with pgo crash

2019-01-22 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35720] Memory leak in Modules/main.c:pymain_parse_cmdline_impl when using the CLI flag

2019-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +11433 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35720] Memory leak in Modules/main.c:pymain_parse_cmdline_impl when using the CLI flag

2019-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 35ca1820e19f81f69073f294503cdcd708fe490f by Victor Stinner (Lucas Cimon) in branch 'master': bpo-35720: Fixing a memory leak in pymain_parse_cmdline_impl() (GH-11528)

[issue35720] Memory leak in Modules/main.c:pymain_parse_cmdline_impl when using the CLI flag

2019-01-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +11433, 11434 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset bf4ac2d2fd520c61306b2676db488adab9b5d8c5 by Victor Stinner in branch 'master': bpo-35713: Rework Python initialization (GH-11647) https://github.com/python/cpython/commit/bf4ac2d2fd520c61306b2676db488adab9b5d8c5 --

[issue35805] email package folds msg-id identifiers using RFC2047 encoded words where it must not

2019-01-22 Thread R. David Murray
R. David Murray added the comment: Yes, the correct solution would be to write an actual parser for headers containing message ids. All the pieces needed to do this already exist in _header_value_parser, it "just" needs a function that glues them together in the right order, and then apply

[issue35802] os.stat / os.lstat always present, but code checks hastattr(os, 'stat') / hasattr(os, 'lstat')

2019-01-22 Thread Anthony Sottile
Anthony Sottile added the comment: yep! did my due diligence there, you can check my work on https://github.com/python/cpython/pull/11643 all platforms have these functions since `posixmodule.c` is always compiled and the functions in question are not guarded by preprocessor directives in

[issue35713] Fatal Python error: _PySys_BeginInit: can't initialize sys module

2019-01-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +11435, 11436 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Steve Dower added the comment: New changeset 28f6cb34f602b9796987904a607dceaf2e4a9e78 by Steve Dower in branch 'master': bpo-35683: Improve Azure Pipelines steps (GH-11493) https://github.com/python/cpython/commit/28f6cb34f602b9796987904a607dceaf2e4a9e78 --

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +11438, 11439 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +11438 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35779] Print friendly version message in REPL

2019-01-22 Thread Eric Snow
Eric Snow added the comment: Hi Ma Lin! Thanks for the suggestion. We appreciate your interest in making Python better. It's unclear from your messages what is motivating your request. You mentioned middle school students, but that didn't sound like your actual motivator. Knowing what

[issue35806] typing module adds objects to sys.modules that don't look like modules

2019-01-22 Thread Eric Snow
New submission from Eric Snow : tl;dr Should all objects in sys.modules look like module objects? In #35791 Ronald described a problem with a "module" added to sys.modules that does not have all the attributes a module should have. He also mentioned a similar problem with typing.io [1]:

[issue35791] Unexpected exception with importlib

2019-01-22 Thread Eric Snow
Eric Snow added the comment: FYI, I opened #35806 for typing.io. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35806] typing module adds objects to sys.modules that don't look like modules

2019-01-22 Thread Guido van Rossum
Guido van Rossum added the comment: It's been a somewhat well-known idiom for modules to replace themselves in sys.modules with an object that implements some special behaviors (e.g. dynamic loading). This "just works" and AFAIK people have been doing this for ages. Typically such classes