[issue37824] IDLE: Handle Shell input warnings properly.

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

The new items can be new issues, with 6 maybe the highest priority.  Currently
:1: DeprecationWarning: invalid escape sequence \e
becomes
Warning (from warnings module):
  File "", line 1
'\e'
DeprecationWarning: invalid escape sequence \e

For both Shell and Editor input, the Warning Line is not really needed.  For 
Shell, the fake filename is not needed, nor is the line # and line if somehow 
otherwise marked.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37824] IDLE: Handle Shell input warnings properly.

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

To review: Serhiy reported 3 'IDLE' bugs: tripled DeprecationWarning (now 
joined by SyntaxWarning), printing to console (if available) instead of Shell, 
and an exit exception.

1. Codeop generates the tripicates; #40807 will fix that.
2. PR-15311 prints warnings to Shell, but I held off  pending some fix.  3. The 
exception (a duplicate report) was fixed on #35623.
4. PR-15500 stopped turning a SyntaxWarning into a SyntaxError.

Additional issues, semi-independent.
5. REPL prints warning after code, IDLE before
6. REPL prints 1 line, IDLE 4, but this is related to Shell warnings going to 
the console.  IDLE should use 1 and highlight.
7. Should IDLE extend scope of deduplication?  Yes with 4 lines, maybe not with 
1 line.
8. REPL partially deduplicates within compound statement; see #40807.

--
versions:  -Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40805] Can no longer patch flask.g

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Sorry, but I believe you were misdirected*.  mock, as opposed to unittest.mock, 
pytest, flask, and werkzeug  are 3rd party modules.  The error report seems to 
be missing part of the stacktrace at both ends.  What line is your file 
resulted in the error?  (This time we can guess == @patch. @What called 
_lookup_app_object in flask?  (I have no idea.)

However, once contextlib._GeneratorContextManager calls next(self.gen), the 
rest of the trace is outside the stdlib.  At the end, the RuntimeError is 
raised by flask, not by python, because the flask _app_ctx_stack.top does not 
exist.  If you do not understand their error message, ask flask people.

* I assume that cjw296 *glanced* at your report, saw 'RuntimeError', and too 
quickly assumed 'cpython error'.  flask could have defined, for instance, 
FlaskRuntimeError for its error reporting.

--
nosy: +terry.reedy
resolution:  -> third party
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2020-05-29 Thread Kyle Stanley


Kyle Stanley  added the comment:

> is there a workaround for earlier Python versions that does not involve 
> patching the standard library?

You could potentially try using the new default watcher, 
`ThreadedChildWatcher`, by implementing it locally and setting it as the child 
watcher to use (instead of `SafeChildWatcher`) with `set_child_watcher()`. 
AFAICT, the current implementation should work well for earlier versions of 
Python that don't have it, we just can't include it earlier than 3.8 since it's 
a new feature.

See 
https://github.com/python/cpython/blob/4649202ea75d48e1496e99911709824ca2d3170e/Lib/asyncio/unix_events.py#L1326
 for reference.

--
nosy: +aeros

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40804] Bug report in python3.6.8 using argparse module

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

3.6 has only gotten security fixed for 1.5 years.  We need a test file that can 
be run as is in the master branch to see if there is a current bug.

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40770] RFE: Run linkchecker on documentation on the CI

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Something rebuilds the online docs once a day.  That same something might be 
appropriate for running a link checker (including external links) once a week, 
say.

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-05-29 Thread Tiago Illipronti Girardi


Change by Tiago Illipronti Girardi :


--
versions: +Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-05-29 Thread Tiago Illipronti Girardi


Change by Tiago Illipronti Girardi :


--
nosy: +TIGirardi
nosy_count: 7.0 -> 8.0
pull_requests: +19773
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/20529

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset ef2f9acf8fc813f66523e7702654f919d20ff0c3 by Miss Islington (bot) 
in branch '3.8':
closes bpo-29017: Update the bindings for Qt information with PySide2 (GH-20149)
https://github.com/python/cpython/commit/ef2f9acf8fc813f66523e7702654f919d20ff0c3


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 78cf711d1ff261b6be359d6c12f47dd0997546b2 by Miss Islington (bot) 
in branch '3.9':
closes bpo-29017: Update the bindings for Qt information with PySide2 (GH-20149)
https://github.com/python/cpython/commit/78cf711d1ff261b6be359d6c12f47dd0997546b2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset f165647e3d2addd03d0393f4f5d31bd1cc9b74a2 by Miss Islington (bot) 
in branch '3.7':
closes bpo-29017: Update the bindings for Qt information with PySide2 (GH-20149)
https://github.com/python/cpython/commit/f165647e3d2addd03d0393f4f5d31bd1cc9b74a2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +19771
pull_request: https://github.com/python/cpython/pull/20527

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread Benjamin Peterson


