[issue36872] passing negative values through modules

2019-05-10 Thread Steven D'Aprano


Steven D'Aprano  added the comment:

David, I'm pretty sure that SilentGhost is correct. You are misreading the 
error message: it has nothing to do with the negative index.

The problem is that your `insert_value` function returns None, not the list. I 
believe that what you have done is tested the function once, with a positive 
index and then tried it again with a negative index:

# this works fine, the first time
str_list4 = list_function.insert_value(str_list4, 's', 1)
# but fails the second time
str_list4 = list_function.insert_value(str_list4, 's', -1)

The reason is that functions returns None by default, so you have replaced 
str_list4 with None. Then on the second call to the function, this line fails:

for index in my_list:

because my_list is None. When Python gives you an error message, PLEASE READ IT 
because the interpreter does not lie, it knows what caused the failure:

TypeError: 'NoneType' object is not iterable

Python is used by hundreds of thousands of people and they probably would have 
noticed a severe, fundamental flaw like the inability to pass negative numbers 
to other modules by now. As a beginner, 99.99% of the "bugs" you find will be 
in your own code, not the language.

(It has been said that the difference between a beginner and an expert is that 
the beginner assumes every bug is the language's fault, and an expert knows 
that nearly every bug is his own fault.)

As SilentGhost says, this list is not a help-desk. Please don't follow up with 
extra questions here, I won't answer. If you want help or advice, please 
subscribe to the tutor mailing list

https://mail.python.org/mailman/listinfo/tutor

where there will be plenty of people happy to help.

If you still believe that your code is correct, and you've found a bug that has 
escaped thousands of full-time Python programmers (it does happen...) then 
please take the time to read this:

http://www.sscce.org/

and follow the advice given there. It's written for Java, not Python ,but the 
advice applies to any language.

Thank you.

--
nosy: +steven.daprano

___
Python tracker 

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



[issue36345] Deprecate Tools/scripts/serve.py in favour of python -m http.server -d

2019-05-10 Thread Berker Peksag


Berker Peksag  added the comment:

> I looked at other examples: they are nice but far from a "real application".

You can use the same argument for pretty much every example in the stdlib 
documentation :)

wsgiref is a low level module, users should use projects like WebOb instead. 
Also, a complete example would need to contain basic routing and middleware 
support (which is not easy to implement correctly)

> Would you mind to elaborate? I don't understand what you mean by "naming 
> convention" here, sorry.

For example, the response() callable in the example is explicitly documented as 
start_response() in PEP :

https://www.python.org/dev/peps/pep-/#the-start-response-callable

You can read PEP  for more details.

> Do you mean that app() must not return FileWrapper? How do you return file 
> content in that case?
> Maybe FileWrapper API should be clarified? It's surprising to read Python 3.8 
> mentioning compatibility with Python 2.1 :-)

The whole point of the API was to support both __getitem__ and __iter__ 
protocols at the same time without breaking user code. I've already deprecated 
the support for __getitem__ protocol (84a13fbda0d79789e3c9efcc9f64752261ce1e8d) 
because it wasn't working as expected (it ignores its 'index' argument)

Its only valid use case is to read a file chunk by chunk by using its blksize 
argument, but there are much better ways to achieve the same thing (use 
os.sendfile() or nginx :))

> Which kind of exceptions do you expect? The example checks if the file exists 
> for example.

I'm talking about exceptions that can be raised by the application code, such 
as the one that I've mentioned (i.e. mimetypes) in my earlier comment.

Sorry, but it's not really a good example to put into documentation and it 
would be much better if we could save our bikeshedding bandwidth to other 
issues :)

--

___
Python tracker 

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



[issue32604] Expose the subinterpreters C-API in Python for testing use.

2019-05-10 Thread Jamie Stribling


Change by Jamie Stribling :


--
components: +Documentation -Interpreter Core

___
Python tracker 

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



[issue36676] Make ET.XMLParser target aware of namespace prefixes

2019-05-10 Thread Stefan Behnel


Stefan Behnel  added the comment:


New changeset e9a465f3ea22c61e05ffe7b44a69102b25f57db4 by Stefan Behnel in 
branch 'master':
bpo-36676: Update what's new document. (#13226)
https://github.com/python/cpython/commit/e9a465f3ea22c61e05ffe7b44a69102b25f57db4


--

___
Python tracker 

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



[issue33071] Document that PyPI no longer requires 'register'

2019-05-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +13145

___
Python tracker 

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



[issue33071] Document that PyPI no longer requires 'register'

2019-05-10 Thread Nick Coghlan


Nick Coghlan  added the comment:


