[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6240

___
Python tracker 

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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6239

___
Python tracker 

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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread Gregory P. Smith

Gregory P. Smith  added the comment:


New changeset 397f1b28c4a12e3b3ed59a89599eabc457412649 by Gregory P. Smith in 
branch 'master':
bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537)
https://github.com/python/cpython/commit/397f1b28c4a12e3b3ed59a89599eabc457412649


--

___
Python tracker 

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



[issue991266] Cookie.py does not correctly quote Morsels

2018-04-19 Thread Alex Gaynor

Alex Gaynor  added the comment:

None of the above :-) I'd expect the last one, but with quoting.

You should not be able to set fields in a cookie by injection.

--

___
Python tracker 

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



[issue991266] Cookie.py does not correctly quote Morsels

2018-04-19 Thread Berker Peksag

Berker Peksag  added the comment:

>>> from http.cookies import SimpleCookie
>>> c = SimpleCookie()
>>> c['name'] = 'value'
>>> c['name']['comment'] = '\n'
>>> c['name']['expires'] = '123; path=.example.invalid'
'Set-Cookie: name=value; Comment="\\012"; expires=123; path=.example.invalid'

What do you think that the snippet above should return?

'Set-Cookie: name=value; Comment="\\012"; expires=Fri, 20 Apr 2018 02:03:13 
GMT; path=.example.invalid'

or

'Set-Cookie: name=value; Comment="\\012"; expires=Fri, 20 Apr 2018 02:03:13 
GMT; path=".example.invalid"'

or

'Set-Cookie: name=value; Comment="\\012"; expires=123; 
path=".example.invalid"'

?

I don't think the path attribute (or all of them) needs to be quoted 
unconditionally. Looking at https://tools.ietf.org/html/rfc6265#section-4.1.1, 
it looks like quoting for cookie-value is optional.

Is there a use case or examples from other programming languages you can share 
with us?

--
versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5

___
Python tracker 

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



[issue991266] Cookie.py does not correctly quote Morsels

2018-04-19 Thread Mark Williams

Mark Williams  added the comment:

This patch only quotes the Comment attribute, and the rest of the code only 
quotes attributes if they're of the expected type.  Consider Expires:

>>> from http.cookies import SimpleCookie
>>> c = SimpleCookie()
>>> c['name'] = 'value'
>>> c['name']['comment'] = '\n'
>>> c['name']['expires'] = 123
>>> c.output()
'Set-Cookie: name=value; Comment="\\012"; expires=Fri, 20 Apr 2018 02:03:13 GMT'
>>> c['name']['expires'] = '123; path=.example.invalid'
'Set-Cookie: name=value; Comment="\\012"; expires=123; path=.example.invalid'

Here's the offending line:

https://github.com/python/cpython/blob/b87c1c92fc93c5733cd3d8606ab2301ca6ba208f/Lib/http/cookies.py#L415

Why not quote all attribute values?

--
nosy: +Mark.Williams
versions: +Python 3.4

___
Python tracker 

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



[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-19 Thread Andrés Delfino

Change by Andrés Delfino :


--
pull_requests: +6238

___
Python tracker 

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



[issue33316] PyThread_release_lock always fails

2018-04-19 Thread Ivan Pozdeev

Change by Ivan Pozdeev :


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

___
Python tracker 

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



[issue33316] PyThread_release_lock always fails

2018-04-19 Thread Ivan Pozdeev

New submission from Ivan Pozdeev :

In win7 x64 debug mode with thread_debug=1, every PyThread_release_lock() is 
accompanied with a message on stderr:

Could not PyThread_release_lock() error: 0

--
components: Interpreter Core, Windows
messages: 315497
nosy: Ivan.Pozdeev, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: PyThread_release_lock always fails
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue991266] Cookie.py does not correctly quote Morsels

2018-04-19 Thread Alex Gaynor

Alex Gaynor  added the comment:

Berker your patch looks good to me.

Convert it to a PR and then merge?

--
nosy: +alex

___
Python tracker 

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



[issue29319] Embedded 3.6.0 distribution cannot run pyz files

2018-04-19 Thread Barry A. Warsaw

Change by Barry A. Warsaw :


--
nosy: +barry

___
Python tracker 

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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

I was fixing strict aliasing problems in the code and I thought the union was 
cleaner than a bunch of casts.

--

___
Python tracker 

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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

My PR is almost a revert of 
https://github.com/python/cpython/commit/186122ead26f3ae4c2bc9f6715d2a29d339fdc5a
 so I'm curious what your motivation behind that change to use the union was?

--

___
Python tracker 

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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

I'm going to see what appveyor says with the VLA code on the PR.  I've updated 
it to use char[].

--

___
Python tracker 

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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

By my reading on how strict aliasing works, I think just changing the 
int64_t[1] or int32_t[1] in my PR to char[1] will work as char is always 
assumed to alias?

the clang ubsan i was testing my PR against wasn't warning me about strict 
aliasing. :/

--

___
Python tracker 

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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Your PR is basically what we did prior to 
186122ead26f3ae4c2bc9f6715d2a29d339fdc5a. The problem is that may run afoul of 
different UB, namely strict aliasing. (Though, I suppose we could probably also 
avoid that by making dk_indices char[].)

If VLAs work with whatever MSVC we're using, it seems fine to add it to PEP 7. 
At worst, we can #ifdef sanitizer it.

--

___
Python tracker 

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



[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2018-04-19 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6236

___
Python tracker 

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



[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2018-04-19 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6235

___
Python tracker 

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



[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2018-04-19 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

FYI - The test suite minus some of the crazier tests (multiprocessing) that the 
makefile uses today is the recommended workload and is effectively what linux 
distros I've looked at use.

It is a myth that the specific application workload matters a great deal for 
building a Python PGO interpreter.  The layer of indirection provided by an 
interpreter makes it easier.  All you really need is code that exercises the 
major important C speed paths.  The eval loop, unicode internals, long bignum 
internals, marshal, re, pickle, json, xml, and cdecimal are all well exercised 
by running the test suite.

A specific Python application's actual logic is not going to exercise the 
internals of those in a meaningfully different manner.

Performance experiments bear this out.

--

___
Python tracker 

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



[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2018-04-19 Thread Gregory P. Smith

Change by Gregory P. Smith :


--
pull_requests: +6234
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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread Gregory P. Smith

Change by Gregory P. Smith :


--
pull_requests: +6233
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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

notably, C99 variable length arrays syntax is not mentioned as allowed in 
https://www.python.org/dev/peps/pep-0007/.  If we want to use VLAs, that should 
be clarified.  But both our solutions should work with [1] instead of [] which 
is allowed by the ubsan checker.

it means keeping the annoying "- Py_MEMBER_SIZE(...)" of the array on all size 
calculations (but because of that the patch is smaller).

--
Added file: 
https://bugs.python.org/file47543/maybe-less-horrible-no-vla-gps02.patch

___
Python tracker 

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



[issue33312] ubsan undefined behavior sanitizer flags struct _dictkeysobject (PyDictKeysObj)

2018-04-19 Thread INADA Naoki

Change by INADA Naoki :


--
nosy: +inada.naoki

___
Python tracker 

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



[issue33315] Allow queue.Queue to be used in type annotations

2018-04-19 Thread Semyon Proshev

New submission from Semyon Proshev :

from queue import Queue

a: Queue[int]

This code throws a TypeError in runtime.
But its pyi stub allows to use it in such a way 
(https://github.com/python/typeshed/blob/master/stdlib/3/queue.pyi)

I'd suggest to update classes in queue module to allow them to be used in type 
annotations.

--
components: Library (Lib)
messages: 315488
nosy: sproshev
priority: normal
severity: normal
status: open
title: Allow queue.Queue to be used in type annotations
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue31463] test_multiprocessing_fork hangs test_subprocess

2018-04-19 Thread Miro Hrončok

Miro Hrončok  added the comment:

Sorry, I've pressed the button before finishing the thought.

...so this might or might not be relevant to what you observe with master and 
originally reported.

--

___
Python tracker 

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



[issue31463] test_multiprocessing_fork hangs test_subprocess

2018-04-19 Thread Miro Hrončok

Miro Hrončok  added the comment:

This started to bother us in Fedora for various Python versions, so chances are 
something changed on the system level.

However for us it seams test_multiprocessing_fork hangs by itself, so this 
might or might not be relevant to 


# python3.7 -m test.regrtest test_multiprocessing_fork test_subprocess
Run tests sequentially
0:00:00 load avg: 1.16 [1/2] test_multiprocessing_fork
/usr/lib64/python3.7/multiprocessing/semaphore_tracker.py:55: UserWarning: 
semaphore_tracker: process died unexpectedly, relaunching.  Some semaphores 
might leak.
  warnings.warn('semaphore_tracker: process died unexpectedly, '
Exception in thread Thread-26:
Traceback (most recent call last):
  File "/usr/lib64/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
  File "/usr/lib64/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.7/multiprocessing/resource_sharer.py", line 139, in 
_serve
signal.pthread_sigmask(signal.SIG_BLOCK, range(1, signal.NSIG))
  File "/usr/lib64/python3.7/signal.py", line 60, in pthread_sigmask
sigs_set = _signal.pthread_sigmask(how, mask)
ValueError: signal number 32 out of range

(hangs)

^CProcess Process-184:
Traceback (most recent call last):
  File "/usr/lib64/python3.7/multiprocessing/process.py", line 297, in 
_bootstrap
self.run()
  File "/usr/lib64/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.7/test/_test_multiprocessing.py", line 3328, in 
child_access
w = conn.recv()
  File "/usr/lib64/python3.7/multiprocessing/connection.py", line 251, in recv
return _ForkingPickler.loads(buf.getbuffer())
  File "/usr/lib64/python3.7/multiprocessing/connection.py", line 960, in 
rebuild_connection
fd = df.detach()
  File "/usr/lib64/python3.7/multiprocessing/resource_sharer.py", line 57, in 
detach
with _resource_sharer.get_connection(self._id) as conn:
  File "/usr/lib64/python3.7/multiprocessing/resource_sharer.py", line 87, in 
get_connection
c = Client(address, authkey=process.current_process().authkey)
  File "/usr/lib64/python3.7/multiprocessing/connection.py", line 498, in Client
answer_challenge(c, authkey)
  File "/usr/lib64/python3.7/multiprocessing/connection.py", line 741, in 
answer_challenge
message = connection.recv_bytes(256) # reject large message
  File "/usr/lib64/python3.7/multiprocessing/connection.py", line 216, in 
recv_bytes
buf = self._recv_bytes(maxlength)
  File "/usr/lib64/python3.7/multiprocessing/connection.py", line 407, in 
_recv_bytes
buf = self._recv(4)
  File "/usr/lib64/python3.7/multiprocessing/connection.py", line 379, in _recv
chunk = read(handle, remaining)
KeyboardInterrupt
Warning -- multiprocessing.process._dangling was modified by 
test_multiprocessing_fork
  Before: <_weakrefset.WeakSet object at 0x7f4b63782dd8>
  After:  <_weakrefset.WeakSet object at 0x7f4b637821d0> 
Warning -- threading._dangling was modified by test_multiprocessing_fork
  Before: <_weakrefset.WeakSet object at 0x7f4b63782780>
  After:  <_weakrefset.WeakSet object at 0x7f4b63782da0> 

Test suite interrupted by signal SIGINT.
2 tests omitted:
test_multiprocessing_fork test_subprocess

Total duration: 1 min 35 sec
Tests result: INTERRUPTED

# python3.7 --version
Python 3.7.0b3


# python3.6 -m test.regrtest test_multiprocessing_fork test_subprocess
Run tests sequentially
0:00:00 load avg: 1.84 [1/2] test_multiprocessing_fork
/usr/lib64/python3.6/multiprocessing/semaphore_tracker.py:55: UserWarning: 
semaphore_tracker: process died unexpectedly, relaunching.  Some semaphores 
might leak.
  warnings.warn('semaphore_tracker: process died unexpectedly, '
Exception in thread Thread-20:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/multiprocessing/resource_sharer.py", line 139, in 
_serve
signal.pthread_sigmask(signal.SIG_BLOCK, range(1, signal.NSIG))
  File "/usr/lib64/python3.6/signal.py", line 60, in pthread_sigmask
sigs_set = _signal.pthread_sigmask(how, mask)
ValueError: signal number 32 out of range

(hangs)

^CProcess Process-178:
Traceback (most recent call last):
...
KeyboardInterrupt
Warning -- multiprocessing.process._dangling was modified by 
test_multiprocessing_fork
  Before: <_weakrefset.WeakSet object at 0x7f1873917c88>
  After:  <_weakrefset.WeakSet object at 0x7f188516d978> 
Warning -- threading._dangling was modified by test_multiprocessing_fork
  Before: <_weakrefset.WeakSet object at 0x7f1873917d68>
  After:  <_weakrefset.WeakSet object at 0x7f1873917e48> 

Test suite interrupted by signal SIGINT.
2 tests omitted:
test_multiprocessing_fork test_subprocess

Total duration: 51 sec

[issue24882] ThreadPoolExecutor doesn't reuse threads until #threads == max_workers

2018-04-19 Thread INADA Naoki

INADA Naoki  added the comment:

Why not just remove TODO comment?
Thread is cheap, but not zero-cost.

--
nosy: +inada.naoki

___
Python tracker 

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



[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2018-04-19 Thread Thomas Wouters

Change by Thomas Wouters :


--
pull_requests: +6232

___
Python tracker 

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



[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-04-19 Thread Thomas Wouters

Change by Thomas Wouters :


--
pull_requests: +6231

___
Python tracker 

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



[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2018-04-19 Thread Nathaniel Smith

Change by Nathaniel Smith :


--
pull_requests: +6230

___
Python tracker 

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



[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2018-04-19 Thread Joachim Wagner

Joachim Wagner  added the comment:

The readme in 3.6.5 has a section on PGO but the sentence "If ran,
``make profile-opt`` will do several steps." can be misunderstood that one has 
to run this command instead of "make" after "configure --enable-optimizations". 
Furthermore, a 2015 post suggests that most Linux distributions use a different 
workload than the one provided for much better results. The readme should talk 
about this, either clarifying that this issue has been resolved or making 
recommendations for the workload. (I understand that licence incompatibilities 
or the size of the workload may be reasons for not including the recommended 
workload in the source distribution.)

--
nosy: +jwagner

___
Python tracker 

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



[issue33189] pygettext doesn't work with f-strings

2018-04-19 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


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



[issue33189] pygettext doesn't work with f-strings

2018-04-19 Thread miss-islington

miss-islington  added the comment:


New changeset 6f870935c2e024cbd1cc379f85e6a66d7711dcc7 by Miss Islington (bot) 
in branch '3.6':
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)
https://github.com/python/cpython/commit/6f870935c2e024cbd1cc379f85e6a66d7711dcc7


--

___
Python tracker 

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



[issue33189] pygettext doesn't work with f-strings

2018-04-19 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6229

___
Python tracker 

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



[issue33189] pygettext doesn't work with f-strings

2018-04-19 Thread miss-islington

miss-islington  added the comment:


New changeset a4fb580f701df5bf07ce569a4f43abfb05c92759 by Miss Islington (bot) 
in branch '3.7':
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)
https://github.com/python/cpython/commit/a4fb580f701df5bf07ce569a4f43abfb05c92759


--
nosy: +miss-islington

___
Python tracker 

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



[issue33189] pygettext doesn't work with f-strings

2018-04-19 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6227

___
Python tracker 

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



[issue33189] pygettext doesn't work with f-strings

2018-04-19 Thread miss-islington

Change by miss-islington :


--
pull_requests: +6228

___
Python tracker 

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



[issue33189] pygettext doesn't work with f-strings

2018-04-19 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset 69524821a87251b7aee966f6e46b3810ff5aaa64 by Serhiy Storchaka in 
branch 'master':
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)
https://github.com/python/cpython/commit/69524821a87251b7aee966f6e46b3810ff5aaa64


--

___
Python tracker 

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



[issue33308] parser.st2list(..., col_info=True) triggers a SystemError

2018-04-19 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


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



[issue33308] parser.st2list(..., col_info=True) triggers a SystemError

2018-04-19 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset d988c0b6bd1c5965fdc51428119e9104211e688f by Serhiy Storchaka in 
branch '2.7':
[2.7] bpo-33308: Fix a crash in the parser module when convert an ST object. 
(GH-6519) (GH-6532)
https://github.com/python/cpython/commit/d988c0b6bd1c5965fdc51428119e9104211e688f


--

___
Python tracker 

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