Benjamin Peterson  added the comment:


New changeset 4649202ea75d48e1496e99911709824ca2d3170e by Samuel Gaist in 
branch 'master':
closes bpo-29017: Update the bindings for Qt information with PySide2 (GH-20149)
https://github.com/python/cpython/commit/4649202ea75d48e1496e99911709824ca2d3170e


--
nosy: +benjamin.peterson
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +19772
pull_request: https://github.com/python/cpython/pull/20528

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +19770
pull_request: https://github.com/python/cpython/pull/20526

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40762] Writing bytes using CSV module results in b prefixed strings

2020-05-29 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

I make 5 core developers who agree that csv should definitely *not* assume that 
bytes given to it represent encoded text, reverting to the confusion of Python 
1 and 2.  (And even it if did, it should not assume that the encoding of the 
given to it and the encoding of the file are the same, or even that all bytes 
given to it have the same encoding!)

If a user does not like the current default wonky mixed ascii-hex string 
representation of bytes, the user should explicitly convert bytes to the 
representation they want.  Here are just 3 examples, 2 with possible variations.

>>> b'\xc2a9'.hex()  # One might want to add prefix '0x' or r'\x'.
'c26139' # Or add a separator.
>>> str(list(b'\xc2a9'))  # One might want to change or strip brackets, 
'[194, 97, 57]'   # change separator, or strip spaces.
>>> b'\xc2a9'.decode('latin-1')
'Âa9'

What is best depends on the expected reader of the output.  Pandas users who 
don't like Pandas' csv output should talk to its authors.  They are welcome to 
ask advice on python-list.

Eric: I agree that adding 'strict=False' might be a good idea (in a new issue).

--
nosy: +terry.reedy
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed
type: behavior -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40754] Test installers before releasing (ModuleNotFoundErrors)

2020-05-29 Thread Ned Deily


Ned Deily  added the comment:

> So it seems that only Linux has "installed" builbot tests. I suppose the next 
> step is adding some macOS and Windows ones.

Having more buildbots test from "installed" locations, rather than the build 
directory, is good.

But that's not the whole issue here. Those "installed" tests are only testing 
that a Python runs from an installed location on the same system it was built.  
The Windows and macOS installers use various packaging methods to provide 
complete Python installations, including binaries, that can be installed on 
other systems using various OS-native install methods familiar to users of each 
platform. And the binaries are generally built in such a way to support running 
on multiple release versions of its operating system. For example, the current 
Python installers for macOS from python.org are usable on macOS 10.9 through 
10.15. To produce the various installer packages, there are other layers of 
tooling involved, say, on top of "make install" in the Unixy build process for 
macOS; something similar is true for Windows releases.

FWIW, every macOS installer is test installed on a vanilla system, the whole 
standard test suite is run, and an IDLE smoke test is run to ensure there are 
no noticeable regressions before handing the build artifacts off to the release 
manager. Every installer is tested on at least one supported macOS version and 
usually more than one.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40754] Test installers before releasing (ModuleNotFoundErrors)

2020-05-29 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

We have a bunch of buildbots that test the installed Python. For instance, if 
you search for "installed" in 
https://buildbot.python.org/all/#/builders?tags=%2B3.x we have:

aarch64 Fedora Rawhide Clang Installed 3.x  
aarch64 Fedora Stable Clang Installed 3.x   
AMD64 Fedora Rawhide Clang Installed 3.x
AMD64 Fedora Stable Clang Installed 3.x
PPC64LE Fedora Rawhide Clang Installed 3.x
PPC64LE Fedora Stable Clang Installed 3.x
s390x Fedora Clang Installed 3.x
s390x Fedora Rawhide Clang Installed 3.x
x86 Gentoo Installed with X

So it seems that only Linux has "installed" builbot tests. I suppose the next 
step is adding some macOS and Windows ones.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40759] Deprecate the symbol module

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