New changeset 1b4abcf302ff2c8f4d4881294510d48ba5186b53 by Nick Coghlan (Kojo 
Idrissa) in branch 'master':
bpo-33071: remove outdated PyPI docs (GH-13087)
https://github.com/python/cpython/commit/1b4abcf302ff2c8f4d4881294510d48ba5186b53


--
nosy: +ncoghlan

___
Python tracker 

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



[issue33071] Document that PyPI no longer requires 'register'

2019-05-10 Thread miss-islington


miss-islington  added the comment:


New changeset 069a5b48334a795d3abe3a512dd41aad7a532a73 by Miss Islington (bot) 
in branch '3.7':
bpo-33071: remove outdated PyPI docs (GH-13087)
https://github.com/python/cpython/commit/069a5b48334a795d3abe3a512dd41aad7a532a73


--
nosy: +miss-islington

___
Python tracker 

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



[issue36872] passing negative values through modules

2019-05-10 Thread David Collins

David Collins  added the comment:

So what your saying is that python is unable to pass a negative number between 
modules and you don’t think that this is an issue . 

Sent from Mail for Windows 10

From: Terry J. Reedy
Sent: Friday, 10 May 2019 7:21 PM
To: coldy...@gmail.com
Subject: [issue36872] passing negative values through modules

Terry J. Reedy  added the comment:

David, the tracker 'component' is intended to be, for bug reports, the 
component of Python that you think has a bug.  When you run your code with IDLE 
and you get an exception displayed, that almost certainly means that IDLE is 
working as intended: it ran your code with python and displayed the error 
reported by python.  The fact that you got the same error when running without 
IDLE (and this is a good thing to try) demonstrates that the error is not from 
IDLE.

--
assignee: terry.reedy -> 

___
Python tracker 

___

--

___
Python tracker 

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



[issue36872] passing negative values through modules

2019-05-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

David, the tracker 'component' is intended to be, for bug reports, the 
component of Python that you think has a bug.  When you run your code with IDLE 
and you get an exception displayed, that almost certainly means that IDLE is 
working as intended: it ran your code with python and displayed the error 
reported by python.  The fact that you got the same error when running without 
IDLE (and this is a good thing to try) demonstrates that the error is not from 
IDLE.

--
assignee: terry.reedy -> 

___
Python tracker 

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



[issue36872] passing negative values through modules

2019-05-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Robert, when posting to this tracker by email, please remove the quote of the 
previous post.  It duplicates the post itself.

I said exactly what I said, which explained why marking the issue for IDLE was 
a mistake.  (The same error is a weekly occurrence, by beginners, on 
stackoverflow.com.)

That aside, you are not passing values through or between modules.  You are 
passing arguments to a function, which is an object separate from both modules.

I ran your code and got the expected error-free output:

Question 5
['i', 't'] s -1

Steven explained the bug in your code which makes the last print act different 
from what you probably expect.  Reread what he wrote until you understand.  If 
I do what he suggested you must have done, I get the error you got.

--

___
Python tracker 

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



[issue36874] Support CDATA by xml.etree.(c)ElementTree

2019-05-10 Thread Pierre van de Laar


New submission from Pierre van de Laar :

I would like to add information to CDATA in an Xml Tree.
Turns out I am not the only one: 
https://stackoverflow.com/questions/174890/how-to-output-cdata-using-elementtree


Can the library be extended to also support CDATA (similar to Comment)?
Saves a lot of hacking...

--
components: XML
messages: 342067
nosy: Pierre van de Laar
priority: normal
severity: normal
status: open
title: Support CDATA by xml.etree.(c)ElementTree
type: enhancement
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



[issue36874] Support CDATA by xml.etree.(c)ElementTree

2019-05-10 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +scoder

___
Python tracker 

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



[issue36869] Avoid warning of unused variables

2019-05-10 Thread Inada Naoki


Inada Naoki  added the comment:


New changeset a2fedd8c910cb5f5b9bd568d6fd44d63f8f5cfa5 by Inada Naoki (Emmanuel 
Arias) in branch 'master':
bpo-36869: fix warning of unused variables (GH-13182)
https://github.com/python/cpython/commit/a2fedd8c910cb5f5b9bd568d6fd44d63f8f5cfa5


--
nosy: +inada.naoki

___
Python tracker 

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



[issue36872] passing negative values through modules

2019-05-10 Thread David Collins

David Collins  added the comment:

Sorry for being so abrupt you are correct . 
The code I was working from was a university professors and not my own, I 
understood better thanks steve. I wasn’t passing a return value yet and the 
professors work was overwriting the list. 

I do apologise. 
Thanks for you support.

--

