[issue26730] SpooledTemporaryFile rollover corrupts data silently when Unicode characters are written

2019-11-26 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +16880 pull_request: https://github.com/python/cpython/pull/17400 ___ Python tracker ___

[issue26730] SpooledTemporaryFile rollover corrupts data silently when Unicode characters are written

2019-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I cannot creàte a pr now. Please take this issue yourself Inada+san. -- assignee: serhiy.storchaka -> ___ Python tracker ___

[issue38854] Decorator breaks inspect.getsource

2019-11-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38924] pathlib paths .normalize()

2019-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add an example of how normalize() should behave? I assume you want the same behaviour as os.path.normpath which already accepts a pathlike object to be added to pathlib. -- nosy: +xtreak

[issue38715] Regression in compileall ddir parameter when recursing

2019-11-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +16879 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17398 ___ Python tracker ___

[issue38688] Python 3.8 regression: endless loop in shutil.copytree

2019-11-26 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38688] Python 3.8 regression: endless loop in shutil.copytree

2019-11-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset 65c92c5870944b972a879031abd4c20c4f0d7981 by Giampaolo Rodola (Bruno P. Kinoshita) in branch '3.8': [3.8] bpo-38688, shutil.copytree: consume iterator and create list of entries to prevent infinite recursion (GH-17397)

[issue38908] Troubles with @runtime_checkable protocols

2019-11-26 Thread Guido van Rossum
Guido van Rossum added the comment: If the "little helper in abc" solves it, let's do that. The sys._getframe() hack has always been a bit smelly -- I assume we can get rid of that then? -- ___ Python tracker

[issue38913] Py_BuildValue("(s#O)", ...) segfaults if entered with exception raised

2019-11-26 Thread danielen
danielen added the comment: The problem arises from this code in do_mktuple(), staring at line 394 in modsupport.c: if (**p_format == '#') { ++*p_format; if (flags & FLAG_SIZE_T) n = va_arg(*p_va, Py_ssize_t);

[issue38810] SSL connect() raises SSLError "[SSL] EC lib (_ssl.c:728)"

2019-11-26 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38874] asyncio.Queue: putting items out of order when it is full

2019-11-26 Thread Josh Rosenberg
Josh Rosenberg added the comment: Yes, five outstanding blocked puts can be bypassed by a put that comes in immediately after a get creates space. But this isn't really a problem; there are no guarantees on what order puts are executed in, only a guarantee that once a put succeeds, it's

[issue33604] HMAC default to MD5 marked as to be removed in 3.6

2019-11-26 Thread Leandro Lima
Leandro Lima added the comment: IMV, the adopted solution creates a problem of a mismatch between the signature and the function behavior. I was just hit by this, as I never cared to specify digestmod trusting that Python defaults are usually sound choices. I agree that changing the

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-11-26 Thread Leandro Lima
Leandro Lima added the comment: In my view, this function signature changed too silently. Even using static type checkers, I could only find about this compatibility breaking change when actually running the code. If I understand well the reason it was done this way, digestmod needed to

[issue26730] SpooledTemporaryFile rollover corrupts data silently when Unicode characters are written

2019-11-26 Thread Inada Naoki
Inada Naoki added the comment: @Serhiy, would you create a pull request based on your patch? Or may I? @James it doesn't make sense at all. It breaks the file even when only ASCII characters are used. f = SpooledTemporaryFile(mode="w+") f.write("foobar") f.seek(3) f.rollover()

[issue38926] MacOS: 'Install certificates.command' has no effect

2019-11-26 Thread Jeff Berkowitz
New submission from Jeff Berkowitz : After using the Python-supported installer to install 3.8.0 on my employer-owned Mac running High Sierra (10.13.6), the 'Install Certificates.command' had no apparently effect on the behavior of Python. The behavior before executing the script was that a

[issue38688] Python 3.8 regression: endless loop in shutil.copytree

2019-11-26 Thread Bruno P. Kinoshita
Change by Bruno P. Kinoshita : -- pull_requests: +16878 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/17397 ___ Python tracker ___

[issue38810] SSL connect() raises SSLError "[SSL] EC lib (_ssl.c:728)"

2019-11-26 Thread Andy Maier
Andy Maier added the comment: Thanks for the help, Christian! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38810] SSL connect() raises SSLError "[SSL] EC lib (_ssl.c:728)"