If PEG does not use this file, then not deprecating it along with parser in 3.9 
could be considered a bug.

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40754] Test installers before releasing (ModuleNotFoundErrors)

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I verified that running tests for installed 64-bit 3.9.0b1 on Win10 is somewhat 
a joke.  I got 22 failures.  Multiple tests failed on missing 
_testinternalcapi, and at least 1 on _xxtestfuzz.  Several tests had multiple 
failures and would need to be run individually and verbosely to see why.  For 
instance, test_itertools tries to run test.support.__init__.checksizeof 4 
times, and the latter imports _testinternalcapi, resulting is 4 failures.

Release managers: I think installers should be run and the suite run with the 
result.  This is not the first time a file has been omitted.  One needed by 
IDLE was once omitted, I believe on Windows.  There is now a test that reads 
it, but is useless unless run.  (And I should add checks for all the other 'not 
.py' files.)

honglei: Thank you for both posts.  Next time, please remove the quoted message 
when replying by email.  Once posted on the web page, below the quoted message, 
the quote becomes redundant noise.

--
nosy: +lukasz.langa, ned.deily, pablogsal, terry.reedy
title: ModuleNotFoundError: No module named '_testinternalcapi' under Win10 -> 
Test installers before releasing (ModuleNotFoundErrors)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2020-05-29 Thread Chris Meyer


Change by Chris Meyer :


--
keywords: +patch
pull_requests: +19769
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20525

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40133] Provide additional matchers for unittest.mock

2020-05-29 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
stage: resolved -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39343] Travis CI: documentation job fails in library/nntplib.rst with random network issue on news.gmane.io

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

gmane was down for maybe a day early this week.  We should expect this to 
continue happening on and off, as it has for years (I use it daily).  I suggest 
that we run the test when we can and skip (or connect elsewhere) when we cannot.

try:
s = NNTP('news.gmane.io')
except ConnectionRefusedError as e:
self.skipTest(f'Gmane down: {e}')

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39885] IDLE right click outside of any selection should clear it

2020-05-29 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20353] Hanging bug with multiprocessing + sqlite3 + tkinter (OS X 10.9 only)

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

hang.py uses the default multiprocessing start method, which was then 'fork'.  
It is now 'spawn' on macOS.  And there have been many other changes.  When I 
run the following from IDLE, it finishes immediately.

import multiprocessing, sqlite3
def hang():
   sqlite3.connect('/tmp/foo')
if __name__ == '__main__':
   multiprocessing.Pool(2).apply_async(hang, []).get(999)
print('done')

Unless I am missing something, this should be closed as 'out of date'.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39885] IDLE right click outside of any selection should clear it

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 9f3f70fd0b6922840b3ef8018c446a6c8ac74ece by Miss Islington (bot) 
in branch '3.9':
bpo-39885: Make IDLE context menu cut and copy work again (GH-18951)
https://github.com/python/cpython/commit/9f3f70fd0b6922840b3ef8018c446a6c8ac74ece


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39885] IDLE right click outside of any selection should clear it

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 3dcccd1186febe0bca5936aed750d55c68b78bcd by Miss Islington (bot) 
in branch '3.8':
bpo-39885: Make IDLE context menu cut and copy work again (GH-18951)
https://github.com/python/cpython/commit/3dcccd1186febe0bca5936aed750d55c68b78bcd


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39885] IDLE right click outside of any selection should clear it

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 80b6a05d38ce34ef543a2376b8132eef4ada67ce by Miss Islington (bot) 
in branch '3.7':
bpo-39885: Make IDLE context menu cut and copy work again (GH-18951)
https://github.com/python/cpython/commit/80b6a05d38ce34ef543a2376b8132eef4ada67ce


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39885] IDLE right click outside of any selection should clear it

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 97e4e0f53d6690db6b942678489716a30925b8af by Terry Jan Reedy in 
branch 'master':
bpo-39885: Make IDLE context menu cut and copy work again (GH-18951)
https://github.com/python/cpython/commit/97e4e0f53d6690db6b942678489716a30925b8af


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40819] IDLE: Test right-click and context menu tests

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Thanks for the report. I verified the context menu defect on Windows and Mac 
Mohave.  The menu and shortcuts still work on both.