___
Python tracker 

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



[issue29254] Documentation Error

2019-05-10 Thread kev levrone


kev levrone  added the comment:

The nevents argument determines the size of eventlist.  When nevents is zero, 
kevent() will return immediately even if there is a timeout specified unlike 
select(2). https://goo.gl/KyvnZF

--
nosy: +kevlevrone

___
Python tracker 

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



[issue29254] Documentation Error

2019-05-10 Thread SilentGhost


Change by SilentGhost :


--
Removed message: https://bugs.python.org/msg342070

___
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

2019-05-10 Thread Josh Rosenberg


Josh Rosenberg  added the comment:

I've seen far too many cases where Python code targeting Linux intentionally 
uses the COW benefits of fork for multiprocessing to think it would be a good 
idea to change the default start method there without *some* sort of 
deprecation period.

--
nosy: +josh.r

___
Python tracker 

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



[issue36874] Support CDATA by xml.etree.(c)ElementTree

2019-05-10 Thread Stefan Behnel


Stefan Behnel  added the comment:

PR welcome. This is how lxml implements it:
https://lxml.de/api.html#cdata

Tests are here:
https://github.com/lxml/lxml/blob/1a2db33aa8b9619c1caf407167567d5cca0b9019/src/lxml/tests/test_etree.py#L1692-L1749

I guess it won't look perfectly the same in ElementTree in the end, but it 
might be enough to implement a string wrapper class (or even str subclass?), 
and then maybe special-case it in the serialiser (probably needed for the 
escaping). However, anything that relieves the serialiser from doing special 
work for this exceptional case might be a good idea.

--
stage:  -> needs patch
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



[issue36875] argparse does not ship with translations

2019-05-10 Thread Carmen Bianca Bakker


New submission from Carmen Bianca Bakker :

Although argparse contains translatable strings, translations for those strings 
do not ship with Python. This means that any program that uses argparse must 
separately translate argparse, which is a lot of duplicated work.

Moreover, if argparse is translated downstream, it is only translated against a 
single version of Python. If a user uses a different version of Python, there 
is no guarantee that the strings (and thus the translations) will be the same.

Shipping translations for argparse together with Python would solve this issue.

As a caveat, the translations cannot be in `/usr/share/locale` or equivalent. 
Users may have multiple versions of Python installed, so there would be a 
namespace conflict.

--
messages: 342073
nosy: carmenbianca
priority: normal
severity: normal
status: open
title: argparse does not ship with translations
type: enhancement

___
Python tracker 

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



[issue34600] python3 regression ElementTree.iterparse() unable to capture comments

2019-05-10 Thread Stefan Behnel


Stefan Behnel  added the comment:

I think this is resolved by issue 36673 (Py3.8). Please try it in the just 
released alpha4.

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



[issue36875] argparse does not ship with translations

2019-05-10 Thread Carmen Bianca Bakker


Carmen Bianca Bakker  added the comment:

I have created a prototype for the proposed fix here:

https://github.com/carmenbianca/argparse

I'm not a regular Python contributor, so I simply copied argparse.py out of Lib 
and started working on my own copy.

The changes are, all things considered, not very big. But it would add a 
`locale` directory in Lib, which I'm not sure is okay or not.

There would also need to be a mechanism in the build process that puts the 
compiled MO files in Lib/locale/*language*/LC_MESSAGES/argparse.mo.

--

___
Python tracker 

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



[issue36843] AIX build fails with failure to get random numbers

2019-05-10 Thread Robert Boehne


Robert Boehne  added the comment:

It doesn't look good:

robb@nepal:/raid/checkouts-raid/robb/nepal$ xlc_r -q64 -O0 -g
-qlanglvl=extc1x -o urandom urandom.c

robb@nepal:/raid/checkouts-raid/robb/nepal$ ./urandom

open O_RDONLY failed

open O_RDONLY | O_CLOEXEC failed

robb@nepal:/raid/checkouts-raid/robb/nepal$ uname -a

AIX nepal 1 7 00FA7FB84C00

robb@nepal:/raid/checkouts-raid/robb/nepal$

On Thu, May 9, 2019 at 6:21 PM STINNER Victor 
wrote:

>
> STINNER Victor  added the comment:
>
> Robert Boehne: pyurandom() uses _Py_open_noraise("/dev/urandom", O_RDONLY)
> which uses O_CLOEXEC if available. If this flag available? Does it work?
>
> Please try to build attached urandom.c.
>
> Example on my Fedora 29:
>
> open O_RDONLY succeeded
> read(16) -> 16
> open O_RDONLY | O_CLOEXEC succeeded
> read(16) -> 16
>
> --
> Added file: https://bugs.python.org/file48322/urandom.c
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue36843] AIX build fails with failure to get random numbers

2019-05-10 Thread Robert Boehne


Robert Boehne  added the comment:

I wonder if there's anyone with AIX 7 who can attempt to reproduce this.  We 
have another AIX machine, but it is down for the moment.  I would like to 
eliminate a problem on this machine as the cause.

--

___
Python tracker 

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



[issue36601] signals can be caught by any thread

2019-05-10 Thread Gregory P. Smith


Change by Gregory P. Smith :


--
resolution:  -> fixed
stage: patch review -> commit review
status: open -> closed
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



[issue24263] unittest cannot load module whose name starts with Unicode

2019-05-10 Thread Toshio Kuratomi

Toshio Kuratomi  added the comment:

>From the description, I think the bug is that filenames that *begin* with 
>non-ascii are not searched for tests.  Looking at the test_dir.tar.gz 
>contents,  this is the test case that I'd use:

Broken:

$ python3 -m unittest discover -vv -p '*.py'
test_走 (tests試驗.Test試驗.試驗) ... ok
test_走 (tests試驗.test試驗.試驗) ... ok

--
Ran 2 tests in 0.000s

OK

Corrected:
$ /srv/python/cpython/python -m unittest discover -vv -p '*.py'
test_走 (tests試驗.Test試驗.試驗) ... ok
test_走 (tests試驗.test試驗.試驗) ... ok
test_走 (tests試驗.試驗.試驗) ... ok

--
Ran 3 tests in 0.000s

OK


isidentifier() is used because filenames to be discovered must be importable 
and thus valid identifiers:  
https://docs.python.org/3/library/unittest.html#test-discovery

--

___
Python tracker 

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



[issue36512] future_factory argument for Thread/ProcessPoolExecutor

2019-05-10 Thread Antoine Pitrou


Antoine Pitrou  added the comment:

I'd like to know about the use case too :-)

--

___
Python tracker 

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



[issue36512] future_factory argument for Thread/ProcessPoolExecutor

2019-05-10 Thread Antoine Pitrou


Change by Antoine Pitrou :


--
nosy: +tomMoral

___
Python tracker 

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