2019-11-26 Thread Andy Maier
Andy Maier added the comment: Our user was able to fix this issue by upgrading the OpenSSL version used on the client side from 1.0.1e-fips to 1.1.1. It seems to me that Python's SSL support cannot do anything about this issue. As far as I'm concerned ths issue can be closed. --

[issue38862] IDLE: Include end newlines in whitespace fix.

2019-11-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38688] Python 3.8 regression: endless loop in shutil.copytree

2019-11-26 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- stage: patch review -> commit review versions: +Python 3.9 ___ Python tracker ___ ___

[issue38862] IDLE: Include end newlines in whitespace fix.

2019-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2fb971940b18bcf5a58b1b242b697d0f1d8ad7ef by Terry Jan Reedy in branch '3.7': [3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366) (#17379)

[issue38862] IDLE: Include end newlines in whitespace fix.

2019-11-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a9c86f5e1afa2487524b1947153953b583714d62 by Terry Jan Reedy in branch '3.8': [3.8] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366) https://github.com/python/cpython/commit/a9c86f5e1afa2487524b1947153953b583714d62

[issue38688] Python 3.8 regression: endless loop in shutil.copytree

2019-11-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset 9bbcbc9f6dfe1368fe7330b117707f828e6a2c18 by Giampaolo Rodola (Bruno P. Kinoshita) in branch 'master': bpo-38688, shutil.copytree: consume iterator and create list of entries to prevent infinite recursion (GH-17098)

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread miss-islington
miss-islington added the comment: New changeset 191f94cca6f8cf59535e7459c1113e4a1cdfe201 by Miss Islington (bot) in branch '3.8': bpo-38922: Raise code.__new__ audit event when code object replace() is called (GH-17394)

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread Steve Dower
Steve Dower added the comment: New changeset c7c01ab1e5415b772c68e15f1aba51e520010830 by Steve Dower in branch 'master': bpo-38922: Raise code.__new__ audit event when code object replace() is called (GH-17394)

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16877 pull_request: https://github.com/python/cpython/pull/17396 ___ Python tracker ___

[issue38923] Spurious OSError "Not enough memory resources" when allocating memory using multiprocessing.RawArray

2019-11-26 Thread Brian Kardon
Brian Kardon added the comment: Ah, thank you so much! That makes sense. I'll have to switch to 64-bit python. I've marked this as closed - hope that's the right thing to do here. -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue18233] SSLSocket.getpeercertchain()

2019-11-26 Thread Nathaniel Smith
Nathaniel Smith added the comment: There's another important use case for this, that hasn't been discussed here. If you want to use openssl for TLS + the system trust store to verify certificates, then you need to disable openssl's certificate validation, perform the handshake, and then

[issue38925] Decoding unicode not supported after upd to 2.7.17 [possible pymysql related?]

2019-11-26 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Sebastian, It will help if you do some minimal debugging before reporting what you think is a bug. Also, you should report what version you are upgrading from, not just the version you have upgraded to. It may help you to provide better bug reports if

[issue38916] Remove array.fromstring

2019-11-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thoughts: * The tostring() method should be handled in the same way. * Remediation is easy because from_bytes() is a alias * Still, all removals cause disruption from at least some users * The only real benefit of removing it is a sense of tidiness;

[issue38914] Clarify wording for warning message when checking a package

2019-11-26 Thread Jürgen Gmach
Jürgen Gmach added the comment: Thank you, both of you! I especially appreciate the further information about how setuptools and distutils play together. -- ___ Python tracker

[issue38925] Decoding unicode not supported after upd to 2.7.17 [possible pymysql related?]

2019-11-26 Thread Sebastian Szwarc
New submission from Sebastian Szwarc : As follow up to my recent bug error regarding segmentation fault. Installed 2.7.17 on Mojave. Because MySQLdb for reason unknown (SSL required error) is impossible to install by PIP I used PyMysql and modified line as `import pymysql as MySQLdb` There is

[issue38045] enum.Flag instance creation is slow

2019-11-26 Thread Ethan Furman
Ethan Furman added the comment: New changeset 0b41a922f95f62b620d5a197b9f2ed8e4bb70730 by Ethan Furman (HongWeipeng) in branch 'master': bpo-38045: Improve the performance of _decompose() in enum.py (GH-16483) https://github.com/python/cpython/commit/0b41a922f95f62b620d5a197b9f2ed8e4bb70730