This regression was introduced by the first PR for #39885.  I mistakenly 
delayed the fixer, PR-18951, to finish new tests. (On current Win10, disabled 
items are nearly black dark gray that I easily confuse with enabled black.  On 
Mac, the contrast between its light-medium gray and black is unmistakable.)

I polished the fixer and merged it, with only manual testing, to immediately 
fix the regression.  I re-labelled this issue to add an automated test that 
would have caught it.

--
title: Idle Context Menu Copy/Cut Grayed Out -> IDLE: Test right-click and 
context menu tests
versions: +Python 3.10, Python 3.7, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39885] IDLE right click outside of any selection should clear it

2020-05-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +19767
pull_request: https://github.com/python/cpython/pull/20523

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39885] IDLE right click outside of any selection should clear it

2020-05-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +19766
pull_request: https://github.com/python/cpython/pull/20522

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39885] IDLE right click outside of any selection should clear it

2020-05-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +19768
pull_request: https://github.com/python/cpython/pull/20524

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40821] os.getlogin() not working

2020-05-29 Thread Manickaraja Kumarappan


New submission from Manickaraja Kumarappan :

Hi,
We are using below command to get the original login user. In some cases folks 
sudo as different user and run commands. In some cases folks use switch to 
different user (su - <>) and then run command. In all cases we would like to 
get original user who logged into the terminal to run the command. We are using 
below command to get the same.

user=os.getlogin()

We got three RHEL linux systems with Python 3 and strangely on two of them this 
command works fine. However only on third system it is failing with below error

OSError: [Errno 6] No such device or address

Not sure if it is some o/s env setup which is causing this command to fail. Any 
pointers to run this command will be of great help so that we can pin point the 
issue.

Please note on faiing system if I do python and then run the command it works 
fine without any issue. However if it is triggered through our Scheduler 
(Control M) it is failing with above message.

Give below is the command how Scheduler triggers the job.

/bin/su - edwadm -c /bin/sh -x <>

Thanks
Manick.

--
components: Extension Modules
messages: 370336
nosy: Manickaraja Kumarappan
priority: normal
severity: normal
status: open
title: os.getlogin() not working
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40820] Mock Call attributes args and kwargs have no changeversion

2020-05-29 Thread Andrius Gobis


Change by Andrius Gobis :


--
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20353] Hanging bug with multiprocessing + sqlite3 + tkinter (OS X 10.9 only)

2020-05-29 Thread Erlend Egeberg Aasland


Change by Erlend Egeberg Aasland :


--
nosy: +erlendaasland

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24048] remove_module() needs to save/restore exception state

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 5aa40e587e63bcad22c7e196fc3559e2b5e0792b by Miss Islington (bot) 
in branch '3.7':
bpo-24048: Save the live exception during import.c's remove_module() (GH-13005)
https://github.com/python/cpython/commit/5aa40e587e63bcad22c7e196fc3559e2b5e0792b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24048] remove_module() needs to save/restore exception state

2020-05-29 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +19765
pull_request: https://github.com/python/cpython/pull/20521

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40741] Upgrade to SQLite v3.32.1 in Windows and macOS builds

2020-05-29 Thread Erlend Egeberg Aasland


Change by Erlend Egeberg Aasland :


--
keywords: +patch
pull_requests: +19764
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20520

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2020-05-29 Thread Steve Dower


Steve Dower  added the comment:

> import subprocess
> subprocess._cleanup = lambda: None

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40741] Upgrade to SQLite v3.32.1 in Windows and macOS builds

2020-05-29 Thread Erlend Egeberg Aasland


Erlend Egeberg Aasland  added the comment:

Thanks, Steve!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40741] Upgrade to SQLite v3.32.1 in Windows and macOS builds

2020-05-29 Thread Steve Dower


Steve Dower  added the comment:

I've checked and merged the cpython-source-deps update. (For everyone's info, I 
downloaded the sources myself and checked hashes/etc. as per normal, even 
though I eventually merged the PR and tagged it manually.)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40820] Mock Call attributes args and kwargs have no changeversion

2020-05-29 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 2.0 -> 3.0
pull_requests: +19763
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20519

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-05-29 Thread Barry A. Warsaw


Barry A. Warsaw  added the comment:

I don't think there's really anything more to do here.  I'm closing the issue.  
Let's open a new one if needed at some future point.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40820] Mock Call attributes args and kwargs have no changeversion