[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-05-10 Thread Antoine Pitrou


Antoine Pitrou  added the comment:


New changeset 351c67416ba4451eb3928fa0b2e933c2f25df1a3 by Antoine Pitrou 
(Jeroen Demeyer) in branch 'master':
bpo-35983: skip trashcan for subclasses (GH-11841)
https://github.com/python/cpython/commit/351c67416ba4451eb3928fa0b2e933c2f25df1a3


--

___
Python tracker 

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



[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:

THe _scproxy.c compile error is a separate issue.  The problem arises in an 
Apple-supplied include file and there are many reports on the web of clang vs 
gcc differences like this.  I'm not sure what we could or should do about it 
other than forcing _scproxy to always be compiled with clang or figure out a 
way to avoid use of that include file hierarchy.

--

___
Python tracker 

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



[issue32592] Drop support of Windows Vista in Python 3.8

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue36858] f-string '=' debugging output needs to be documented

2019-05-10 Thread Mariatta Wijaya


Mariatta Wijaya  added the comment:

Perhaps it can be added under Tutorial?

https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals

--

___
Python tracker 

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



[issue36737] Warnings operate out of global runtime state.

2019-05-10 Thread Eric Snow


Eric Snow  added the comment:


New changeset 86ea58149c3e83f402cecd17e6a536865fb06ce1 by Eric Snow in branch 
'master':
bpo-36737: Use the module state C-API for warnings. (gh-13159)
https://github.com/python/cpython/commit/86ea58149c3e83f402cecd17e6a536865fb06ce1


--

___
Python tracker 

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



[issue36737] Warnings operate out of global runtime state.

2019-05-10 Thread Eric Snow


Change by Eric Snow :


--
assignee:  -> eric.snow
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



[issue32981] Catastrophic backtracking in poplib (CVE-2018-1060) and difflib (CVE-2018-1061)

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 942cc04ae44825ea120e3a19a80c9b348b8194d0 by larryhastings (Ned 
Deily) in branch '3.4':
[3.4] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) (#6035)
https://github.com/python/cpython/commit/942cc04ae44825ea120e3a19a80c9b348b8194d0


--

___
Python tracker 

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



[issue30657] [security] CVE-2017-1000158: Unsafe arithmetic in PyString_DecodeEscape

2019-05-10 Thread Ned Deily

Ned Deily  added the comment:


New changeset 6c004b40f9d51872d848981ef1a18bb08c2dfc42 by larryhastings (Miro 
Hrončok) in branch '3.4':
bpo-30657: Fix CVE-2017-1000158 (#4758)
https://github.com/python/cpython/commit/6c004b40f9d51872d848981ef1a18bb08c2dfc42


--
nosy: +ned.deily

___
Python tracker 

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



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

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 4b42d575bf0fb01192b3ec54b7e224b238691527 by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4] bpo-34656: Avoid relying on signed overflow in _pickle memos (GH-9261) 
(#11870)
https://github.com/python/cpython/commit/4b42d575bf0fb01192b3ec54b7e224b238691527


--
nosy: +ned.deily

___
Python tracker 

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



[issue30694] Update embedded copy of expat to 2.2.1

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 71572bbe82aa0836c036d44d41c8269ba6a321be by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4] bpo-29591, bpo-30694: Upgrade Modules/expat to libexpat 2.2.1 (#2164) 
(#2203)
https://github.com/python/cpython/commit/71572bbe82aa0836c036d44d41c8269ba6a321be


--

___
Python tracker 

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



[issue30730] [security] Injecting environment variable in subprocess on Windows

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset fe82c46327effc124ff166e1fa1e611579e1176b by larryhastings (Serhiy 
Storchaka) in branch '3.4':
[security][3.4] bpo-30730: Prevent environment variables injection in 
subprocess on Windows. (GH-2325) (#2362)
https://github.com/python/cpython/commit/fe82c46327effc124ff166e1fa1e611579e1176b

New changeset b1549175ed30f2931e2bb980a7e3c360ed19e1c9 by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4] Backport CI config from master (#2475)
https://github.com/python/cpython/commit/b1549175ed30f2931e2bb980a7e3c360ed19e1c9


--

___
Python tracker 

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



[issue30726] [Windows] Warnings in elementtree due to new expat

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 71572bbe82aa0836c036d44d41c8269ba6a321be by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4] bpo-29591, bpo-30694: Upgrade Modules/expat to libexpat 2.2.1 (#2164) 
(#2203)
https://github.com/python/cpython/commit/71572bbe82aa0836c036d44d41c8269ba6a321be


--

___
Python tracker 

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



[issue33329] sigaddset() can fail on some signal numbers

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 2226139aa2b69047cb54dbcfd79f5c2e36f98653 by larryhastings (Cheryl 
Sabella) in branch '3.4':
[3.4] bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) 
(#12145)
https://github.com/python/cpython/commit/2226139aa2b69047cb54dbcfd79f5c2e36f98653


--

___
Python tracker 

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



[issue32072] Issues with binary plists

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset c59731d92dc73111d224876f1caa064097aad786 by larryhastings (Serhiy 
Storchaka) in branch '3.4':
[3.4] bpo-32072: Fix issues with binary plists. (GH-4455) (#4658)
https://github.com/python/cpython/commit/c59731d92dc73111d224876f1caa064097aad786


--

___
Python tracker 

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



[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 2a5a26c87e82c7d9a348792891feccd1b5e9a769 by larryhastings 
(Dong-hee Na) in branch '3.4':
[3.4] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal 
command (#1214) (#2893)
https://github.com/python/cpython/commit/2a5a26c87e82c7d9a348792891feccd1b5e9a769


--

___
Python tracker 

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



[issue33001] Buffer overflow vulnerability in os.symlink on Windows (CVE-2018-1000117)

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 77c02cdce2d7b8360771be35b7676a4977e070c1 by larryhastings (Steve 
Dower) in branch '3.4':
[3.4] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (#5992)
https://github.com/python/cpython/commit/77c02cdce2d7b8360771be35b7676a4977e070c1


--
nosy: +ned.deily

___
Python tracker 

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



[issue34623] _elementtree.c doesn't call XML_SetHashSalt()

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset d16eaf36795da48b930b80b20d3805bc27820712 by larryhastings 
(stratakis) in branch '3.4':
[3.4] bpo-34623: Use XML_SetHashSalt in _elementtree (#9953)
https://github.com/python/cpython/commit/d16eaf36795da48b930b80b20d3805bc27820712


--
nosy: +ned.deily

___
Python tracker 

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



[issue27945] Various segfaults with dict

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset f7344798e57da6b9c4ed9372e8eaecde80989c86 by larryhastings (Serhiy 
Storchaka) in branch '3.4':
[3.4] [3.5] bpo-27945: Fixed various segfaults with dict. (GH-1657) (GH-1678) 
(#2248)
https://github.com/python/cpython/commit/f7344798e57da6b9c4ed9372e8eaecde80989c86


--

___
Python tracker 

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



[issue32620] [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5' not installed"

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 71b94e30b1d63c789908482b3b808cc613e57267 by larryhastings in 
branch '3.4':
[3.4] [3.5] bpo-32620: Remove failing pyenv call from CI config (GH-5274) 
(#5533)
https://github.com/python/cpython/commit/71b94e30b1d63c789908482b3b808cc613e57267


--
nosy: +ned.deily

___
Python tracker 

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



[issue29572] Upgrade installers to OpenSSL 1.0.2k

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 092db6c3cb049052fbfca15efc85ad68093676e7 by larryhastings (Victor 
Stinner) in branch '3.4':
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-443) (#3445)
https://github.com/python/cpython/commit/092db6c3cb049052fbfca15efc85ad68093676e7


--

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 42ad4101d3ba7ca3c371dadf0f8880764c9f15fb by larryhastings 
(Xtreak) in branch '3.4':
[3.4] bpo-35121: prefix dot in domain for proper subdomain validation 
(GH-10258) (#12279)
https://github.com/python/cpython/commit/42ad4101d3ba7ca3c371dadf0f8880764c9f15fb


--

___
Python tracker 

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



[issue26657] Directory traversal with http.server and SimpleHTTPServer on windows

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 6f6bc1da8aaae52664e7747e328d26eb59c0e74f by larryhastings (Victor 
Stinner) in branch '3.4':
bpo-26657: Fix Windows directory traversal vulnerability with http.server (#782)
https://github.com/python/cpython/commit/6f6bc1da8aaae52664e7747e328d26eb59c0e74f


--

___
Python tracker 

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



[issue35647] Cookie path check returns incorrect results

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset e260f092cd0d8975c777e73ca6fb549d59b5d452 by larryhastings 
(Xtreak) in branch '3.4':
bpo-35647: Fix path check in cookiejar (#11436) (#12278)
https://github.com/python/cpython/commit/e260f092cd0d8975c777e73ca6fb549d59b5d452


--

___
Python tracker 

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



[issue30500] [security] urllib connects to a wrong host

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset cc54c1c0d2d05fe7404ba64c53df4b1352ed2262 by larryhastings (Victor 
Stinner) in branch '3.4':
bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2291)
https://github.com/python/cpython/commit/cc54c1c0d2d05fe7404ba64c53df4b1352ed2262


--

___
Python tracker 

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



[issue34791] xml package does not obey sys.flags.ignore_environment

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 765d333512e9b58da4a4431595a0e81517ef0443 by larryhastings (Victor 
Stinner) in branch '3.4':
bpo-34791: xml package obeys ignore env flags (GH-9544) (#11872)
https://github.com/python/cpython/commit/765d333512e9b58da4a4431595a0e81517ef0443


--
nosy: +ned.deily

___
Python tracker 

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



[issue31036] building the python docs requires the blurb module

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 362e9fb0de4321bf265dbca290f7dc1f383a4a47 by Ned Deily in branch 
'3.4':
[3.5] bpo-31036: use an existing Misc/NEWS rather than trying to use blurb 
(#2874) (#2926)
https://github.com/python/cpython/commit/362e9fb0de4321bf265dbca290f7dc1f383a4a47


--

___
Python tracker 

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



[issue26617] Assertion failed in gc with __del__ and weakref

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 34fae03cd6c9e304e02c571b3bf9e8df0cfe76be by larryhastings (Serhiy 
Storchaka) in branch '3.4':
[3.4] bpo-26617: Ensure gc tracking is off when invoking weakref callbacks. 
(#2695)
https://github.com/python/cpython/commit/34fae03cd6c9e304e02c571b3bf9e8df0cfe76be


--

___
Python tracker 

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



[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 71572bbe82aa0836c036d44d41c8269ba6a321be by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4] bpo-29591, bpo-30694: Upgrade Modules/expat to libexpat 2.2.1 (#2164) 
(#2203)
https://github.com/python/cpython/commit/71572bbe82aa0836c036d44d41c8269ba6a321be


--

___
Python tracker 

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



[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 3b3a5a5b70dc468dcfacb17a3d6b342820b480ff by larryhastings (Ned 
Deily) in branch '3.4':
bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2724)
https://github.com/python/cpython/commit/3b3a5a5b70dc468dcfacb17a3d6b342820b480ff


--

___
Python tracker 

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



[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 6c655ce34ae54adb8eef22b73108e22cc381cb8d by larryhastings (Victor 
Stinner) in branch '3.4':
bpo-35746: Fix segfault in ssl's cert parser (GH-11569) (#11868)
https://github.com/python/cpython/commit/6c655ce34ae54adb8eef22b73108e22cc381cb8d


--

___
Python tracker 

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



[issue30231] test_imaplib needs a TLS server accepting self-signed certificates

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset b1549175ed30f2931e2bb980a7e3c360ed19e1c9 by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4] Backport CI config from master (#2475)
https://github.com/python/cpython/commit/b1549175ed30f2931e2bb980a7e3c360ed19e1c9


--

___
Python tracker 

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



[issue29169] update zlib to 1.2.11

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset d0e61bded5256e775e470e2c0da22367a1a81970 by larryhastings (Victor 
Stinner) in branch '3.4':
bpo-29169: Update zlib to 1.2.11 (#3107)
https://github.com/python/cpython/commit/d0e61bded5256e775e470e2c0da22367a1a81970


--
nosy: +ned.deily

___
Python tracker 

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



[issue36216] CVE-2019-9636: urlsplit does not handle NFKC normalization

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 62d36547f97210a26cc6051da78714fd078e158c by larryhastings (Steve 
Dower) in branch '3.4':
bpo-36216: Add check for characters in netloc that normalize to separators 
(GH-12201) (#12224)
https://github.com/python/cpython/commit/62d36547f97210a26cc6051da78714fd078e158c


--

___
Python tracker 

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



[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 86a713cb0c110b6798ca7f9e630fc511ee0a4028 by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3353)
https://github.com/python/cpython/commit/86a713cb0c110b6798ca7f9e630fc511ee0a4028

New changeset 8b11e8de7aedacfbbcc8c780f3c4097396f1d1a3 by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4] bpo-31170: Fix inclusion of expat in Windows build projects (#3785)
https://github.com/python/cpython/commit/8b11e8de7aedacfbbcc8c780f3c4097396f1d1a3


--

___
Python tracker 

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



[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 86a713cb0c110b6798ca7f9e630fc511ee0a4028 by larryhastings (Victor 
Stinner) in branch '3.4':
[3.4][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3353)
https://github.com/python/cpython/commit/86a713cb0c110b6798ca7f9e630fc511ee0a4028


--

___
Python tracker 

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



[issue25008] Deprecate smtpd (based on deprecated asyncore/asynchat)

2019-05-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset f37b0cb230069481609b0bb06891b5dd26320504 by Barry Warsaw in 
branch '3.4':
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#280)
https://github.com/python/cpython/commit/f37b0cb230069481609b0bb06891b5dd26320504


--
nosy: +ned.deily

___
Python tracker 

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



[issue34128] Release GIL periodically in _pickle module

2019-05-10 Thread Antoine Pitrou


Change by Antoine Pitrou :


--
nosy: +pierreglaser

___
Python tracker 

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



[issue35746] [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342112

___
Python tracker 

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



[issue36512] future_factory argument for Thread/ProcessPoolExecutor

2019-05-10 Thread Stefan Hölzl

Stefan Hölzl  added the comment:

It would allow to use Futures with a customized interface for a specific domain.
e.g. to not only save the result of a task but also some context informations
or provide properties/methods which are result specific.

But when subclassing Future the builtin Thread/ProcessExecutor cannot be reused 
anymore, because
the returned class on submit cannot be customized to be the subclassed Future.

With my change it would be possible to customize the Future object returned by 
the Executor.

As it is now the Future class has to be wrapped and the Executor subclassed
to return a wrapped Future object. 
The Future object cannot be extended without completely wrapping it.

This change would make the Executor class more versatile.

It would allow something like this:

class CustomExecutor:
...

custom_executor = CustomExecutor()
custom_future = custom_executor.submit(workload, context=context_information)
...
assert custom_future.context_has_some_property()
assert custom_future.result_has_some_property()


factories are also used in other places in standard library:
logging.setLogFactory
asyncio.loop.set_task_factory

--

___
Python tracker 

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



[issue32620] [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5' not installed"

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342108

___
Python tracker 

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



[issue29169] update zlib to 1.2.11

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342113

___
Python tracker 

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



[issue30694] Update embedded copy of expat to 2.2.1

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342085

___
Python tracker 

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



[issue26617] Assertion failed in gc with __del__ and weakref

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342107

___
Python tracker 

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



[issue35121] Cookie domain check returns incorrect results

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342111

___
Python tracker 

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



[issue30500] [security] urllib connects to a wrong host

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342098

___
Python tracker 

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



[issue29572] Upgrade installers to OpenSSL 1.0.2k

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342106

___
Python tracker 

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



[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342105

___
Python tracker 

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



[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342109

___
Python tracker 

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



[issue36216] CVE-2019-9636: urlsplit does not handle NFKC normalization

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342088

___
Python tracker 

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



[issue33001] Buffer overflow vulnerability in os.symlink on Windows (CVE-2018-1000117)

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342103

___
Python tracker 

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



[issue27945] Various segfaults with dict

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342104

___
Python tracker 

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



[issue26657] Directory traversal with http.server and SimpleHTTPServer on windows

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342102

___
Python tracker 

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



[issue34623] _elementtree.c doesn't call XML_SetHashSalt()

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342101

___
Python tracker 

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



[issue30726] [Windows] Warnings in elementtree due to new expat

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342097

___
Python tracker 

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



[issue32981] Catastrophic backtracking in poplib (CVE-2018-1060) and difflib (CVE-2018-1061)

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342092

___
Python tracker 

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



[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342087

___
Python tracker 

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



[issue30119] (ftplib) A remote attacker could possibly attack by containing the newline characters

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342096

___
Python tracker 

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



[issue25008] Deprecate smtpd (based on deprecated asyncore/asynchat)

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342099

___
Python tracker 

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



[issue31036] building the python docs requires the blurb module

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342110

___
Python tracker 

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



[issue30231] test_imaplib needs a TLS server accepting self-signed certificates

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342100

___
Python tracker 

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



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

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342084

___
Python tracker 

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



[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342095

___
Python tracker 

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



[issue30730] [security] Injecting environment variable in subprocess on Windows

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342094

___
Python tracker 

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



[issue32072] Issues with binary plists

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342093

___
Python tracker 

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



[issue34791] xml package does not obey sys.flags.ignore_environment

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342089

___
Python tracker 

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



[issue33329] sigaddset() can fail on some signal numbers

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342090

___
Python tracker 

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



[issue35647] Cookie path check returns incorrect results

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342091

___
Python tracker 

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



[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2019-05-10 Thread Michael Blahay


Michael Blahay  added the comment:

For the purpose of facilitating continuing conversation, here are two tests 
that contrast the use of * versus REMAINDER

import argparse
parser = argparse.ArgumentParser()
parser.add_argument('foo', nargs=1,default=['none'])
parser.add_argument('bar', nargs=argparse.REMAINDER,default=['nothing'])
parser.add_argument('baz', nargs='*', default=['nada'])
parser.parse_args('a b c'.split())

Out[7]: Namespace(bar=['b', 'c'], baz=['nada'], foo=['a'])

import argparse
parser = argparse.ArgumentParser()
parser.add_argument('foo', nargs=1,default=['none'])
parser.add_argument('baz', nargs='*', default=['nada'])
parser.add_argument('bar', nargs=argparse.REMAINDER,default=['nothing'])
parser.parse_args('a b c'.split())

Out[8]: Namespace(bar=[], baz=['b', 'c'], foo=['a'])

You can see that * and REMAINDER do differ in functionality when they are the 
last defined argument.

--

___
Python tracker 

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



[issue30657] [security] CVE-2017-1000158: Unsafe arithmetic in PyString_DecodeEscape

2019-05-10 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg342086

___
Python tracker 

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



[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-10 Thread Jake Tesler


Jake Tesler  added the comment:

The feature is supported on Windows: the file supporting Windows threading is 
`thread_nt.h`, not `thread_pthread.h` since Windows doesn't use POSIX-style 
threads.

Also it is different from threading.get_ident() - ident is a Python-issued 
unique identifier, TID is issued by the OS and is tracable system-wide.

--

___
Python tracker 

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



[issue36338] urlparse of urllib returns wrong hostname

2019-05-10 Thread Pierre Glaser


Change by Pierre Glaser :


--
pull_requests: +13146

___
Python tracker 

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



[issue15987] Provide a way to compare AST nodes for equality recursively

2019-05-10 Thread Ivan Levkivskyi


Ivan Levkivskyi  added the comment:

Btw, I am +1 on this feature (preferably with an option to check line, column, 
end line, and end column). I always wanted this, but never had time to actually 
implement this.

--
nosy: +levkivskyi

___
Python tracker 

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



[issue36368] server process of shared_memory shuts down if KeyboardInterrupt

2019-05-10 Thread Antoine Pitrou


Antoine Pitrou  added the comment:


New changeset d0d64ad1f5f1dc1630004091d7f8209546c1220a by Antoine Pitrou 
(Pierre Glaser) in branch 'master':
bpo-36368: Ignore SIGINT in SharedMemoryManager servers. (GH-12483)
https://github.com/python/cpython/commit/d0d64ad1f5f1dc1630004091d7f8209546c1220a


--

___
Python tracker 

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



  1   2   >