[issue38924] pathlib paths .normalize()

2019-11-26 Thread Ionuț Ciocîrlan
New submission from Ionuț Ciocîrlan : pathlib paths should expose a `.normalize()` method. This is highly useful, especially in web-related scenarios. On `PurePath` its usefulness is obvious, but it's debatable for `Path`, as it would yield different results from `.resolve()` in case of

[issue38923] Spurious OSError "Not enough memory resources" when allocating memory using multiprocessing.RawArray

2019-11-26 Thread Christian Heimes
Christian Heimes added the comment: Good catch, Zach! A 32bit version of Python would certainly explain your problem. A 32bit process can only address 4 GB of address space. Almost half of the address space is reserved for OS, stack, Python itself, and other things. That leaves a little

[issue38923] Spurious OSError "Not enough memory resources" when allocating memory using multiprocessing.RawArray

2019-11-26 Thread Zachary Ware
Zachary Ware added the comment: You appear to be using a 32-bit version of Python on Windows; do you get the same behavior using the 64-bit version? -- components: -ctypes ___ Python tracker

[issue38923] Spurious OSError "Not enough memory resources" when allocating memory using multiprocessing.RawArray

2019-11-26 Thread Brian Kardon
New submission from Brian Kardon : When I try to create a series of multiprocessing.RawArray objects, I get an "OSError: Not enough memory resources are available to process this command". However, by my calculations, the total amount of memory I'm trying to allocate is just about 1 GB, and

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +16876 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17394 ___ Python tracker ___

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
Steve Dower added the comment: +Victor in case you'd like to check my changes to the unraisable hook implementation. -- nosy: +vstinner ___ Python tracker ___

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread Steve Dower
New submission from Steve Dower : Because code.replace() manually creates a new code object (that is, with arbitrary co_code rather than via the compiler), it should raise code.__new__ with its arguments. -- assignee: steve.dower messages: 357529 nosy: steve.dower priority: normal

[issue21063] Touch up one-line descriptions of modules for module index