2020-05-29 Thread Andrius Gobis


New submission from Andrius Gobis :

In Python 3.8, the ``args`` and ``kwargs`` properties were added to Mock 
``Call`` objects (PR: https://github.com/python/cpython/pull/11807 Issue: 
https://bugs.python.org/issue21269).

However, the change did not add a change version to the documentation.

The ``Doc/library/unittest.mock.rst`` file should include the following in the 
``Call`` section:
```
The ``Doc/library/unittest.mock.rst`` file should include the following in the 
``Call`` section:
```
   .. versionchanged:: 3.8

  Added the ``args`` and ``kwargs`` properties to more easily access the 
positional args and keyword args within a ``Call``object tuple.
```

--
assignee: docs@python
components: Documentation
messages: 370330
nosy: Andrius Gobis, docs@python
priority: normal
severity: normal
status: open
title: Mock Call attributes args and kwargs have no changeversion
type: enhancement
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24048] remove_module() needs to save/restore exception state

2020-05-29 Thread Brett Cannon


Brett Cannon  added the comment:

Assigning to Nick to decide if he wants to backport it to 3.7 before it's no 
longer possible.

--
assignee:  -> ncoghlan

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24048] remove_module() needs to save/restore exception state

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2020-05-29 Thread Sylvain Corlay


Sylvain Corlay  added the comment:

Yes, I understand that.

I was wondering if there was a workaround that we could use to not drop 3.6
support right away!

On Fri, May 29, 2020, 19:29 STINNER Victor  wrote:

>
> STINNER Victor  added the comment:
>
> Sadly, 3.6 no longer get bug fixes, only security fixes:
> https://devguide.python.org/#status-of-python-branches
>
> --
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24165] Free list for single-digits ints

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23967] Make inspect.signature expression evaluation more powerful

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24391] Better repr for threading objects

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24391] Better repr for threading objects

2020-05-29 Thread Brett Cannon


Brett Cannon  added the comment:

Assigning to Serhiy in case he wants to finish this.

--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2020-05-29 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2020-05-29 Thread STINNER Victor


STINNER Victor  added the comment:

Sadly, 3.6 no longer get bug fixes, only security fixes:
https://devguide.python.org/#status-of-python-branches

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29882] Add an efficient popcount method for integers

2020-05-29 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +19762
pull_request: https://github.com/python/cpython/pull/20518

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40744] Explicitly drop support for SQLite version < 3.7.3

2020-05-29 Thread Erlend Egeberg Aasland


Change by Erlend Egeberg Aasland :


--
versions:  -Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2020-05-29 Thread Sylvain Corlay


Sylvain Corlay  added the comment:

Hello,

Is there a means to work around that bug for Python 3.6 ? It seems that the fix 
was only backported to 3.7, and we were not planning on dropping Python 3.6 
support quite yet in our project.

--
nosy: +sylvain.corlay

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40819] Idle Context Menu Copy/Cut Grayed Out

2020-05-29 Thread Bev


New submission from Bev :

In Idle on macOS, when I select text in either the Shell or a file, both copy 
and cut should be available in the context menu, but they are grayed out (not 
selectable).  Both copy and cut are still available via the menu bar Edit menu 
and keyboard shortcuts, c and x, respectively.  I tried this 
on macOS El Capitan 10.11.6 and Catalina 10.15.4

--
assignee: terry.reedy
components: IDLE
files: copy and cut missinf from context menu.png
messages: 370324
nosy: BevInTX, terry.reedy
priority: normal
severity: normal
status: open
title: Idle Context Menu Copy/Cut Grayed Out
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file49202/copy and cut missinf from context 
menu.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29882] Add an efficient popcount method for integers

2020-05-29 Thread Mark Dickinson


Mark Dickinson  added the comment:


New changeset 8bd216dfede9cb2d5bedb67f20a30c99844dbfb8 by Niklas Fiekas in 
branch 'master':
bpo-29882: Add an efficient popcount method for integers (#771)
https://github.com/python/cpython/commit/8bd216dfede9cb2d5bedb67f20a30c99844dbfb8


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29882] Add an efficient popcount method for integers

2020-05-29 Thread Mark Dickinson


Change by Mark Dickinson :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
versions: +Python 3.10 -Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40818] Run sys.__interactivehook__ for asyncio REPLs

2020-05-29 Thread Rémi Lapeyre

Change by Rémi Lapeyre :


--
keywords: +patch
pull_requests: +19761
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20517

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40818] Run sys.__interactivehook__ for asyncio REPLs

2020-05-29 Thread pmp-p


Change by pmp-p :


--
nosy: +pmpp

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38035] shared_semaphores cannot be shared across unrelated processes

2020-05-29 Thread Tal Einat


Tal Einat  added the comment:

Sorry this hasn't been followed up. I think this would best be discussed a bit 
on the Python-Ideas mailing list. Please send an email there suggesting this 
feature, and link to the discussion thread in the mailing list archives here.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40818] Run sys.__interactivehook__ for asyncio REPLs

2020-05-29 Thread Rémi Lapeyre

New submission from Rémi Lapeyre :

As a nice side effect, it gives the same completion than the standard shell.

--
components: Library (Lib)
messages: 370321
nosy: remi.lapeyre
priority: normal
severity: normal
status: open
title: Run sys.__interactivehook__ for asyncio REPLs
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40817] Document the asyncio shell

2020-05-29 Thread STINNER Victor


STINNER Victor  added the comment:

I understood that it was more added as an "experimental" feature. Not sure if 
it's still considered as experimental in Python 3.9?

A few more bugs have been fixed in the parser/compiler recently for async/await 
keywords.

--
nosy: +vstinner, yselivanov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40817] Document the asyncio shell

2020-05-29 Thread Rémi Lapeyre

New submission from Rémi Lapeyre :

Python 3.8 introduced `python -m asyncio` to run a Python shell with asyncio 
support. It had a note in What's New but was not documented, I think a note in 
https://docs.python.org/3/library/asyncio.html should be helpful.


This could be a good issue for a new contributor.

--
assignee: docs@python
components: Documentation
messages: 370319
nosy: docs@python, remi.lapeyre
priority: normal
severity: normal
status: open
title: Document the asyncio shell
versions: Python 3.10, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40734] /usr/bin surprisingly in sys.path under IDLE

2020-05-29 Thread E. Paine


E. Paine  added the comment:

This is simply because the Python interpreter is running from /usr/bin. This is 
shown if you call:

cp /usr/bin/idle idle
./idle

In this case, the Python interpreter is running from the directory you are in 
and /usr/bin shouldn't(!) show in the path (at least on my system...)

--
nosy: +epaine

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40814] Update typing module documentation based on PEP 585

2020-05-29 Thread Florian Dahlitz


Change by Florian Dahlitz :


--
nosy: +DahlitzFlorian

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40816] Add missed AsyncContextDecorator to contextlib

2020-05-29 Thread Андрей Казанцев

Change by Андрей Казанцев :


--
keywords: +patch
pull_requests: +19760
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20516

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40816] Add missed AsyncContextDecorator to contextlib

2020-05-29 Thread Андрей Казанцев

New submission from Андрей Казанцев :

I can use context manager as decorator but can't use async context manager. 
Seems it because didn't implemented AsyncContextDecorator class

--
components: Library (Lib)
messages: 370317
nosy: heckad
priority: normal
severity: normal
status: open
title: Add missed AsyncContextDecorator to contextlib
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40813] Output SyntaxError is not defective

2020-05-29 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

Indeed, the exception has the correct line number when compiling manually:


>>> try:
... compile('if __name__ == "__main__":\n   print("hello world"\n', 
'', 'exec')
... except SyntaxError as e:
... print(e.lineno)
...
2


but not when running `python3 main.py`:
  File "main.py", line 3

  ^
SyntaxError: unexpected EOF while parsing



I tried with all version of Python >= 3.6 and Python2 and they all exhibit the 
same behavior.

--
nosy: +remi.lapeyre
versions: +Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40813] Output SyntaxError is not defective

2020-05-29 Thread timofej


timofej  added the comment:

About of numbers of line. I tested on different files and i forget change 
number of line.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40813] Output SyntaxError is not defective

2020-05-29 Thread timofej


timofej  added the comment:

here attached file with SyntaxError

--
Added file: https://bugs.python.org/file49201/main.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40780] float.__format__() handles trailing zeros inconsistently in “general” format

2020-05-29 Thread Mark Dickinson


Mark Dickinson  added the comment:

Fixed in master and 3.9; not backporting to 3.8 or 3.7, as discussed.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40813] Output SyntaxError is not defective

2020-05-29 Thread Zachary Ware


Change by Zachary Ware :


--
type: compile error -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40780] float.__format__() handles trailing zeros inconsistently in “general” format

2020-05-29 Thread Mark Dickinson


Mark Dickinson  added the comment:


New changeset ad088ca5c6adc4a107411cad62b83f5c6e06b5ed by Miss Islington (bot) 
in branch '3.9':
bpo-40780: Fix failure of _Py_dg_dtoa to remove trailing zeros (GH-20435) 
(GH-20514)
https://github.com/python/cpython/commit/ad088ca5c6adc4a107411cad62b83f5c6e06b5ed


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40813] Output SyntaxError is not defective

2020-05-29 Thread Zachary Ware


Zachary Ware  added the comment:

Without some example code, there's no way to really tell what's going on here.  
In particular, it's suspicious that you're expecting an error on line 7 but 
seeing one on line 3.

Can you attach your `main.py` file to the issue?

--
components: +Interpreter Core -Build
nosy: +zach.ware

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40815] Multiprocessing docs don't describe thread-safety

2020-05-29 Thread Alan Briolat


Change by Alan Briolat :


--
nosy: +alan.briolat

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40815] Multiprocessing docs don't describe thread-safety

2020-05-29 Thread Ben


New submission from Ben :

The Multiprocessing docs specifically say that Queue is process- and thread- 
safe: 
https://docs.python.org/3/library/multiprocessing.html#exchanging-objects-between-processes.

But this information is not given for the various synchronisation primitives 
and such (Lock, Semaphore, Event, etc)

Are they thread-safe?  Should the docs say whether they are or are not?

--
assignee: docs@python
components: Documentation
messages: 370310
nosy: bjs, docs@python
priority: normal
severity: normal
status: open
title: Multiprocessing docs don't describe thread-safety

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40780] float.__format__() handles trailing zeros inconsistently in “general” format

2020-05-29 Thread Mark Dickinson


Mark Dickinson  added the comment:


New changeset 895c9c1d438367722f74f437fda96767d770662b by Mark Dickinson in 
branch 'master':
bpo-40780: Fix failure of _Py_dg_dtoa to remove trailing zeros (GH-20435)
https://github.com/python/cpython/commit/895c9c1d438367722f74f437fda96767d770662b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40780] float.__format__() handles trailing zeros inconsistently in “general” format

2020-05-29 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +19759
pull_request: https://github.com/python/cpython/pull/20514

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread sgaist


Change by sgaist :


--
keywords: +patch
nosy: +sgaist
nosy_count: 2.0 -> 3.0
pull_requests: +19758
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20149

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40784] test_sqlite: CheckFuncDeterministic() fails with SQLite 3.32

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 8fcc1474ef5d819c144309e048e71e6013544063 by Miss Islington (bot) 
in branch '3.9':
bpo-40784: Fix sqlite3 deterministic test (GH-20448)
https://github.com/python/cpython/commit/8fcc1474ef5d819c144309e048e71e6013544063


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40784] test_sqlite: CheckFuncDeterministic() fails with SQLite 3.32

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 00a240bf7f95bbd220f1cfbf9eb58484a5f9681a by Miss Islington (bot) 
in branch '3.8':
bpo-40784: Fix sqlite3 deterministic test (GH-20448)
https://github.com/python/cpython/commit/00a240bf7f95bbd220f1cfbf9eb58484a5f9681a


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39359] zipfile: add missing "pwd: expected bytes, got str" exception message

2020-05-29 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
nosy: +serhiy.storchaka, twouters

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40814] Update typing module documentation based on PEP 585

2020-05-29 Thread Matúš Valo

New submission from Matúš Valo :

In documentation of typing module there is no mention of new possibilities 
based on PEP 585. Moreover, should be old constructs like  List, Dict,... 
marked as deprecated?

--
assignee: docs@python
components: Documentation
messages: 370306
nosy: Matúš Valo, docs@python, gvanrossum, levkivskyi
priority: normal
severity: normal
status: open
title: Update typing module documentation based on PEP 585
type: behavior
versions: Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40784] test_sqlite: CheckFuncDeterministic() fails with SQLite 3.32

2020-05-29 Thread STINNER Victor


STINNER Victor  added the comment:

Python 3.8 and Python 3.9 are also affected, I created backports.

Python 3.7 is not affected: deterministic parameter was added to Python 3.8.
https://docs.python.org/dev/library/sqlite3.html#sqlite3.Connection.create_function

--
versions: +Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40784] test_sqlite: CheckFuncDeterministic() fails with SQLite 3.32

2020-05-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +19757
pull_request: https://github.com/python/cpython/pull/20513

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1

2020-05-29 Thread Erlend Egeberg Aasland


Erlend Egeberg Aasland  added the comment:

FYI, the #if in line 1563 in `Modules/_sqlite/connection.c` is wrong, but the 
comment five lines below is correct:
https://github.com/python/cpython/blob/e56ce3ce865cb5539cdedbeae54eaa11ec563922/Modules/_sqlite/connection.c#L1563-L1589

`sqlite3_errstr()` was introduced in 3.7.15, so the #if comparison operator 
should have been '>=', not '>'.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40784] test_sqlite: CheckFuncDeterministic() fails with SQLite 3.32

2020-05-29 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 6.0 -> 7.0
pull_requests: +19756
pull_request: https://github.com/python/cpython/pull/20512

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-05-29 Thread STINNER Victor


STINNER Victor  added the comment:

> bpo-39573: Convert Py_TYPE() to a static inline function (GH-20290)

This change broke two projects:

* Cython: 
https://github.com/cython/cython/commit/d8e93b332fe7d15459433ea74cd29178c03186bd
 (FIXED)
* immutables: https://github.com/MagicStack/immutables/issues/46

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25872] multithreading traceback KeyError when modifying file

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 852e8a7ed4d3d48e5c1c8120cfc932eb6a84bb8e by Miss Islington (bot) 
in branch '3.7':
[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007) 
(GH-20092)
https://github.com/python/cpython/commit/852e8a7ed4d3d48e5c1c8120cfc932eb6a84bb8e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40805] Can no longer patch flask.g

2020-05-29 Thread Ruairidh MacLeod


Change by Ruairidh MacLeod :


--
nosy: +rkm

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25872] multithreading traceback KeyError when modifying file

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset b86636bff4b29ce23c886df079715dd951f13a07 by Andrew Kuchling in 
branch '3.8':
[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007) 
(GH-20092)
https://github.com/python/cpython/commit/b86636bff4b29ce23c886df079715dd951f13a07


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25872] multithreading traceback KeyError when modifying file

2020-05-29 Thread miss-islington


Change by miss-islington :


--
pull_requests: +19755
pull_request: https://github.com/python/cpython/pull/20511

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39040] Wrong attachement filename when mail mime header was too long

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset a6ae02d7e91cfe63c9b65b803ae24a40d2864bc0 by Miss Islington (bot) 
in branch '3.9':
bpo-39040: Fix parsing of email mime headers with whitespace between 
encoded-words. (gh-17620)
https://github.com/python/cpython/commit/a6ae02d7e91cfe63c9b65b803ae24a40d2864bc0


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39040] Wrong attachement filename when mail mime header was too long

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 6381ee077d3c69d2f947f7bf87d8ec76e0caf189 by Miss Islington (bot) 
in branch '3.8':
bpo-39040: Fix parsing of email mime headers with whitespace between 
encoded-words. (gh-17620)
https://github.com/python/cpython/commit/6381ee077d3c69d2f947f7bf87d8ec76e0caf189


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39040] Wrong attachement filename when mail mime header was too long

2020-05-29 Thread miss-islington


miss-islington  added the comment:


New changeset 5f977e09e8a29dbd5972ad79c4fd17a394d1857f by Miss Islington (bot) 
in branch '3.7':
bpo-39040: Fix parsing of email mime headers with whitespace between 
encoded-words. (gh-17620)
https://github.com/python/cpython/commit/5f977e09e8a29dbd5972ad79c4fd17a394d1857f


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2020-05-29 Thread Deomid Ryabkov


Deomid Ryabkov  added the comment:

is there a workaround for earlier Python versions that does not involve 
patching the standard library?

--
nosy: +rojer

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-05-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Since the default has been different on different systems for as long as I 
remember, I see no reason to break code on *nix in the name of 'consistency'.  
Asyncio also works different on different systems.

Aside from that idea, is there anything else left for this issue?  Especially 
at this time as opposed to some possible future when macOS changes?

--
nosy: +terry.reedy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >