[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-02 Thread Ammar Askar


Ammar Askar  added the comment:

This change in difference is caused by 
https://github.com/python/cpython/commit/e036ef8fa29f27d57fe9f8cef8d931d4122d8223

The old code checked for duplicate arguments by essentially running 
`set().intersection(d)` and since `set().intersection(['a', 'a'])` is the empty 
set, it doesn't register as a duplicated argument. The newer code iterates over 
the keys in order to merge the dictionaries.

Note however that 3.5 is now is in security only mode: 
https://devguide.python.org/#branchstatus so its unlikely this behavior will be 
back-ported.

--
nosy: +ammar2
type:  -> behavior

___
Python tracker 

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



[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-02 Thread iceboy


iceboy  added the comment:

I feel like we should not check the argument and allow overriding. If the 
argument checking is desired, can we also check when there is only a single 
kwargs? Currently `foo(**d)` still works in Python 3.6 with duplicated keys.

--

___
Python tracker 

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



[issue35636] remove redundant check in unicode_hash(PyObject *self)

2019-01-02 Thread Ma Lin


Ma Lin  added the comment:

This redundant exists since Python 3.4 or earlier.

--
title: remove redundant code in unicode_hash(PyObject *self) -> remove 
redundant check in unicode_hash(PyObject *self)
type: enhancement -> performance
versions: +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



[issue35637] Factorial should be able to evaluate float arguments

2019-01-02 Thread Yash Aggarwal


New submission from Yash Aggarwal :

Factorial as of now accepts only integers or integral floats. 
I want to suggest extending the definition of float to accept all positive real 
numbers to be more consistent with general definition of factorial that uses 
gamma function.

What I am proposing is:
1. for integer value, the function should work as it does and return integer 
result.

2. for float input, both integer and non-integer valued, the returned value 
should be a floating point number.

3. the input domain should be extended to all real numbers except negative 
integers.

Such generalized function would feel more mathematically consistent.

--
components: Library (Lib)
messages: 332862
nosy: FR4NKESTI3N
priority: normal
severity: normal
status: open
title: Factorial should be able to evaluate float arguments
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



[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-02 Thread twisteroid ambassador


Change by twisteroid ambassador :


--
pull_requests: +10786, 10787

___
Python tracker 

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



[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-02 Thread twisteroid ambassador


Change by twisteroid ambassador :


--
pull_requests: +10786, 10787, 10788

___
Python tracker 

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



[issue33678] selector_events.BaseSelectorEventLoop.sock_connect should preserve socket type

2019-01-02 Thread twisteroid ambassador


Change by twisteroid ambassador :


--
pull_requests: +10790
stage:  -> patch review

___
Python tracker 

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



[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-02 Thread twisteroid ambassador


Change by twisteroid ambassador :


--
pull_requests: +10786

___
Python tracker 

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



[issue33678] selector_events.BaseSelectorEventLoop.sock_connect should preserve socket type

2019-01-02 Thread twisteroid ambassador


Change by twisteroid ambassador :


--
pull_requests: +10790, 10791
stage:  -> patch review

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread steelman


New submission from steelman :

It is currently impossible to format floating point numbers with an arbitrary 
number of decimal digits AND the decimal point matching locale settings. For 
example no current format allows to display numbers ranging from 1 to 1000 with 
exactly two decimal digits.

--
components: Library (Lib)
messages: 332863
nosy: steelman
priority: normal
severity: normal
status: open
title: Introduce fixed point locale awear format type for floating point numbers
type: enhancement
versions: Python 2.7, Python 3.4, 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



[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-02 Thread twisteroid ambassador


Change by twisteroid ambassador :


--
pull_requests: +10786, 10787, 10788, 10789

___
Python tracker 

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



[issue35636] remove redundant check in unicode_hash(PyObject *self)

2019-01-02 Thread Stefan Behnel


Stefan Behnel  added the comment:

Unlikely to get changed in Py3.4/5 anymore, since this is not even a bug fix. I 
wouldn't even fight for backporting, although 3.7 seems ok for it.

I agree that this code duplication is worth removing. I don't consider hashing 
the empty string important enough for leaving it in, especially because the net 
performance effect can at most be zero, if not negative, for the normal case of 
non-empty strings.

--
nosy: +scoder
versions:  -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



[issue35636] remove redundant check in unicode_hash(PyObject *self)

2019-01-02 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
versions:  -Python 3.6, Python 3.7

___
Python tracker 

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



[issue35636] remove redundant check in unicode_hash(PyObject *self)

2019-01-02 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests:  -10784

___
Python tracker 

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



[issue35636] remove redundant check in unicode_hash(PyObject *self)

2019-01-02 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests:  -10785

___
Python tracker 

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



[issue35639] Lowecasing Unicode Characters

2019-01-02 Thread Erdem Uney

New submission from Erdem Uney :

assert 'ŞİŞLİ'.lower() == 'şişli'

Lowercasing the capital İ (with a dot on - \u0130) adds a unicode character 
\u0307 after i and if there is a following character it adds that dot (\u0307) 
over that character. The behavior is different in Python 2.7.10 where it adds 
the dot on top of 'i'.

Accord to Unicode Specifications character \u0130 should be converted to 
character \u0069.

--
messages: 332865
nosy: kingofsevens
priority: normal
severity: normal
status: open
title: Lowecasing Unicode Characters
type: behavior
versions: Python 3.6

___
Python tracker 

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



[issue35636] remove redundant check in unicode_hash(PyObject *self)

2019-01-02 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset a1d14253066f7dd60cfb465c6511fa565f312b42 by Serhiy Storchaka 
(animalize) in branch 'master':
bpo-35636: Remove redundant check in unicode_hash(). (GH-11402)
https://github.com/python/cpython/commit/a1d14253066f7dd60cfb465c6511fa565f312b42


--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue35588] Speed up mod/divmod/floordiv for Fraction type

2019-01-02 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 3a374e0c5abe805667b71ffaaa7614781101ff4c by Serhiy Storchaka 
(Stefan Behnel) in branch 'master':
bpo-35588: Speed up mod, divmod and floordiv operations for Fraction type 
(#11322)
https://github.com/python/cpython/commit/3a374e0c5abe805667b71ffaaa7614781101ff4c


--

___
Python tracker 

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



[issue35588] Speed up mod/divmod/floordiv for Fraction type

2019-01-02 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Thank you for your contribution Stefan!

I am sorry for an awful commit message. I edited it, but due to some bug on 
GitHub the edited commit message was ignored after pressing the "Try merge" 
button. I heart this is not the first time of ignoring the edited commit 
message.

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



[issue35637] Factorial should be able to evaluate float arguments

2019-01-02 Thread Mark Dickinson


Mark Dickinson  added the comment:

See related discussion in issue #33083.

Are you aware that `math.gamma` and `math.lgamma` exist? These already provide 
the ability to compute the "factorial" of a non-integral input.

I'd be opposed to extending math.factorial to accept non-integral floats.

--
nosy: +mark.dickinson

___
Python tracker 

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



[issue35637] Factorial should be able to evaluate float arguments

2019-01-02 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I concur with Mark.

--
nosy: +serhiy.storchaka
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



[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-02 Thread Emmanuel Arias


Emmanuel Arias  added the comment:

Hi!, 

I was reading the PR.  Just a little comment. I am not sure about have a 
difference for IPv4 and IPv6, in the sense of use a tuple for IPv4 and separate 
parameters for IPv6

Regards

--
nosy: +eamanu

___
Python tracker 

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



[issue35603] table header in output of difflib.HtmlDiff.make_table is not escaped and can be rendered as code in the browser

2019-01-02 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 830ddc74c495ac1a5c03172a31006074967571a3 by Serhiy Storchaka in 
branch 'master':
Revert "bpo-35603: Escape table header of make_table output that can cause 
potential XSS. (GH-11341)" (GH-11356)
https://github.com/python/cpython/commit/830ddc74c495ac1a5c03172a31006074967571a3


--

___
Python tracker 

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



[issue35603] table header in output of difflib.HtmlDiff.make_table is not escaped and can be rendered as code in the browser

2019-01-02 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
assignee:  -> docs@python
components: +Documentation -Library (Lib)
nosy: +docs@python
versions: +Python 2.7 -Python 3.5, Python 3.6

___
Python tracker 

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



[issue35640] Allow passing PathLike arguments to SimpleHTTPRequestHandler

2019-01-02 Thread Emmanuel Arias


New submission from Emmanuel Arias :

Hi, 

A PR was opened https://github.com/python/cpython/pull/11398. This PR seems 
interest in the sense that this allow passing a pathlike arguments to 
SimpleHTTPRequestHandler. 

Regards

--
components: Library (Lib)
messages: 332873
nosy: eamanu
priority: normal
pull_requests: 10792
severity: normal
status: open
title: Allow passing PathLike arguments to SimpleHTTPRequestHandler
type: enhancement

___
Python tracker 

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



[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-02 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

I prepared a patch to make the check when there is only one dict, it may be the 
less surprising change.

BTW, I got lost when looking for the root cause  of this change because 
grepping for the error message did not work as it has line breaks:

-PyErr_Format(PyExc_TypeError,
-"%.200s%.200s got multiple "
-"values for keyword argument '%U'",
-PyEval_GetFuncName(func),
-PyEval_GetFuncDesc(func),
-key);

Can we add a note like 
https://www.kernel.org/doc/html/v4.12/process/coding-style.html#breaking-long-lines-and-strings
 to the PEP7?

> However, never break user-visible strings such as printk messages, because 
> that breaks the ability to grep for them.

It would help in such situations.

--
nosy: +remi.lapeyre

___
Python tracker 

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



[issue35639] Lowecasing Unicode Characters

2019-01-02 Thread Ma Lin


Ma Lin  added the comment:

please read this discussion
https://bugs.python.org/issue17252

behavior in Python 3.2- is correct for Turkish users.
behavior in Python 3.3+ is correct for non-Turkish users.

--
nosy: +Ma Lin

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread Eric V. Smith


Eric V. Smith  added the comment:

Since this is a new feature, it can only be added to 3.8. Adjusting versions 
accordingly.

I suggest that if we add this at all, it only be added to __format__, not to 
%-formatting.

Any suggestions on a specification for this?

--
components: +Interpreter Core -Library (Lib)
nosy: +eric.smith
versions:  -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7

___
Python tracker 

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



[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-02 Thread Ivan Levkivskyi


Change by Ivan Levkivskyi :


--
nosy: +levkivskyi

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread steelman


steelman  added the comment:

I've got the patch. I will push it to github as soon as I can (some technical 
issues).

--

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread Eric V. Smith


Eric V. Smith  added the comment:

Before a patch is created, we should discuss the behavior that will be 
implemented and agree on it. What is your suggestion?

--

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread Eric V. Smith


Eric V. Smith  added the comment:

Of course, feel free to create a PR. But the correct place to discuss any new 
behavior is on the issue tracker, or maybe on python-ideas, not in a PR.

--

___
Python tracker 

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



[issue35640] Allow passing PathLike arguments to SimpleHTTPRequestHandler

2019-01-02 Thread Géry

Change by Géry :


--
nosy: +maggyero, mdk, xtreak
versions: +Python 3.7

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread Roundup Robot


Change by Roundup Robot :


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

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch
pull_requests: +10793, 10794
stage:  -> patch review

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch, patch
pull_requests: +10793, 10794, 10796
stage:  -> patch review

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch, patch, patch
pull_requests: +10793, 10794, 10795, 10796
stage:  -> patch review

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread steelman


steelman  added the comment:

I have created a new format "m" that is for "n", what "f" is for "g". The patch 
for string.rst says

   +-+--+
   | ``'m'`` | Number. This is the same as ``'f'``, except that it uses |
   | | the current locale setting to insert the appropriate |
   | | number separator characters. |
   +-+--+

My patch only applies to floats not integers.

--

___
Python tracker 

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



[issue35196] IDLE text squeezer is too aggressive and is slow

2019-01-02 Thread Dan Snider


Dan Snider  added the comment:

Not 100% sure if it's appropriate to post this here... so sorry if not. 

So anyway, the _MAX_COLS and _MAX_LINE constants used for `get_argspec` seem 
like they were intended to limit the generated text tips to at most 5 rows, 85 
characters wide, which makes sense, but isn't what happens at all.

Easy to just post an example of how the call signature isn't limited in any 
meaningful way, which can easily lead to a call tip millions of character long 
that obviously cannot be rendered and can maybe cause crashes:

# freshly started repl session
>>> if 1:
from idlelib.calltips import get_argspec
G = globals()
@get_argspec
def func(x, d=G): pass
print('len of func signature:', len(func))
print(f'len(repr(globals())): {len(repr(G)):_} ({len(G)} globals)')

len of func signature: 564
len(repr(globals())): 899 (10 globals)
>>> from numpy import *
>>> if 1:
from idlelib.calltips import get_argspec
G = globals()
@get_argspec
def func(x, d=G): pass
print('len of func signature:', len(func))
print(f'len(repr(globals())): {len(repr(G)):_} ({len(G)} globals)')
...
len of func signature: 45524
len(repr(globals())): 92_488 (604 globals)

--
nosy: +bup

___
Python tracker 

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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Tal Einat


New submission from Tal Einat :

IDLE usually wraps call-tips to 85 characters.  However, for functions without 
a doc-string, this formatting is skipped.  This is an issue for functions with 
long signatures, e.g. due to having many arguments or due to having default 
values with long repr-s.

This appears to be caused by line 170 in Lib/idlelib/calltip.py being indented 
once too much. (see: 
https://github.com/python/cpython/blob/87e59ac11ee074b0dc1bc864c74fac0660b27f6e/Lib/idlelib/calltip.py)

Thanks to Dan Snider for the original report in msg332881 on issue #35196.


Example:

>>> def foo(s='a'*100):
pass

>>> print(get_argspec(foo))
(s='')

>>> def bar(s='a'*100):
"""doc-string"""
pass

>>> print(get_argspec(bar))
(s='a
aaa')
doc-string

--
messages: 332882
nosy: bup, taleinat
priority: normal
severity: normal
status: open
title: IDLE: calltips not properly formatted for functions without doc-strings

___
Python tracker 

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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
assignee:  -> taleinat
components: +IDLE
nosy: +terry.reedy
stage:  -> needs patch
type:  -> behavior
versions: +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



[issue35196] IDLE text squeezer is too aggressive and is slow

2019-01-02 Thread Tal Einat


Tal Einat  added the comment:

Hi Dan,

Your report is unrelated to this Squeezer-related issue, but thanks for 
reporting it! I've created a new issue for what you've reported, see #35641.

--

___
Python tracker 

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



[issue35609] Improve of abc.py docstring

2019-01-02 Thread Emmanuel Arias


Emmanuel Arias  added the comment:

Hi Serhiy, 

A little question. Is there a planned version to remove the deprecated?

--

___
Python tracker 

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



[issue35638] Introduce fixed point locale awear format type for floating point numbers

2019-01-02 Thread Mark Dickinson


Change by Mark Dickinson :


--
nosy: +mark.dickinson

___
Python tracker 

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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Tal Einat


Tal Einat  added the comment:

I'm marking this as easy.

Whoever works on this should make sure to add a new test case for this bug.

--
assignee: taleinat -> 
keywords: +easy

___
Python tracker 

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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Emmanuel Arias


Emmanuel Arias  added the comment:

Hi Tal Einat!

I would like to take this issue to be my first contribution :-)

Thanks!

--
nosy: +eamanu

___
Python tracker 

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



[issue35642] _asynciomodule.c compiled in both pythoncore.vcxproj and _asyncio.vcxproj

2019-01-02 Thread Gregory Szorc


New submission from Gregory Szorc :

The _asynciomodule.c source file is compiled as part of both pythoncore.vcxproj 
(providing pythonXY.dll) and _asyncio.vcxproj (providing _asyncio.pyd).

PC\config.c doesn't reference PyInit__asyncio. I'm inclined to believe that 
_asynciomodule.c being built as part of pythoncore.vcxproj is a mistake.

If all goes according to plan, I will contribute my first CPython patch with a 
fix shortly...

--
components: Build
messages: 332887
nosy: Gregory.Szorc
priority: normal
severity: normal
status: open
title: _asynciomodule.c compiled in both pythoncore.vcxproj and _asyncio.vcxproj
type: enhancement
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



[issue35642] _asynciomodule.c compiled in both pythoncore.vcxproj and _asyncio.vcxproj

2019-01-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch
pull_requests: +10797, 10798
stage:  -> patch review

___
Python tracker 

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



[issue35642] _asynciomodule.c compiled in both pythoncore.vcxproj and _asyncio.vcxproj

2019-01-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch, patch, patch
pull_requests: +10797, 10798, 10799, 10800
stage:  -> patch review

___
Python tracker 

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



[issue35642] _asynciomodule.c compiled in both pythoncore.vcxproj and _asyncio.vcxproj

2019-01-02 Thread Roundup Robot


Change by Roundup Robot :


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

___
Python tracker 

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



[issue35642] _asynciomodule.c compiled in both pythoncore.vcxproj and _asyncio.vcxproj

2019-01-02 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch, patch
pull_requests: +10797, 10798, 10800
stage:  -> patch review

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread Mickaël Schoentgen

New submission from Mickaël Schoentgen :

This warning is emitted on Modules/_sha3/cleanup.py, line 11:

SyntaxWarning: invalid escape sequence \
  CPP2 = re.compile("\ //(.*)")

--
components: Extension Modules
messages: 332888
nosy: Tiger-222
priority: normal
severity: normal
status: open
title: SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py
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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread Mickaël Schoentgen

Change by Mickaël Schoentgen :


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

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread Mickaël Schoentgen

Change by Mickaël Schoentgen :


--
keywords: +patch, patch
pull_requests: +10801, 10802
stage:  -> patch review

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10803, 10804, 10805

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10803

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread Benjamin Peterson

Benjamin Peterson  added the comment:


New changeset d466c43e55cd32af84e353f0e9a48b09b7534f61 by Benjamin Peterson 
(Mickaël Schoentgen) in branch 'master':
closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in 
Modules/_sha3/cleanup.py (GH-11411)
https://github.com/python/cpython/commit/d466c43e55cd32af84e353f0e9a48b09b7534f61


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

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10803, 10804, 10805, 10806

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10803, 10804

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10804, 10805, 10806, 10808

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10804, 10805, 10806, 10807, 10808

___
Python tracker 

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



[issue35434] Wrong bpo linked in What's New in 3.8

2019-01-02 Thread Yash Aggarwal


Change by Yash Aggarwal :


--
pull_requests: +10809

___
Python tracker 

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



[issue35434] Wrong bpo linked in What's New in 3.8

2019-01-02 Thread Yash Aggarwal


Change by Yash Aggarwal :


--
pull_requests: +10809, 10810

___
Python tracker 

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



[issue35434] Wrong bpo linked in What's New in 3.8

2019-01-02 Thread Yash Aggarwal


Change by Yash Aggarwal :


--
pull_requests: +10809, 10810, 10811

___
Python tracker 

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



[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-01-02 Thread Eric V. Smith


Eric V. Smith  added the comment:

I haven't looked at this closely yet, but you'll need to at least:
- add tests that the locale-aware formatting is happening
- support decimal
- make sure it works with complex (which it probably does, but needs a test)

And, I think we'll need to run this through python-ideas first. One thing I 
expect to come up there: why f and not g?

Again, I haven't looked through the code yet, or really even given any thought 
to determining if this is a sound idea.

--
title: Introduce fixed point locale awear format type for floating point 
numbers -> Introduce fixed point locale aware format type for floating point 
numbers

___
Python tracker 

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



[issue35431] Add a function for computing binomial coefficients to the math module

2019-01-02 Thread Yash Aggarwal


Change by Yash Aggarwal :


--
pull_requests: +10812

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread Mickaël Schoentgen

Change by Mickaël Schoentgen :


--
resolution: fixed -> 
status: closed -> open
versions: +Python 3.6, Python 3.7

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread Mickaël Schoentgen

Change by Mickaël Schoentgen :


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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Emmanuel Arias


Change by Emmanuel Arias :


--
keywords: +patch, patch, patch, patch
pull_requests: +10813, 10814, 10815, 10816
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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Emmanuel Arias


Change by Emmanuel Arias :


--
keywords: +patch
pull_requests: +10813
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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Emmanuel Arias


Change by Emmanuel Arias :


--
keywords: +patch, patch
pull_requests: +10813, 10814
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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Emmanuel Arias


Change by Emmanuel Arias :


--
keywords: +patch, patch, patch
pull_requests: +10813, 10814, 10815
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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10814

___
Python tracker 

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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10814, 10815, 10816

___
Python tracker 

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



[issue35641] IDLE: calltips not properly formatted for functions without doc-strings

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10814, 10815

___
Python tracker 

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



[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-02 Thread miss-islington


miss-islington  added the comment:


New changeset 6d04bc9a2eb02efdb49f14f2c9664fe687f9a170 by Miss Islington (bot) 
in branch '3.7':
closes bpo-35643: Fix a SyntaxWarning: invalid escape sequence in 
Modules/_sha3/cleanup.py (GH-11411)
https://github.com/python/cpython/commit/6d04bc9a2eb02efdb49f14f2c9664fe687f9a170


--
nosy: +miss-islington

___
Python tracker 

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



[issue35644] venv doesn't do what it claims to do (apears not to work at all?)

2019-01-02 Thread Ray Donnelly

New submission from Ray Donnelly :

Happy New Year!

I'm not sure if this is a misunderstanding on my part, a docs bug or a code bug.

At https://docs.python.org/3/library/venv.html we see:

"The solution for this problem is to create a virtual environment, a 
self-contained directory tree that contains a Python installation for a 
particular version of Python, plus a number of additional packages"

and

"This will create the tutorial-env directory if it doesn’t exist, and also 
create directories inside it containing a copy of the Python interpreter, the 
standard library, and various supporting files."

However, when testing with 
https://www.python.org/ftp/python/3.7.2/python-3.7.2-amd64.exe I see no Python 
interpreter (nor DLL) in my venv directory:

```
python.exe -m venv %TEMP%\venv
%TEMP%\venv\Scripts\activate.bat
dir %TEMP%\venv
```

gives:

```
 Directory of C:\Users\RDONNE~1\AppData\Local\Temp\venv

02/01/2019  19:38  .
02/01/2019  19:38  ..
02/01/2019  19:38  Include
02/01/2019  19:38  Lib
02/01/2019  19:38   121 pyvenv.cfg
02/01/2019  19:38  Scripts
   1 File(s)121 bytes
   5 Dir(s)  912,281,780,224 bytes free
```

pyvenv.cfg contains:

```
home = C:\Users\rdonnelly\AppData\Local\Programs\Python\Python37
include-system-site-packages = false
version = 3.7.2
```

Further to this, after activating, I do not see the `venv` directory in 
`sys.path`:

```
python -c "import sys; print(sys.path)"
['',
 
'C:\\Users\\rdonnelly\\AppData\\Local\\Programs\\Python\\Python37\\python37.zip',
 'C:\\Users\\rdonnelly\\AppData\\Local\\Programs\\Python\\Python37\\DLLs',
 'C:\\Users\\rdonnelly\\AppData\\Local\\Programs\\Python\\Python37\\lib',
 'C:\\Users\\rdonnelly\\AppData\\Local\\Programs\\Python\\Python37',
 
'C:\\Users\\rdonnelly\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages']
```

>From past experience, the old `virtualenv` project would copy the interpreter 
>and DLL across.

Any help here would be appreciated!

--
components: Windows
messages: 332892
nosy: Ray Donnelly, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: venv doesn't do what it claims to do (apears not to work at all?)
type: behavior
versions: Python 3.7

___
Python tracker 

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



[issue35500] Align expected and actual calls on mock.assert_called_with error message

2019-01-02 Thread Tal Einat


Tal Einat  added the comment:

Perhaps "expected" and "observed" or "detected"?

--
nosy: +taleinat

___
Python tracker 

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



[issue35644] venv doesn't do what it claims to do (apears not to work at all?)

2019-01-02 Thread Ray Donnelly


Ray Donnelly  added the comment:

I found the executable is in the `Scripts` directory, closing. The real issue 
I'm facing is on Anaconda Distribution's build of Python 3 which I'm updating 
to 3.7.2.

Closing,

Cheers!

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10554

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10554, 10555

___
Python tracker 

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



[issue35644] venv doesn't do what it claims to do (apears not to work at all?)

2019-01-02 Thread Ray Donnelly


Ray Donnelly  added the comment:

Bit of an update to this, I'm re-opening it as there appears to be a regression 
from Python 3.7.1 to 3.7.2 for the case when there is no venvlauncher.exe 
present (i.e. when there are no python{w,}.exes in Lib\venv\scripts\nt). The 
old code of copying `sys.executable` is no longer run (on Windows only).

Currently Anaconda Distribution's venv is done this way. Should we change it to 
use the same method as official CPython Windows releases?

Here is a diff I think we need to apply for now, if you feel it is reasonable 
to make a PR then I'm happy to do so.

```
$ diff -urN Lib/venv/__init__.py.orig Lib/venv/__init__.py
--- Lib/venv/__init__.py.orig   2019-01-02 20:56:45.015131800 +
+++ Lib/venv/__init__.py2019-01-02 20:56:55.330130800 +
@@ -188,9 +188,9 @@
 binpath = context.bin_path
 path = context.env_exe
 copier = self.symlink_or_copy
+copier(context.executable, path)
 dirname = context.python_dir
 if os.name != 'nt':
-copier(context.executable, path)
 if not os.path.islink(path):
 os.chmod(path, 0o755)
 for suffix in ('python', 'python3'):
```

--
status: closed -> open

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10817

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread Tal Einat


Tal Einat  added the comment:


New changeset e9a044ec16989bd4b39763c0588c17200a925350 by Tal Einat (Harmandeep 
Singh) in branch 'master':
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
https://github.com/python/cpython/commit/e9a044ec16989bd4b39763c0588c17200a925350


--
nosy: +taleinat

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10817, 10818

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10818, 10820

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10817, 10818, 10819, 10820

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10819, 10820, 10822

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +10819, 10820, 10821, 10822

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10818

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10818, 10819

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10818, 10819, 10822

___
Python tracker 

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



[issue35644] venv doesn't do what it claims to do (apears not to work at all?)

2019-01-02 Thread Ray Donnelly


Ray Donnelly  added the comment:

The commit that my patch modifies is: 
https://github.com/python/cpython/commit/1c3de541e64f75046b20cdd27bada1557e550bcd

Cheers.

--

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread Tal Einat


Change by Tal Einat :


--
pull_requests:  -10818, 10819, 10821, 10822

___
Python tracker 

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



[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2019-01-02 Thread miss-islington


miss-islington  added the comment:


New changeset d7cb2034bbaa26170cdc66eb54626e3ce1b8678a by Miss Islington (bot) 
in branch '3.7':
bpo-35525: Correct the argument name for NNTP.starttls() (GH-11310)
https://github.com/python/cpython/commit/d7cb2034bbaa26170cdc66eb54626e3ce1b8678a


--
nosy: +miss-islington

___
Python tracker 

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



[issue35644] venv doesn't work on Windows when no venvlauncher executable present

2019-01-02 Thread Ray Donnelly


Change by Ray Donnelly :


--
title: venv doesn't do what it claims to do (apears not to work at all?) -> 
venv doesn't work on Windows when no venvlauncher executable present

___
Python tracker 

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



[issue35589] BaseSelectorEventLoop.sock_sendall() performance regression: extra copy of data

2019-01-02 Thread Andrew Svetlov


Change by Andrew Svetlov :


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

___
Python tracker 

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



[issue35589] BaseSelectorEventLoop.sock_sendall() performance regression: extra copy of data

2019-01-02 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
keywords: +patch, patch
pull_requests: +10823, 10824
stage:  -> patch review

___
Python tracker 

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



[issue35589] BaseSelectorEventLoop.sock_sendall() performance regression: extra copy of data

2019-01-02 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
keywords: +patch, patch, patch
pull_requests: +10823, 10824, 10825
stage:  -> patch review

___
Python tracker 

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



[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-02 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

I believe that this is similar to https://bugs.python.org/issue35378 on which 
@pablogsal is working.

You were right, the issue steems from a refcount bug. Until the resolution you 
can avoid the issue by explictly keeping a reference on the pool:

>>> import multiprocessing
>>> d = multiprocessing.Pool(4)
>>> tuple(d.imap(print, (1, 2, 3)))
1
2
3
(None, None, None)
>>>

--

___
Python tracker 

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



  1   2   >