2019-11-26 Thread Brett Cannon
Brett Cannon added the comment: New changeset 2f2489310d89f589a091aa09ac1eb973d9a383d8 by Brett Cannon (Miss Islington (bot)) in branch '3.7': bpo-21063: Improve module synopsis for distutils (GH-17363) (#17381)

[issue38916] Remove array.fromstring

2019-11-26 Thread Brett Cannon
Brett Cannon added the comment: Although I will admit we have not had a discussion on python-dev about removing stuff that was left for Python 2.7 compatibility, so that discussion should probably occur first before we go ripping stuff out. --

[issue38921] Max Recursion Depth Reached in Logging Library

2019-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach a simple script to reproduce the issue? -- nosy: +vinay.sajip, xtreak ___ Python tracker ___

[issue38021] pep425 tag for AIX is inadequate

2019-11-26 Thread Paul Moore
Paul Moore added the comment: > replacement platform_tag, not compatibility tag. Ah, I see, sorry. In that case, this should be fine, it's purely a CPython question. There's obviously a follow-on discussion about how that platform tag is *incorporated* into the compatibility tags, but as

[issue38916] Remove array.fromstring

2019-11-26 Thread Brett Cannon
Brett Cannon added the comment: If it was documented as deprecated and raising a deprecation warning then 3.2 is definitely far enough back to warrant removing it. -- ___ Python tracker

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +16875 pull_request: https://github.com/python/cpython/pull/17393 ___ Python tracker ___

[issue38921] Max Recursion Depth Reached in Logging Library

2019-11-26 Thread Joy
New submission from Joy : Seeing an issue with the logger fmt not setting correctly in the Handler class. Our code calls format many times which works for a while and then we receive the following errors: [3206] 2019/11/26 12:42:31.011> [ERROR] File

[issue27501] Add typing.py class describing a PEP 3118 buffer object

2019-11-26 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Cross-ref to the typing issue https://github.com/python/typing/issues/593. It looks like there is some interest in this feature. -- ___ Python tracker

[issue26730] SpooledTemporaryFile doesn't correctly preserve data for text (non-binary) SpooledTemporaryFile objects when Unicode characters are written

2019-11-26 Thread James Hennessy
James Hennessy added the comment: The quickest fix for the data corruption problem is to delete the line newfile.seek(file.tell(), 0) from the rollover() method. This doesn't fix the inconsistency of tell() and seek(), but it's very low risk. It's technically a change to the API, that

[issue38021] pep425 tag for AIX is inadequate

2019-11-26 Thread Michael Felt
Michael Felt added the comment: On 22/11/2019 10:42, Paul Moore wrote: > Paul Moore added the comment: > > PyPA member here - if this PR is defining new compatibility tags, replacement platform_tag, not compatibility tag. > I would have expected it to need discussion as a revision to PEP

[issue38905] venv python reports wrong sys.executable in a subprocess on Windows

2019-11-26 Thread Steve Dower
Steve Dower added the comment: > But then I need two separate workflows based on what is passed in. For py.exe > I need to run it and get sys.executable. But for python.exe I *cannot* use > sys.executable because that’s the base interepeter, not the venv path I want. > And `if Path(arg).stem

[issue38919] support Assignment Operators

2019-11-26 Thread Zachary Ware
Zachary Ware added the comment: Agreed with Karthikeyan. This is a PEP-level change, meaning it will first need to find some approval on python-ideas, a PEP will need to be written and eventually approved before an issue should be opened to implement the change; thus I'm closing this issue

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +16874 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17392 ___ Python tracker

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
New submission from Steve Dower : We currently have no audit events for unhandled exceptions. While these can be recorded by sys.excepthook or sys.unraisablehook in Python code, there is no way to intercept them from C code set up before running Python code. There's also no way to collect

[issue38892] Audit Hook doc typos and confusion

2019-11-26 Thread miss-islington
miss-islington added the comment: New changeset 86d9933cc627c4232f9702ca0766713714ebbc53 by Miss Islington (bot) in branch '3.8': bpo-38892: Improve docs for audit event (GH-17361) https://github.com/python/cpython/commit/86d9933cc627c4232f9702ca0766713714ebbc53 -- nosy:

[issue38892] Audit Hook doc typos and confusion

2019-11-26 Thread Steve Dower
Steve Dower added the comment: Thanks Terry! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38913] Py_BuildValue("(s#O)", ...) segfaults if entered with exception raised

2019-11-26 Thread danielen
danielen added the comment: It is not reproducible with PY_SSIZE_T_CLEAN defined. -- ___ Python tracker ___ ___ Python-bugs-list

[issue38892] Audit Hook doc typos and confusion

2019-11-26 Thread Steve Dower
Steve Dower added the comment: New changeset e563a155be60fc0757914f87c8138f10de00bb16 by Steve Dower (Terry Jan Reedy) in branch 'master': bpo-38892: Improve docs for audit event (GH-17361) https://github.com/python/cpython/commit/e563a155be60fc0757914f87c8138f10de00bb16 --

[issue38892] Audit Hook doc typos and confusion

2019-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16873 pull_request: https://github.com/python/cpython/pull/17391 ___ Python tracker ___

[issue38913] Py_BuildValue("(s#O)", ...) segfaults if entered with exception raised

2019-11-26 Thread Steve Dower
Steve Dower added the comment: Does it depend on whether PY_SSIZE_T_CLEAN is defined? -- nosy: +steve.dower ___ Python tracker ___

[issue38919] support Assignment Operators

2019-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This needs to be discussed on python-ideas mailing list. Inplace operation for walrus operator like :*= feels difficulty to read than (x := x * 2) and would require changes to grammar. -- nosy: +xtreak

[issue26730] SpooledTemporaryFile doesn't correctly preserve data for text (non-binary) SpooledTemporaryFile objects when Unicode characters are written

2019-11-26 Thread Inada Naoki
Inada Naoki added the comment: But poor performance is better than silent data corruption. If we can not fix the rollover right now, stop the spooling is a considerable option for next bugfix release. -- ___ Python tracker

[issue22377] %Z in strptime doesn't match EST and others

2019-11-26 Thread miss-islington
miss-islington added the comment: New changeset bc441ed7c1449f06df37905ee6289aa93b85d4cb by Miss Islington (bot) (Karl Dubost) in branch 'master': bpo-22377: Fixes documentation for %Z in datetime (GH-16507) https://github.com/python/cpython/commit/bc441ed7c1449f06df37905ee6289aa93b85d4cb

[issue38914] Clarify wording for warning message when checking a package

2019-11-26 Thread Paul Ganssle
Paul Ganssle added the comment: For the future, we generally tend to keep distutils pretty "frozen", only making minor changes or the changes needed to build Python itself. Instead we generally make changes in setuptools, which for the moment monkey-patches distutils (and into which

[issue38919] support Assignment Operators

2019-11-26 Thread mohamad khosravi
New submission from mohamad khosravi : support "Assignment Operators": x = "ME" while len(x:*=2) < 64:print("value doubled!") -- messages: 357507 nosy: mohamad khosravi priority: normal severity: normal status: open title: support Assignment Operators versions: Python 3.9

[issue26730] SpooledTemporaryFile doesn't correctly preserve data for text (non-binary) SpooledTemporaryFile objects when Unicode characters are written

2019-11-26 Thread James Hennessy
James Hennessy added the comment: I don't like the idea of using a TemporaryFile right from the beginning in text mode. You might as well remove text mode support altogether if that's the approach you want to take, since it undoes any potential performance benefit of using

[issue26730] SpooledTemporaryFile doesn't correctly preserve data for text (non-binary) SpooledTemporaryFile objects when Unicode characters are written

2019-11-26 Thread James Hennessy
James Hennessy added the comment: I have to disagree with the idea that SpooledTemporaryFile is not useful. Although on some systems, the file system may appear as fast as memory, that cannot be assumed to be universally true. I think the idea behind SpooledTemporaryFile is completely

[issue38913] Py_BuildValue("(s#O)", ...) segfaults if entered with exception raised

2019-11-26 Thread Matthias Klose
Matthias Klose added the comment: seen with the current 3.8 branch. -- keywords: +3.8regression nosy: +doko, lukasz.langa priority: normal -> release blocker ___ Python tracker

[issue36375] PEP 499 implementation: "python -m foo" binds the main module as both __main__ and foo in sys.modules

2019-11-26 Thread Eric Snow
Eric Snow added the comment: Exactly. :) I'd expect PEP 499 to specify changing __module__ of classes and functions from __main__ to the module name (__spec__.name). This aligns closely with the whole point of the PEP. :) As a bonus, it will simplify things for pickling (which doesn't

[issue38918] Add __module__ entry for function type in inspect docs table.

2019-11-26 Thread Eric Snow
New submission from Eric Snow : The docs page for the inspect module has a large table describing the special attributes of various important types. One entry for function attributes is missing: __module__. It should be added. Note that __module__ *is* included in the function attributes

[issue38910] AssertionError: ElementTree not initialized, missing root

2019-11-26 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38917] Color setting doesn't work in tkinter

2019-11-26 Thread Acid Ascorbic
New submission from Acid Ascorbic : It is impossible to set colors properly in Treeview. Python behavior is different between versions 3.6.2 and 3.7.3/3.8.0. Origin: https://stackoverflow.com/questions/57634982/can-i-change-the-foreground-color-of-a-single-column-in-python-treeview/59047842

[issue38914] Clarify wording for warning message when checking a package

2019-11-26 Thread Jürgen Gmach
Jürgen Gmach added the comment: Thank you for your feedback. Paul Ganssle suggested a updated wording over at https://github.com/pypa/pep517/issues/73 so this is why I created a pr accordingly. The intent of this issue and the pr is to minimize the confusion for a beginner with Python

[issue36221] Setting PYTHONASYNCIODEBUG breaks warnings

2019-11-26 Thread Denis S. Otkidach
Denis S. Otkidach added the comment: It's fixed in 3.8 final, but the problem persists in 3.7.5 -- versions: -Python 3.8 ___ Python tracker ___

[issue38914] Clarify wording for warning message when checking a package

2019-11-26 Thread Éric Araujo
Change by Éric Araujo : -- type: enhancement -> behavior versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue38914] Clarify wording for warning message when checking a package

2019-11-26 Thread Éric Araujo
Éric Araujo added the comment: For your project, if you define maintainer and maintainer-email (with your own info), it’s too bad that adding author results in a warning for missing author-email! The goal of these checks as I understand them is a best effort to encourage projects to contain

[issue38916] Remove array.fromstring

2019-11-26 Thread Dong-hee Na
Dong-hee Na added the comment: For whom are interested in this issue, Please wait until the core developer decides to approve this issue. :) After that, we can review the PR for this issue. Thank you for understanding. -- ___ Python tracker

[issue38916] Remove array.fromstring

2019-11-26 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38916] Remove array.fromstring

2019-11-26 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +easy (C) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38916] Remove array.fromstring

2019-11-26 Thread Dong-hee Na
Dong-hee Na added the comment: I'd like to tag this issue as an easy issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38916] Remove array.fromstring

2019-11-26 Thread Dong-hee Na
New submission from Dong-hee Na : array.fromstring was deprecated at 3.2 IMHO, now we can remove array.fromstring. For my research, there is no usage on the standard library. I 'd like to propose that let's remove array.fromstring from 3.9 -- components: Library (Lib) messages: 357495

[issue38910] AssertionError: ElementTree not initialized, missing root

2019-11-26 Thread Joseph Reagle
Joseph Reagle added the comment: On 11/26/19 12:06 AM, Karthikeyan Singaravelan wrote: > Karthikeyan Singaravelan added the comment: > > This seems more like an issue with lxml. I posted a report over there now too: https://bugs.launchpad.net/lxml/+bug/1854057 --

[issue38901] Add a CLI flag to venv to use the pwd basename as the prompt

2019-11-26 Thread Vinay Sajip
Vinay Sajip added the comment: Since there is already a --prompt available, I'd prefer a solution that allowed some special value(s) to be passed for this, e.g. --prompt . or perhaps --prompt __curdir__ -- ___ Python tracker

[issue38915] 'r[/]*', str, re.MULTILINE | re.DOTALL Won't match // in a string in Python3.6.8

2019-11-26 Thread Yan
Change by Yan : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue38915] 'r[/]*', str, re.MULTILINE | re.DOTALL Won't match // in a string in Python3.6.8

2019-11-26 Thread Yan
New submission from Yan : str="//" matches = re.finditer('r[/]*', str, re.MULTILINE | re.DOTALL) for match in matches: print(match.group(0)) The above will match double forward slash in Python2.7.15 but NOT in Python3.6.8. -- components: Library (Lib) messages: 357492 nosy:

[issue38914] Clarify wording for warning message when checking a package

2019-11-26 Thread Jürgen Gmach
Change by Jürgen Gmach : -- keywords: +patch pull_requests: +16870 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17388 ___ Python tracker ___

[issue26730] SpooledTemporaryFile doesn't correctly preserve data for text (non-binary) SpooledTemporaryFile objects when Unicode characters are written

2019-11-26 Thread Inada Naoki
Inada Naoki added the comment: Creating files is slow on Windows too. But I think we should fix the data corruption ASAP. While Serhiy's patch looks good to me, there is a more quick and safe way to fix the data corruption. Use TemporaryFile at first if it is text mode. --

[issue26730] SpooledTemporaryFile doesn't correctly preserve data for text (non-binary) SpooledTemporaryFile objects when Unicode characters are written

2019-11-26 Thread Inada Naoki
Change by Inada Naoki : -- priority: normal -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38914] Clarify wording for warning message when checking a package

2019-11-26 Thread Jürgen Gmach
New submission from Jürgen Gmach : When creating a package for PyPi, and naming an author, but not an author_email, you get a warning as follows: warning: Check: missing meta-data: if 'author' supplied, 'author_email' must be supplied too The specs (

[issue38897] Example in socket documentation uses deprecated array.fromstring

2019-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks David for the report and patch. -- nosy: +xtreak resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38897] Example in socket documentation uses deprecated array.fromstring

2019-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16869 pull_request: https://github.com/python/cpython/pull/17387 ___ Python tracker ___

[issue38803] test_wait3 and test_wait4 leaked references on x86 Gentoo Refleaks 3.x

2019-11-26 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix Eddie Elizondo! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27145] long_add and long_sub might return a new int where _ints[x] could be returned

2019-11-26 Thread STINNER Victor
STINNER Victor added the comment: It seems like there are a few corner cases where long integers are not normalized: https://github.com/python/cpython/pull/15716#pullrequestreview-298002027 But the initial issue described here has been fixed, so it's better to keep this issue closed. If