[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2019-04-26 Thread Eric V. Smith


Eric V. Smith  added the comment:

I'm not sure where (or if) it's defined in the Python docs, but in PEP 3101 
it's in 
https://www.python.org/dev/peps/pep-3101/#simple-and-compound-field-names: "It 
should be noted that the use of 'getitem' within a format string is much more 
limited than its conventional usage. In the above example, the string 'name' 
really is the literal string 'name', not a variable named 'name'. The rules for 
parsing an item key are very simple. If it starts with a digit, then it is 
treated as a number, otherwise it is used as a string.".

--

___
Python tracker 

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



[issue36669] weakref proxy doesn't support the matrix multiplication operator

2019-04-26 Thread Mark Dickinson


Mark Dickinson  added the comment:


New changeset 7abb6c05afd02c17c7a941b64db5756b161b3cf7 by Mark Dickinson in 
branch 'master':
bpo-36669: add matmul support to weakref.proxy (GH-12932)
https://github.com/python/cpython/commit/7abb6c05afd02c17c7a941b64db5756b161b3cf7


--

___
Python tracker 

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



[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 75120d2205af086140e5e4e2dc620eb19cdf9078 by Victor Stinner in 
branch 'master':
bpo-36719: regrtest always detect uncollectable objects (GH-12951)
https://github.com/python/cpython/commit/75120d2205af086140e5e4e2dc620eb19cdf9078


--

___
Python tracker 

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



[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

Oops, I used the wrong bpo number in my PR 12960 and PR 12961:

New changeset 4d29983185bc12ca685a1eb3873bacb8a7b67416 by Victor Stinner in 
branch 'master':
bpo-36725: regrtest: add TestResult type (GH-12960)
https://github.com/python/cpython/commit/4d29983185bc12ca685a1eb3873bacb8a7b67416

New changeset 3cde440f20a9db75fb2c4e65e8e4d04a53216a2d by Victor Stinner in 
branch 'master':
bpo-36725: Refactor regrtest multiprocessing code (GH-12961)
https://github.com/python/cpython/commit/3cde440f20a9db75fb2c4e65e8e4d04a53216a2d

--

___
Python tracker 

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



[issue36725] Reference leak regression with Python3.8a3

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

Sorry, the two commits are related to bpo-36719 not to this issue.

--

___
Python tracker 

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



[issue36732] test_asyncio: test_huge_content_recvinto() fails randomly

2019-04-26 Thread STINNER Victor


New submission from STINNER Victor :

Failure on AMD64 Windows7 SP1 3.x:
https://buildbot.python.org/all/#/builders/40/builds/2053

...
test_start_unix_server_1 
(test.test_asyncio.test_server.SelectorStartServerTests) ... skipped 'no Unix 
sockets'
test_create_connection_sock 
(test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests) ... ok
test_huge_content (test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests) 
... ok
test_huge_content_recvinto 
(test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests) ... ERROR
test_sock_accept (test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests) 
... 
C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py:1627: 
ResourceWarning: unclosed 
  gc.collect()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_sock_client_fail 
(test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests) ... ok
test_sock_client_ops 
(test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests) ... ok
test_unix_sock_client_ops 
(test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests) ... skipped 'No 
UNIX Sockets'
test_create_connection_sock 
(test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ok
test_huge_content (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) 
... ok
test_huge_content_recvinto 
(test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ok
...

==
ERROR: test_huge_content_recvinto 
(test.test_asyncio.test_sock_lowlevel.ProactorEventLoopTests)
--
Traceback (most recent call last):
  File 
"C:\buildbot.python.org\3.x.kloth-win64\build\lib\asyncio\windows_events.py", 
line 474, in finish_recv
return ov.getresult()
OSError: [WinError 64] The specified network name is no longer available

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_asyncio\test_sock_lowlevel.py",
 line 225, in test_huge_content_recvinto
self.loop.run_until_complete(
  File 
"C:\buildbot.python.org\3.x.kloth-win64\build\lib\asyncio\base_events.py", line 
590, in run_until_complete
return future.result()
  File 
"C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_asyncio\test_sock_lowlevel.py",
 line 211, in _basetest_huge_content_recvinto
nbytes = await self.loop.sock_recv_into(sock, buf)
  File 
"C:\buildbot.python.org\3.x.kloth-win64\build\lib\asyncio\proactor_events.py", 
line 551, in sock_recv_into
return await self._proactor.recv_into(sock, buf)
  File 
"C:\buildbot.python.org\3.x.kloth-win64\build\lib\asyncio\windows_events.py", 
line 760, in _poll
value = callback(transferred, key, ov)
  File 
"C:\buildbot.python.org\3.x.kloth-win64\build\lib\asyncio\windows_events.py", 
line 478, in finish_recv
raise ConnectionResetError(*exc.args)
ConnectionResetError: [WinError 64] The specified network name is no longer 
available

--
components: Tests, asyncio
messages: 340892
nosy: asvetlov, vstinner, yselivanov
priority: normal
severity: normal
status: open
title: test_asyncio: test_huge_content_recvinto() fails randomly
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



[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +12890

___
Python tracker 

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



[issue11871] test_default_timeout() of test_threading.BarrierTests failure: BrokenBarrierError

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

The test still fails randomly:
https://buildbot.python.org/all/#/builders/3/builds/2469

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

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



[issue36731] Add example to priority queue

2019-04-26 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

This doesn't make any sense.  None of those operations are defined for the 
heapq module, nor is there a maxsize.  The heapq usage notes are about the 
general concept of ways to implement priority queues.  I suspect your 
suggestion is conflated with queue.PriorityQueue() which does have put(), 
get(), and maxsize.

As for the queue docs, I don't think more examples are needed. IMO it would 
just clutter that part of the docs.

--
nosy: +rhettinger
resolution:  -> rejected
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



[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +12891

___
Python tracker 

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



[issue36725] Reference leak regression with Python3.8a3

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

I wrote an unit test to be able to re-use regrtest memory leak hunter:

import unittest

def simpleFunction59():
a = 1
try:
return a
finally:
return a

class Tests(unittest.TestCase):
def test_bug(self):
for _ in range(10):
simpleFunction59()


I confirm that there is a leak:

$ ./python -m test -R 3:3 test_bug
...
test_bug leaked [10, 10, 10] references, sum=30
...

--

___
Python tracker 

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



[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 837acc1957d86ca950433f5064fd06d09b57d23b by Victor Stinner in 
branch 'master':
bpo-36719: Fix regrtest re-run (GH-12964)
https://github.com/python/cpython/commit/837acc1957d86ca950433f5064fd06d09b57d23b


--

___
Python tracker 

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



[issue36669] weakref proxy doesn't support the matrix multiplication operator

2019-04-26 Thread Mark Dickinson


Mark Dickinson  added the comment:

Now fixed for 3.8. Although this was an oversight, I'm erring on the side of 
regarding this as a new feature for 3.8 (and I think the omission is unlikely 
to bite anyone for Python 3.7 or 3.6), so I wouldn't recommend backporting this.

Thanks for the report!

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



[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +12892

___
Python tracker 

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



[issue13611] Integrate ElementC14N module into xml.etree package

2019-04-26 Thread Stefan Behnel


Stefan Behnel  added the comment:

Turns out, it was not that easy. :-/

ElementTree lacks prefixes in its tree model, so they would have to be either 
registered globally (via register_namespace()) or come from the parser. I tried 
the latter since that is the most generic way when the input is serialised 
already. See issue 36673 and issue 36676 for extensions to the parser target 
interface that this implementation relies on. Note that this is a new 
implementation, only marginally based off the original ElementC14N 
implementation.

I only implemented C14N 2.0 (which lxml also does not have, but I'll add it 
there). I got most of the official test cases working, including prefix 
rewriting and prefix resolution in tag and attribute content.

https://www.w3.org/TR/xml-c14n2-testcases/

What's not supported?

The original namespace prefixes may not be preserved when namespaces are 
declared with multiple prefixes. In that case, one of them is picked. That's 
difficult to implement in ET because the parser resolves and discards prefixes. 
I think that's acceptable, as long as the prefix selection is deterministic.

Also, qname rewriting in XPath expressions that appear in XML text is not 
currently supported. I guess that's a bit of an esoteric feature which can 
still be added later if it's needed.

While testing, I noticed that ET and cET behave differently when it comes to 
resolving default attributes from an internal DTD subset. The parser in cET 
does it, ET does not. That should probably get aligned. For now, the tests hack 
around that difference.

Comments and reviews welcome.

--
assignee: serhiy.storchaka -> scoder

___
Python tracker 

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



[issue13611] Integrate ElementC14N module into xml.etree package

2019-04-26 Thread Stefan Behnel


Change by Stefan Behnel :


--
keywords: +patch
pull_requests: +12893
stage: needs patch -> patch review

___
Python tracker 

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



[issue13611] Integrate ElementC14N module into xml.etree package

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

> Comments and reviews welcome.

Review of what? There is no PR attached to this issue.

--
nosy: +vstinner

___
Python tracker 

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



[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 00db7c73af4f60df61e9df87cde7401c3ed9df69 by Victor Stinner in 
branch 'master':
bpo-36719: regrtest closes explicitly WindowsLoadTracker (GH-12965)
https://github.com/python/cpython/commit/00db7c73af4f60df61e9df87cde7401c3ed9df69


--

___
Python tracker 

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



[issue14568] HP-UX local libraries not included

2019-04-26 Thread Michael Osipov


Michael Osipov <1983-01...@gmx.net> added the comment:

Please close because there is actually no /usr/local on HP-UX, System V does 
use /opt, not /usr/local.

--

___
Python tracker 

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



[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +12894

___
Python tracker 

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



[issue36356] Failure to build with address sanitizer

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +12895

___
Python tracker 

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



[issue34060] regrtest: log "CPU usage" on Windows

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 1069d38fa18f3a4f97c2e358bcb3b82cab1c051b by Victor Stinner in 
branch '3.7':
[3.7] bpo-36719: sync regrtest with master branch (GH-12967)
https://github.com/python/cpython/commit/1069d38fa18f3a4f97c2e358bcb3b82cab1c051b


--

___
Python tracker 

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



[issue36733] make regen-all doesn't work in subfolder: No module named Parser.pgen

2019-04-26 Thread Miro Hrončok

New submission from Miro Hrončok :

When I attempt to build CPython from a subfolder (as we do in Fedora) make 
regen-all dies with:

  python3.8 -m Parser.pgen ../../Grammar/Grammar \
../../Grammar/Tokens \
../../Include/graminit.h.new \
../../Python/graminit.c.new
  /usr/bin/python3.8: No module named Parser.pgen

To reproduce, run:

  $ rm -rf build && mkdir -p build/mybuild && (cd build/mybuild && 
../../configure && make regen-all)

This is probably a regression, as it works in the 3.7 branch.

Setting PYTHON_FOR_REGEN="python3" (python3.7 on my system) doesn't make a 
difference:

  python3 -m Parser.pgen ../../Grammar/Grammar \
../../Grammar/Tokens \
../../Include/graminit.h.new \
../../Python/graminit.c.new
  /usr/bin/python3: No module named Parser.pgen


build/mybuild/Parser exists but it is empty directory.

Setting PYTHON_FOR_REGEN="PYTHOINPATH= python3" workarounds 
the issue.

On branch 3.7 (3076a3e0d1), build/mybuild/Parser is also empty, but the 
make-regen populates it.

I'll bisect.

--
components: Build
messages: 340902
nosy: hroncok, vstinner
priority: normal
severity: normal
status: open
title: make regen-all doesn't work in subfolder: No module named Parser.pgen
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



[issue36725] Reference leak regression with Python3.8a3

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 1069d38fa18f3a4f97c2e358bcb3b82cab1c051b by Victor Stinner in 
branch '3.7':
[3.7] bpo-36719: sync regrtest with master branch (GH-12967)
https://github.com/python/cpython/commit/1069d38fa18f3a4f97c2e358bcb3b82cab1c051b


--

___
Python tracker 

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



[issue36733] make regen-all doesn't work in subfolder: No module named Parser.pgen

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

regen-keyword is recent: bpo-36143.

regen-grammar has been modified to use Parser.pgen in bpo-35808.

--

___
Python tracker 

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



[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 1069d38fa18f3a4f97c2e358bcb3b82cab1c051b by Victor Stinner in 
branch '3.7':
[3.7] bpo-36719: sync regrtest with master branch (GH-12967)
https://github.com/python/cpython/commit/1069d38fa18f3a4f97c2e358bcb3b82cab1c051b


--

___
Python tracker 

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



[issue36733] make regen-all doesn't work in subfolder: No module named Parser.pgen

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
nosy: +pablogsal

___
Python tracker 

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



[issue36727] python 3.6+ docs use ul tags instead of ol tags

2019-04-26 Thread Eric V. Smith


Eric V. Smith  added the comment:

Agreed on closing this and discussing it at issue 34717.

(I can't get bpo to accept this because of the comma in "Oliver Too, Eh?", so 
I'm removing them temporarily. Will try to add back, but might fail.)

--
nosy: +eric.smith -Oliver Too, Eh?
resolution:  -> duplicate
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



[issue36733] make regen-all doesn't work in subfolder: No module named Parser.pgen

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +12896
stage:  -> patch review

___
Python tracker 

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



[issue36733] make regen-all doesn't work in subfolder: No module named Parser.pgen

2019-04-26 Thread Miro Hrončok

Miro Hrončok  added the comment:

1f24a719e7be5e49b876a5dc7daf21d01ee69faa

--

___
Python tracker 

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



[issue36733] make regen-all doesn't work in subfolder: No module named Parser.pgen

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 06d04e77ca36133e82bf6c363c09ba82e07a9c75 by Victor Stinner in 
branch 'master':
bpo-36733: Fix PYTHONPATH for make regen-add (GH-12969)
https://github.com/python/cpython/commit/06d04e77ca36133e82bf6c363c09ba82e07a9c75


--

___
Python tracker 

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



[issue36727] python 3.6+ docs use ul tags instead of ol tags

2019-04-26 Thread Eric V. Smith


Eric V. Smith  added the comment:

I notified "Oliver Too, Eh?" by email directly about being dropped from this 
issue due to the comma in the username. 

xtreak: you seemed to be able to add a message while keeping "Oliver Too, Eh?" 
on the nosy list: any hints?

--

___
Python tracker 

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



[issue36734] Modules/faulthandler.c does not compile on HP-UX due to bpo-35214/1584a0081500d35dc93ff88e5836df35faf3e3e2

2019-04-26 Thread SilentGhost


Change by SilentGhost :


--
nosy: +vstinner

___
Python tracker 

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



[issue36356] Failure to build with address sanitizer

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 4cb525a1f0cba152d1da61e531f2ad5db633120a by Victor Stinner in 
branch 'master':
bpo-36356: pymain_exit_error() only call pymain_free() for exit (GH-12968)
https://github.com/python/cpython/commit/4cb525a1f0cba152d1da61e531f2ad5db633120a


--

___
Python tracker 

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



[issue36727] python 3.6+ docs use ul tags instead of ol tags

2019-04-26 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

> xtreak: you seemed to be able to add a message while keeping "Oliver Too, 
> Eh?" on the nosy list: any hints?

I was also not able to add a comment through bpo so I replied by email which 
seemed to work. I guess registration should have validated the username to not 
allow it.

--
superseder:  -> docs: disable numbered sections for stdlib in html

___
Python tracker 

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



[issue36733] make regen-all doesn't work in subfolder: No module named Parser.pgen

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


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



[issue36356] Failure to build with address sanitizer

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

See also bpo-36724 "Clear _PyRuntime at exit".

--

___
Python tracker 

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



[issue36733] make regen-all doesn't work in subfolder: No module named Parser.pgen

2019-04-26 Thread STINNER Victor

STINNER Victor  added the comment:

Thanks for your bug report Miro Hrončok. The fix will be part of the next 
Python 3.8 alpha release:

"3.8.0 alpha 4: Monday, 2019-04-29"
https://www.python.org/dev/peps/pep-0569/

--

___
Python tracker 

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



[issue36727] python 3.6+ docs use ul tags instead of ol tags

2019-04-26 Thread Eric V. Smith


Eric V. Smith  added the comment:

I created https://github.com/python/bugs.python.org/issues/35 about the comma 
in the username.

--

___
Python tracker 

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



[issue36734] Modules/faulthandler.c does not compile on HP-UX due to bpo-35214/1584a0081500d35dc93ff88e5836df35faf3e3e2

2019-04-26 Thread Michael Osipov


New submission from Michael Osipov <1983-01...@gmx.net>:

> /opt/aCC/bin/aCC -Ae  -O  -I./Include/internal  -I. -I./Include 
> -I/opt/ports/include -I/opt/ports/include  -DPy_BUILD_CORE_BUILTIN  -c 
> ./Modules/faulthandler.c -o Modules/faulthandler.o
> "./Modules/faulthandler.c", line 1373: error #2029: expected an expression
>   stack_t current_stack = {};

The fix is trivial:
> stack_t current_stack = {0};

Can also provide a PR for that.

--
components: Build
messages: 340913
nosy: gregory.p.smith, michael-o
priority: normal
severity: normal
status: open
title: Modules/faulthandler.c does not compile on HP-UX due to 
bpo-35214/1584a0081500d35dc93ff88e5836df35faf3e3e2
type: compile error
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



[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-26 Thread Xavier de Gaye


Xavier de Gaye  added the comment:

Please revert the change in Makefile.pre.in made by changeset 
8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b as it breaks builds made out of the 
source tree (OST). The error message is:

make: *** No rule to make target 
'/path_to_build_dir/Misc/python-config.sh', needed by 'python-config'.  Stop.

When the source tree has been already built at least once and 'make clean' is 
run in the source tree (as required for building OST), the OST build does not 
fail but incorrectly uses the stale python-config.sh from the source tree as 
'make clean' does not remove Misc/python-config.sh.

--
nosy: +xdegaye

___
Python tracker 

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



[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-26 Thread Jeroen Demeyer


Jeroen Demeyer  added the comment:

> The long term goal is to support multiple interpreter instances per process:
> Eric Snow's PEP 554 "Multiple Interpreters in the Stdlib"
> https://www.python.org/dev/peps/pep-0554/

Sorry, but I don't see the relation between this issue and PEP 554. It seems to 
me that the PEP is about making subinterpreters available from pure Python 
(instead of only at the C level). It doesn't say anything about the 
*implementation* of subinterpreters, which is what this issue is about.

So I'm still missing the bigger picture where this issue fits in.

> The current implementation of CPython leaks dozens of *Python* objects at 
> exit.

That may be an issue to be fixed, but again I don't see the relation with this 
issue.

--

___
Python tracker 

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



[issue36727] python 3.6+ docs use ul tags instead of ol tags

2019-04-26 Thread Zachary Ware


Change by Zachary Ware :


--
nosy: +Oliver Too, Eh?

___
Python tracker 

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



[issue36727] python 3.6+ docs use ul tags instead of ol tags

2019-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

I was able to re-add Oliver Too, Eh? via numeric user ID (31174), but I've also 
removed the comma from the login name to avoid further issues.  Oliver, you 
should be able to log in using the login name "Oliver Too Eh?"; if you have any 
issues please email me directly (zach at python dot org).

--
assignee: docs@python -> 
nosy: +zach.ware -docs@python

___
Python tracker 

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



[issue36725] Reference leak regression with Python3.8a3

2019-04-26 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
assignee:  -> nanjekyejoannah

___
Python tracker 

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



[issue36725] Reference leak regression with Python3.8a3

2019-04-26 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Let me work on this.

--
nosy: +nanjekyejoannah

___
Python tracker 

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



[issue36714] Tweak doctest 'example' regex to allow a leading ellipsis in 'want' line

2019-04-26 Thread Brian Skinn


Brian Skinn  added the comment:

Ahh, this *will* break some doctests: any with blank PS2 lines in the 'source' 
portion without the explicit trailing space:

1] >>> def foo():
2] ...print("bar")
3] ...
4] ...print("baz")
5] >>> foo()
6] bar
7] baz

If line 3 contains exactly "..." instead of starting with "... ", it will not 
be recognized as a PS2 line and the example will be parsed as:

'source'
>>> def foo():
...print("bar")

'want'
...
...print("baz")

IMO this isn't a *terribly* unreasonable tradeoff, though -- it would enable 
the specific ellipsis use-case as in the OP, at the cost of breaking some 
doctests, which shouldn't(?) be in any critical paths?

--

___
Python tracker 

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



[issue25810] Python 3 documentation for eval is incorrect

2019-04-26 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

See also PEP570 and issue 36540.

--
nosy: +cheryl.sabella

___
Python tracker 

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



[issue36725] Reference leak regression with Python3.8a3

2019-04-26 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

@ victor, I have tried your example but I can not reproduce the leak as you did 
above. May be am missing something?

I used some other tool and got this summary when I was investigating this:

types |   # objects |   total size
= | === | 
  

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



[issue36725] Reference leak regression with Python3.8a3

2019-04-26 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

I am able to reproduce it finally.

Run tests sequentially
0:00:00 load avg: 0.21 [1/1] test_bug
beginning 6 repetitions
123456
..
test_bug leaked [10, 10, 10] references, sum=30
test_bug failed

== Tests result: FAILURE ==

1 test failed:
test_bug

Total duration: 220 ms
Tests result: FAILURE

--

___
Python tracker 

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



[issue36734] Modules/faulthandler.c does not compile on HP-UX due to bpo-35214/1584a0081500d35dc93ff88e5836df35faf3e3e2

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

Michael Osipov: Can you please try if attached PR 12970 fix the compilation on 
HP-UX?

--

___
Python tracker 

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



[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +12898

___
Python tracker 

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



[issue36734] Modules/faulthandler.c does not compile on HP-UX due to bpo-35214/1584a0081500d35dc93ff88e5836df35faf3e3e2

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +12897
stage:  -> patch review

___
Python tracker 

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



[issue36704] logging.FileHandler currently hardcodes errors='strict'

2019-04-26 Thread Alan Jenkins


Alan Jenkins  added the comment:

Oops. I assumed logging.raiseExceptions == True (the default) actually raises 
exceptions, but it doesn't.  It prints the exception to stderr and continues.

E.g. traditional UNIX daemons run with stderr connected to /dev/null.  Consider 
during development / debugging, or if you overlooked setting raiseExceptions 
altogether, or maybe you made the same mistake I did (because the 
reference-style documentation doesn't explain this behaviour).  My above 
proposal was to escape encoding errors only when raiseExceptions == False.  So 
when raiseExceptions == True, we might still lose log messages, and the 
UnicodeEncodeError might be printed to /dev/null i.e. also silently discarded.  
This suggests my proposal was trying to be too clever.

I guess the simplest approach is for emit() to handle encode errors by using 
'backslashreplace' to log the message AND calling handleError().  

Instead of the original code sketch, change StreamHandler.emit() to

try:
# issue 35046: merged two stream.writes into one.
msg = self.format(record) + self.terminator
stream = self.stream
try:
stream.write(msg)
self.flush()
except UnicodeEncodeError:
# Try to log something, even pure mojibake might provide a clue
encoding = getattr(stream, 'encoding', None)
if encoding:
bytes = msg.encode(encoding, errors='backslashreplace')
msg = bytes.decode(encoding)
stream.write(msg)
self.flush()
# Call handleError() as normal
raise
except RecursionError:  # See issue 36272
raise
except Exception:
self.handleError(record)

(And I'd like a similar change for SyslogHandler at least).

--

___
Python tracker 

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



[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

I tested manually and I confirm that my latest change fix the compilation out 
of the source tree. I close again the issue. Sorry for the regression, it's now 
fixed.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

> Please revert the change in Makefile.pre.in made by changeset 
> 8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b as it breaks builds made out of the 
> source tree (OST). The error message is:
>
> make: *** No rule to make target 
> '/path_to_build_dir/Misc/python-config.sh', needed by 'python-config'.  Stop.
> (...)

Oh. I tried to "fix" the Makefile but it seems like I misunderstood how 
Misc/python-config.sh is handled. This file is generated from 
Misc/python-config.sh.in.

I wrote 12971 to revert the change but also add a comment to explain the 
"magic" behind this file.

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

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



[issue31525] require sqlite3_prepare_v2

2019-04-26 Thread Berker Peksag


Berker Peksag  added the comment:


New changeset ad0daf5b374dc43540d4ffcf32ca30e5c5147b90 by Berker Peksag 
(Charles Pigott) in branch 'master':
bpo-31525: Increase minimum sqlite version number check (GH-12923)
https://github.com/python/cpython/commit/ad0daf5b374dc43540d4ffcf32ca30e5c5147b90


--

___
Python tracker 

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



[issue36722] In debug build, load also C extensions compiled in release mode or compiled using the stable ABI

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +12900

___
Python tracker 

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



[issue31525] require sqlite3_prepare_v2

2019-04-26 Thread miss-islington


Change by miss-islington :


--
pull_requests: +12899

___
Python tracker 

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



[issue31525] require sqlite3_prepare_v2

2019-04-26 Thread miss-islington


miss-islington  added the comment:


New changeset 967f14ec2aff908b7f9e84e93aa60f2a34e2ca96 by Miss Islington (bot) 
in branch '3.7':
bpo-31525: Increase minimum sqlite version number check (GH-12923)
https://github.com/python/cpython/commit/967f14ec2aff908b7f9e84e93aa60f2a34e2ca96


--
nosy: +miss-islington

___
Python tracker 

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



[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 01f073f5e43329547471c846c37e23157255e30a by Victor Stinner in 
branch 'master':
bpo-21536: Revert Makefile change on python-config (GH-12971)
https://github.com/python/cpython/commit/01f073f5e43329547471c846c37e23157255e30a


--

___
Python tracker 

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



[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:

Jeroen Demeyer:
> Sorry, but I don't see the relation between this issue and PEP 554.

The long term plan for PEP 554 is to support having one GIL per interpreter for 
best performances. The GIL lives in _PyRuntime.

It's not just about the GIL. Currently, the gc module stores its state into 
_PyRuntime. It's wrong to share a single gc state between two interpreters: 
each interpreter should have its own "namespace" completely isolated from the 
other namespaces. For example, _PyRuntime.gc.garbage is a Python list: each 
interpreter should have its own list.

My PR 12934 is only a first step to prepare ceval.c for that.

Said differently, if I understood correctly, each interpreter must have its own 
_PyRuntime instance.

Maybe tomorrow, we will keep a single _PyRuntime instance, *but* my work is 
needed to identify the relationship between the current implementation of 
Python and _PyRuntime.

--

___
Python tracker 

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



[issue25545] email parsing docs: clarify that only ASCII strings are supported

2019-04-26 Thread R. David Murray

R. David Murray  added the comment:

This is one of the infelicities of the translation of the old API to python3: 
'get_payload(decode=True)' actually means 'give me the bytes version of this 
payload", which in this case is the utf-8, which is what you got.  
get_payload() means "give me the payload as a string without doing CTE 
decoding".In a sort of accident-of-translation this turns out to mean "give 
me the unicode" in this particular case.  If the payload had been base64 
encoded, you'd have gotten a unicode string containing the base64 characters.

Which I grant you is all very confusing.

For a more consistent API, use the new one:

>>> import email.policy
>>> m = email.message_from_bytes(msg_bytes, policy=email.policy.default)
>>> bytes(m)
b'MIME-Version: 1.0\nContent-Type: text/plain;\n 
charset=utf-8\nContent-Transfer-Encoding: 8bit\nContent-Disposition: 
attachment;\n filename="camper_store.csv"\n\nBeyo\xc4\x9flu-\xc4\xb0st'

>>> m.get_content()
'Beyoğlu-İst'

Here we don't even pretend that you have any use for the encoded version, 
either CTE encoding or binary encoding: get_content gives you the "fully 
decoded" payload (decoded from CTE *and* decoded to unicode).

--

___
Python tracker 

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



[issue36722] In debug build, load also C extensions compiled in release mode or compiled using the stable ABI

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 404606974051c5ec093312aa57cf1bcbc52e1d85 by Victor Stinner in 
branch 'master':
bpo-36722: Add What's New entry for debug ABI (GH-12957)
https://github.com/python/cpython/commit/404606974051c5ec093312aa57cf1bcbc52e1d85


--

___
Python tracker 

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



[issue34717] docs: disable numbered sections for stdlib in html

2019-04-26 Thread Oliver Too, Eh?


Oliver Too, Eh?  added the comment:

As someone who is only now making the transition from Python 2 to Python 3, 
losing the numbering in the documentation on the Python Standard Library slows 
down my navigation when looking through the high-level contents.  

Given that the position of sections hasn't drifted much between versions, being 
able to treat the sections like chapters of a book affords faster access when I 
can quickly identify my position in the page without having to look at the 
scrollbar, provided my operating system even displays one when I am not 
actively scrolling.  Knowing that there are roughly 40 top-level sections in 
the library means I can find something I know to be in the middle much more 
quickly from its number (plus or minus version drift) and those of its local 
surroundings than by its overall position in the page.  Moreover, losing this 
feature can only be mitigated by search or "find in page" provided I remember 
modules and their contents by name, correctly spelled.

I appreciate the overall cleaner appearance as sections become heavily nested 
that is addressed by this enhancement.  I do however respectfully disagree with 
the choice of doing this at the expense of top level ordering.

--
nosy: +Oliver Too Eh?

___
Python tracker 

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



[issue34155] email.utils.parseaddr mistakenly parse an email

2019-04-26 Thread Jamesie Pic


Jamesie Pic  added the comment:

Given the situation, could raising a SecurityWarning and a DeprecationWarning 
fix this issue ?

--
nosy: +Jamesie Pic

___
Python tracker 

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



[issue25545] email parsing docs: clarify that only ASCII strings are supported

2019-04-26 Thread immerrr again


immerrr again  added the comment:

Oh, wow, confusing indeed, but in historical context it makes slightly more 
sense.

Thank you for the explanation!

--

___
Python tracker 

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



[issue14014] codecs.StreamWriter.reset contract not fulfilled

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue20587] sqlite3 converter not being called

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue36715] Dictionary initialization

2019-04-26 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
keywords: +patch
pull_requests: +12901
stage:  -> patch review

___
Python tracker 

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



[issue1708316] doctest work with Windows PyReadline

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue14953] Reimplement subset of multiprocessing.sharedctypes using memoryview

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue8502] support plurals in pygettext

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue36722] In debug build, load also C extensions compiled in release mode or compiled using the stable ABI

2019-04-26 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 6d13e5b35ba7165db3f38fccdd6e1e5283f96a74 by Victor Stinner in 
branch 'master':
bpo-36722: Don't define ALT_SOABI for Py_TRACE_REFS build (GH-12973)
https://github.com/python/cpython/commit/6d13e5b35ba7165db3f38fccdd6e1e5283f96a74


--

___
Python tracker 

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



[issue12600] Add example of using load_tests to parameterise Test Cases

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue18119] urllib.FancyURLopener does not treat URL fragments correctly

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue14945] Setup & Usage documentation for selected stdlib modules

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue18493] make profile-opt fails with pre-existing python2.7 in path

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue19895] Cryptic error when subclassing multiprocessing classes

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue12957] mmap.resize changes memory address of mmap'd region

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue8350] Document lack of support for keyword arguments in C functions

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue18131] Tkinter Variables require a proper master

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue16425] minidom replaceChild(new_child, old_child) removes new_child even if in another document

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue16066] Truncated POST data in CGI script on Windows 7

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue16726] expat ParseFile expects bytes, not string

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue19558] Provide Tcl/Tk linkage information for extension module builds

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue1669539] Add os.path.isrelative() and improve ntpath.isabs()

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue18165] Add 'unexpected_type' to TypeError

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue18060] Updating _fields_ of a derived struct type yields a bad cif

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue9937] _winreg.EnumValue causes MemoryError

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue14750] Tkinter application doesn't run from source build on Windows

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue19725] Richer stat object

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue36722] In debug build, load also C extensions compiled in release mode or compiled using the stable ABI

2019-04-26 Thread STINNER Victor


Change by STINNER Victor :


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



[issue15371] test_cmd_line_script should include namespace package tests

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue11176] give more meaningful argument names in argparse documentation

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue15856] inspect.getsource(SomeClass) doesn't show @decorators

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue17667] Windows: build with "build_pgo.bat -2" fails to optimize python.dll

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue19482] _pickle build warnings on Fedora 19

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



  1   2   >