[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread INADA Naoki


Change by INADA Naoki :


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



[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-06-10 Thread Poul-Henning Kamp


Poul-Henning Kamp  added the comment:

I was just playing with it in a prototype and noticed that it didn't work.

--

___
Python tracker 

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



[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread Ned Deily


Change by Ned Deily :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions:  -Python 2.7, Python 3.6

___
Python tracker 

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



[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread Tal Einat


Tal Einat  added the comment:

The change is not entirely backward-compatible, so not back-porting before 3.7 
seems good to me. IMO this should be closed.

--

___
Python tracker 

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



[issue33825] Change mentions of "magic" attributes to "special"

2018-06-10 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Both terms are in common use.  There is no need to elide the word "special".

--
nosy: +rhettinger

___
Python tracker 

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



[issue33745] 3.7.0b5 changes the line number of empty functions with docstrings

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:

The 3.7 What's New has been updated as Nick suggested.  Thanks, Nick, and 
thanks, Ned, for bringing it up!

--
priority: deferred blocker -> 
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



[issue33745] 3.7.0b5 changes the line number of empty functions with docstrings

2018-06-10 Thread miss-islington


miss-islington  added the comment:


New changeset 14a190c88273fb22d9439bbed394f19f21e8a0f9 by Miss Islington (bot) 
in branch '3.7':
bpo-33745: Add What's New for empty function docstring change. (GH-7611)
https://github.com/python/cpython/commit/14a190c88273fb22d9439bbed394f19f21e8a0f9


--
nosy: +miss-islington

___
Python tracker 

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



[issue33745] 3.7.0b5 changes the line number of empty functions with docstrings

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7237

___
Python tracker 

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



[issue33745] 3.7.0b5 changes the line number of empty functions with docstrings

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 12c6cdf4d16078aa09de32a39193c8161177b39d by Ned Deily in branch 
'master':
bpo-33745: Add What's New for empty function docstring change. (GH-7611)
https://github.com/python/cpython/commit/12c6cdf4d16078aa09de32a39193c8161177b39d


--

___
Python tracker 

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



[issue33745] 3.7.0b5 changes the line number of empty functions with docstrings

2018-06-10 Thread Ned Deily


Change by Ned Deily :


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

___
Python tracker 

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



[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset a73399d5963d6b1639d935968f4a8baa868c39d3 by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
bpo-33109: Remove now-obsolete What's New entry for bpo-26510. (GH-7609) 
(GH-7610)
https://github.com/python/cpython/commit/a73399d5963d6b1639d935968f4a8baa868c39d3


--

___
Python tracker 

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



[issue26510] [argparse] Add required argument to add_subparsers

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset a73399d5963d6b1639d935968f4a8baa868c39d3 by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
bpo-33109: Remove now-obsolete What's New entry for bpo-26510. (GH-7609) 
(GH-7610)
https://github.com/python/cpython/commit/a73399d5963d6b1639d935968f4a8baa868c39d3


--

___
Python tracker 

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



[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7234

___
Python tracker 

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



[issue26510] [argparse] Add required argument to add_subparsers

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7235

___
Python tracker 

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



[issue26510] [argparse] Add required argument to add_subparsers

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset ef057bfb06cae0718e6d708061649d2e3983e2ef by Ned Deily in branch 
'master':
bpo-33109: Remove now-obsolete What's New entry for bpo-26510. (GH-7609)
https://github.com/python/cpython/commit/ef057bfb06cae0718e6d708061649d2e3983e2ef


--

___
Python tracker 

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



[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset ef057bfb06cae0718e6d708061649d2e3983e2ef by Ned Deily in branch 
'master':
bpo-33109: Remove now-obsolete What's New entry for bpo-26510. (GH-7609)
https://github.com/python/cpython/commit/ef057bfb06cae0718e6d708061649d2e3983e2ef


--

___
Python tracker 

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



[issue33109] argparse: make new 'required' argument to add_subparsers default to False instead of True

2018-06-10 Thread Ned Deily


Change by Ned Deily :


--
pull_requests: +7232

___
Python tracker 

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



[issue26510] [argparse] Add required argument to add_subparsers

2018-06-10 Thread Ned Deily


Change by Ned Deily :


--
pull_requests: +7233

___
Python tracker 

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



[issue33825] Change mentions of "magic" attributes to "special"

2018-06-10 Thread Andrés Delfino

New submission from Andrés Delfino :

PR makes all documentation use the same term.

--
assignee: docs@python
components: Documentation
messages: 319263
nosy: adelfino, docs@python
priority: normal
severity: normal
status: open
title: Change mentions of "magic" attributes to "special"
versions: Python 2.7, 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



[issue33825] Change mentions of "magic" attributes to "special"

2018-06-10 Thread Andrés Delfino

Change by Andrés Delfino :


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

___
Python tracker 

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



[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:

As I noted in the discussion on PR 6731, I think there should be a test for 
this so we don't break it again.  But, since it seems that the problem has 
affected a number of users and projects and since the fix is easy and easily 
testable manually, I decided to merge the PR for 3.7.0rc1 and 3.6.6rc1.  I am 
leaving the issue open for someone to supply a PR with a test case and for 
discussion of PR 7415.  Thank you all!

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



[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 3e121581d008a780b8a9f1bcda5966cf0c06f6d5 by Ned Deily (Miss 
Islington (bot)) in branch '3.6':
bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) 
(GH-7607)
https://github.com/python/cpython/commit/3e121581d008a780b8a9f1bcda5966cf0c06f6d5


--

___
Python tracker 

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



[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset ec4343c3b4c0e0a7500122fac616e6488c0ab842 by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731) 
(GH-7606)
https://github.com/python/cpython/commit/ec4343c3b4c0e0a7500122fac616e6488c0ab842


--

___
Python tracker 

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



[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:

Sigh!  I was hoping we could get this in for 3.7.0 but I think we have run out 
of time and we really should not be making potential user-visible API changes 
at this last minute.  I did notice the new compile warning for the Windows 
non-debug build but I overlooked that some other non-Windows buildbots were 
getting them, too.  Serihy proposes a more general fix in Issue33818 but I 
don't think we should be making a change like that just prior to the release 
candidate.

And, in retrospect, I should not have considered trying to fix the stable ABI 
support at this late date, either. It looks like it has been broken for some 
time now so 3.7.0 will not be any worse.  At this point, we have Christian's 
two PRs in master now; if necessary, they could be reverted.  I will bow out of 
this discussion and let you all figure out what is best for master/3.8.  Once 
the changes for master are in and working, we could revisit the question of 
backports to 3.7 and/or 3.6 maintenance releases. I would like to both thank 
and apologize to Christian, in particular, and to Serhiy and everyone else who 
went out of their ways to try to get this in.

Lowering priority to "critical".

--
priority: release blocker -> critical
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



[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7230

___
Python tracker 

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



[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7229

___
Python tracker 

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



[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 2487f30d5529948ace26559e274d7cac6abcd1a8 by Ned Deily (Steve 
Weber) in branch 'master':
bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731)
https://github.com/python/cpython/commit/2487f30d5529948ace26559e274d7cac6abcd1a8


--
nosy: +ned.deily

___
Python tracker 

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



[issue33462] reversible dict

2018-06-10 Thread INADA Naoki


INADA Naoki  added the comment:

My patch was quick and dirty.
Please read _collections_abc module and follow the style. (you need to use
temporary variables.)
And new reviter types can be registered to Iterator ABC too.
-- 
INADA Naoki  

--

___
Python tracker 

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



[issue22454] Adding the opposite function of shlex.split()

2018-06-10 Thread bbayles


Change by bbayles :


--
nosy: +bbayles

___
Python tracker 

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



[issue22454] Adding the opposite function of shlex.split()

2018-06-10 Thread bbayles


Change by bbayles :


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

___
Python tracker 

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



[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 8398713cea0eb17b013f25f86bef47c7e5e63139 by Ned Deily (Christian 
Tismer) in branch 'master':
bpo-33738: Address review comments in GH #7477 (GH-7585)
https://github.com/python/cpython/commit/8398713cea0eb17b013f25f86bef47c7e5e63139


--

___
Python tracker 

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



[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests: +7227

___
Python tracker 

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



[issue33818] Make PyExceptionClass_Name returning a const string

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:

While I think the change makes sense aesthetically, I do not see a compelling 
reason why such a user interface change should be introduced to 3.7 at 
literally the last moment.  Let's do it for 3.8, please.

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



[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky


Change by Alexander Belopolsky :


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



[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky


Alexander Belopolsky  added the comment:


New changeset 1d4089b5d208ae6f0bd256304fd77f04c0b4fd41 by Alexander Belopolsky 
(Miss Islington (bot)) in branch '3.6':
bpo-33812: Corrected astimezone for naive datetimes. (GH-7578) (GH-7601)
https://github.com/python/cpython/commit/1d4089b5d208ae6f0bd256304fd77f04c0b4fd41


--

___
Python tracker 

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



[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky


Alexander Belopolsky  added the comment:


New changeset 037e9125527d4a55af566f161c96a61b3c3fd998 by Alexander Belopolsky 
(Miss Islington (bot)) in branch '3.7':
bpo-33812: Corrected astimezone for naive datetimes. (GH-7578) (GH-7600)
https://github.com/python/cpython/commit/037e9125527d4a55af566f161c96a61b3c3fd998


--

___
Python tracker 

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



[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:

Backported for 3.7.0rc1 and 3.6.6rc1.  Thanks, all!

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



[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 040d4a7b5899b9635c6997c5ecb91f8299f0b352 by Ned Deily (Miss 
Islington (bot)) in branch '3.6':
bpo-33748: fix tests altering sys.path and sys.modules (GH-7433) (GH-7603)
https://github.com/python/cpython/commit/040d4a7b5899b9635c6997c5ecb91f8299f0b352


--

___
Python tracker 

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



[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 298eb07faa66da9c588bd82db14a6eef64167ede by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
bpo-33748: fix tests altering sys.path and sys.modules (GH-7433) (#7604)
https://github.com/python/cpython/commit/298eb07faa66da9c588bd82db14a6eef64167ede


--
nosy: +ned.deily

___
Python tracker 

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



[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:

I backported Tal's fix for 3.7.0rc1.  I am less certain about backporting to 
3.6 and 2.7 at this stage of their lives but I don't have a strong feeling 
about it so I'll leave the issue open for that.

--

___
Python tracker 

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



[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:


New changeset 053d6c5ce246e6ba9c046467b02a0b6ba4abb8bf by Ned Deily (Miss 
Islington (bot)) in branch '3.7':
bpo-33770: improve base64 exception message for encoded inputs of invalid 
length (GH-7416) (GH-7602)
https://github.com/python/cpython/commit/053d6c5ce246e6ba9c046467b02a0b6ba4abb8bf


--
nosy: +ned.deily

___
Python tracker 

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



[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7226

___
Python tracker 

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



[issue33770] base64 throws 'incorrect padding' exception when the issue is NOT with the padding

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7224

___
Python tracker 

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



[issue33748] test_discovery_failed_discovery in test_unittest modifies sys.path

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7225

___
Python tracker 

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



[issue13153] IDLE 3.x on Windows crashes when pasting non-BMP unicode

2018-06-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

AFAIK, the big new feature of tcl/tk 9.0 is intended to be full unicode 
support.  We can hope that 9.0 appears in time to be included in the 3.8 
installers.

Until then, I think filenames, user program output, and clipboard content 
should be checked for the presence of astral characters before being sent to a 
tk widget. For this issue, that means replacing the built-in <> handler. 
 Replace astral chars with \U000 escapes.  If the widget it a Text, tag the 
escape as 'Astral' and color it with the code context colors to distinguish it 
from escapes originally in the string.

Strings know their kind, but a request to expose that has been rejected.  
Pyshell currently compares the max codepoint to ''.  But it appears that we 
can detect kind with an O(1) expression.  For 3.6 and 3.7, "sys.getsizeof(s) == 
76 + len(s)".  For 3.8, "sys.getsizeof(s) == 48 + len(s)".  Does anyone know 
why the difference?

--

___
Python tracker 

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



[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7223

___
Python tracker 

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



[issue33462] reversible dict

2018-06-10 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

Hi INADA thanks for the benchmark, I did both of them too and got the same 
results (though I had to apply https://github.com/python/performance/pull/41 to 
get the performance module working).

Should I apply your patch in PR 6827?

--

___
Python tracker 

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



[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7222
stage: commit review -> patch review

___
Python tracker 

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



[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky


Alexander Belopolsky  added the comment:


New changeset 877b23202b7e7d4f57b58504fd0eb886e8c0b377 by Alexander Belopolsky 
in branch 'master':
bpo-33812: Corrected astimezone for naive datetimes. (GH-7578)
https://github.com/python/cpython/commit/877b23202b7e7d4f57b58504fd0eb886e8c0b377


--

___
Python tracker 

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



[issue32493] UUID Module - FreeBSD build failure

2018-06-10 Thread Michael Felt


Michael Felt  added the comment:

I was not aware that _uuid was new to python3-3.7. I thought it had been around 
for a long time. 

Bpo-28009 goes back two years and i was unaware of uuid_create(). 

Would it be easier to split it into 3 issues? One for unixdll, one for netstat, 
and one for test_uuid?

Michael

Sent from my iPhone

> On 10 Jun 2018, at 13:52, STINNER Victor  wrote:
> 
> 
> STINNER Victor  added the comment:
> 
>> As noted on PR 7511 and PR 7567, I have merged Michael's configure.ac fixes 
>> for testing for uuid_enc_be availability (independent of platform) that were 
>> incorrect in earlier commits for this issue.  Merged for 3.7.0rc1 and master 
>> (3.8). Thanks, everyone!
> 
> Thanks you Ned and Michael. Sorry for the confusion. I was first confused 
> that the fix for master added a lot of code using ctypes. The final fix is 
> the right fix for 3.7 and master ;-)
> 
> Michael: if you want to fix uuid on 3.6, I would suggest to open a new issue, 
> because it seems that the fix is much more complex and unrelated to _uuid 
> (module added to Python 3.7).
> 
> --
> 
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

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



[issue23831] tkinter canvas lacks of moveto method.

2018-06-10 Thread Matthias Kievernagel


Change by Matthias Kievernagel :


--
nosy: +mkiever

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread miss-islington


miss-islington  added the comment:


New changeset 08a1b133925f50903691c77fa9c23b618abc89f2 by Miss Islington (bot) 
in branch '3.6':
bpo-33610: Update IDLE Code Context doc entry (GH-7597)
https://github.com/python/cpython/commit/08a1b133925f50903691c77fa9c23b618abc89f2


--

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread miss-islington


miss-islington  added the comment:


New changeset 2adfeef1853262b207a1993e523f0f3ba708dd9f by Miss Islington (bot) 
in branch '3.7':
bpo-33610: Update IDLE Code Context doc entry (GH-7597)
https://github.com/python/cpython/commit/2adfeef1853262b207a1993e523f0f3ba708dd9f


--
nosy: +miss-islington

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

General Update: We have done 1, 3, 7, 8, 9, 11, 17, 21.  Very nice.  A 
re-organized list of the remainder (with old numbers).

Docs:
D1: idle.rst subsection on Code Context (19, see #33642).
D2: What's New in 3.6.6 and 3.7.0 (20).

Menu
M1: put Code Context and Zoom Height on same menu (5).
M2: Add Show/Hide Code Context (5).
M3. Gray out menu entry when not applicable (6).
M3: Shortcut for CC? (new),

Code Context Display
C1. Add vertical scrollbar if lines > maxlines (12).
C2. Add horizontal scrollbar if add to text (13).

Internal Changes
I1. Unspecified code cleanups for codecontext.py (2)
I2. Reduce events (4). Font change notification (15). Text active or text 
changed notification (16).

External Changes
E1. Mark blocks in editor (10, unlikely).
E2. Navigate by blocks in editor (14).
E3. Error check maxlines in configdialog (18).

D1 is PR 7579 and backports.  D2 was done on #33820 and #33821.

For M1, I would still like to move Zoom Height to Options with a separate bar 
after IDLE settings.

--
keywords: +3.5regression -patch
stage: patch review -> 

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7220

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7221

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset af4b0130d44bf8a1ff4f7b46195d1dc79add444a by Terry Jan Reedy in 
branch 'master':
 bpo-33610: Update IDLE Code Context doc entry (GH-7597)
https://github.com/python/cpython/commit/af4b0130d44bf8a1ff4f7b46195d1dc79add444a


--

___
Python tracker 

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



[issue33824] Settign LANG=C modifies the --version behavior

2018-06-10 Thread Ned Deily


Ned Deily  added the comment:

Odd. I see the same behavior with the python.org macOS builds so it's not just 
Fedora.

--
nosy: +ned.deily

___
Python tracker 

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



[issue33824] Settign LANG=C modifies the --version behavior

2018-06-10 Thread Miro Hrončok

New submission from Miro Hrončok :

On 3.6, setting LANG to C did not affect the --version behavior:

$ python3.6 --version
Python 3.6.5

$ LANG=C python3.6 --version
Python 3.6.5

On 3.7.0b5 it does.

$ python3.7 --version
Python 3.7.0b5

$ LANG=C python3.7 --version
Python 3.7.0b5 (default, Jun  1 2018, 03:54:41) 
[GCC 8.1.1 20180502 (Red Hat 8.1.1-1)]



My locale:

LANG=cs_CZ.utf8
LC_CTYPE="cs_CZ.utf8"
LC_NUMERIC="cs_CZ.utf8"
LC_TIME="cs_CZ.utf8"
LC_COLLATE="cs_CZ.utf8"
LC_MONETARY="cs_CZ.utf8"
LC_MESSAGES="cs_CZ.utf8"
LC_PAPER="cs_CZ.utf8"
LC_NAME="cs_CZ.utf8"
LC_ADDRESS="cs_CZ.utf8"
LC_TELEPHONE="cs_CZ.utf8"
LC_MEASUREMENT="cs_CZ.utf8"
LC_IDENTIFICATION="cs_CZ.utf8"
LC_ALL=


BTW I'm running Fedora builds of Python, where we have PEP 538 on 3.6 as well 
https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale

--
messages: 319238
nosy: hroncok
priority: normal
severity: normal
status: open
title: Settign LANG=C modifies the --version behavior
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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington


miss-islington  added the comment:


New changeset 969759e11ecfbd662642ba4fb23159faf56ee859 by Miss Islington (bot) 
in branch '3.6':
bpo-33820: Fix IDLE What's New typo (GH-7594)
https://github.com/python/cpython/commit/969759e11ecfbd662642ba4fb23159faf56ee859


--

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington


miss-islington  added the comment:


New changeset 3da01813c83d23922798b398bc00f465593c80da by Miss Islington (bot) 
in branch '3.7':
bpo-33820: Fix IDLE What's New typo (GH-7594)
https://github.com/python/cpython/commit/3da01813c83d23922798b398bc00f465593c80da


--

___
Python tracker 

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



[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-10 Thread Terry J. Reedy


Change by Terry J. Reedy :


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

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7218

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7217

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 820c53ac612e9c4b3cb3e831537a15d5e953bbc0 by Terry Jan Reedy in 
branch 'master':
bpo-33820: Fix IDLE What's New typo (#7594)
https://github.com/python/cpython/commit/820c53ac612e9c4b3cb3e831537a15d5e953bbc0


--

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
pull_requests: +7216

___
Python tracker 

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



[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread miss-islington


miss-islington  added the comment:


New changeset 1ed8294924a9a47fb6f98f88cc7340a5512c75c3 by Miss Islington (bot) 
in branch '3.7':
bpo-33821: Update idlelib subsection of What's New 3.7 (GH-7590)
https://github.com/python/cpython/commit/1ed8294924a9a47fb6f98f88cc7340a5512c75c3


--
nosy: +miss-islington

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington


miss-islington  added the comment:


New changeset 8ecd7f6d528703242b3c77aba5c91df13abe863c by Miss Islington (bot) 
in branch '3.6':
bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)
https://github.com/python/cpython/commit/8ecd7f6d528703242b3c77aba5c91df13abe863c


--

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington


miss-islington  added the comment:


New changeset 953d300ffad108b036f483307b04b09872b162d9 by Miss Islington (bot) 
in branch '3.7':
bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)
https://github.com/python/cpython/commit/953d300ffad108b036f483307b04b09872b162d9


--
nosy: +miss-islington

___
Python tracker 

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



[issue33823] A BUG in concurrent/asyncio

2018-06-10 Thread Yury Selivanov


Yury Selivanov  added the comment:

> which results in the resulting statistics of the last code run cannot be 
> promised to be separated.

I'm sorry but I cannot parse your message and the attached code snippet. Please 
try to formulate the actual bug/feature request more clearly.

--

___
Python tracker 

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



[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7215

___
Python tracker 

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



[issue33812] Different behavior between datetime.py and its C accelerator

2018-06-10 Thread Alexander Belopolsky


Change by Alexander Belopolsky :


--
stage: patch review -> commit review
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



[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 222f7f40339238b3d2c803849c75e682725449d7 by Terry Jan Reedy in 
branch 'master':
bpo-33821: Update idlelib subsection of What's New 3.7 (#7590)
https://github.com/python/cpython/commit/222f7f40339238b3d2c803849c75e682725449d7


--

___
Python tracker 

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



[issue33823] A BUG in concurrent/asyncio

2018-06-10 Thread Python++


Change by Python++ :


Added file: https://bugs.python.org/file47637/BUG for concurrent.futures(Found 
by william).py

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7214

___
Python tracker 

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



[issue33823] A BUG in concurrent/asyncio

2018-06-10 Thread Python++


New submission from Python++ :

ProcessPoolExecutor cannot specify the number of cores when running the 
Muti-Sub Event Loops, which results in the resulting statistics of the last 
code run cannot be promised to be separated.

I'm deep hoping some genius can propose a solution and fix these problems.

--
components: asyncio
messages: 319229
nosy: Python++, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: A BUG in concurrent/asyncio
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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7213

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset e226eb71575ad22a6779b02941377665831cfff2 by Terry Jan Reedy in 
branch 'master':
bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)
https://github.com/python/cpython/commit/e226eb71575ad22a6779b02941377665831cfff2


--

___
Python tracker 

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



[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread Terry J. Reedy


Change by Terry J. Reedy :


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

___
Python tracker 

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



[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-10 Thread Tey


Tey  added the comment:

BTW, problem does appear in 3.4 as it's only been fixed in 3.5+ as a fix for 
issue #25270

--

___
Python tracker 

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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy


Change by Terry J. Reedy :


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

___
Python tracker 

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



[issue33817] PyString_FromFormatV() fails to build empty strings

2018-06-10 Thread Tey


Tey  added the comment:

For the record, it does not fail on 3.x because _PyBytes_Resize() checks if the 
"string" needs to be resized (and returns if not) before checking its ref 
count. Maybe something similar should be done in _PyString_Resize() for 2.x.

--

___
Python tracker 

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



[issue33822] IDLE subsection of What's New 3.8

2018-06-10 Thread Terry J. Reedy


New submission from Terry J. Reedy :

Following #33821, master issue for IDLE entries in Doc/whatsnew/3.8.rst.  This 
doc has a section 'Improved Modules' with a subsection 'idlelib and IDLE'.  The 
initial unlabeled subsubsection includes important enhancements to IDLE since 
3.7.0.

Because of IDLE's special backport policy (PEP 434), this initial part 
concludes with "The changes above have been backported to 3.7 maintenance 
releases."  Future subsubsections 'New in 3.8.z:', z >= 1, will follow for 
backports to 3.8.z.  This issue will close after the last 3.8 maintenance 
release.

This file will always exists in the master branch.  Changes are applied to 
master and backported as needed at the time.  Entries will be the same in the 
What's New x.y for all x.y branches that get the enhancement.  However, each 
file needs different backports.  Hence separate PRs are needed for auto 
backport to work.  It seems convenient to have separate issues for each.

--
assignee: terry.reedy
components: IDLE
messages: 319225
nosy: terry.reedy
priority: normal
severity: normal
status: open
title: IDLE subsection of What's New 3.8
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



[issue33821] IDLE subsection of What's New 3.7

2018-06-10 Thread Terry J. Reedy


New submission from Terry J. Reedy :

Following #33820, master issue for future IDLE entries in Doc/whatsnew/3.7.rst. 
 This doc has a section 'Improved Modules' with a subsection 'idlelib and 
IDLE'.  The initial unlabeled subsubsection includes important enhancements to 
IDLE since 3.6.0.  This issue starts with the last of these.

Because of IDLE's special backport policy, PEP 434, this initial part concludes 
with "The changes above have been backported to 3.6 maintenance releases."  
Future subsubsections 'New in 3.7.z:', z >= 1, will follow for backport to 
3.7.z.  It will close after the last 3.7 maintenance release.

This file also exists in the master (currently 3.8) branch.  Changes are 
applied to master and backported to 3.7.  Normally, entries will be the same as 
in What's New , but this will not exist in 3.6.  Hence each What's New 
file needs different backports.  Hence separate PRs are needed for auto 
backport to work.  It seems convenient to have separate issues for each.

--
assignee: terry.reedy
components: IDLE
messages: 319224
nosy: terry.reedy
priority: normal
severity: normal
status: open
title: IDLE subsection of What's New 3.7
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



[issue33820] IDLE subsection of What's New 3.6

2018-06-10 Thread Terry J. Reedy


New submission from Terry J. Reedy :

Master issue for future IDLE entries in Doc/whatsnew/3.6.rst.  This doc has a 
section 'Improved Modules' with a subsection 'idlelib and IDLE' with 
subsubsections 'New in 3.6.z:'.  This issue starts with 3.6.6.
It will close after the last 3.6 maintenance release.

This file also exists in the master (3.8) and 3.7 branches.  Changes are 
applied to master and backported to 3.7 and 3.6.  Normally, entries are the 
same as in What's New 3.8 and 3.7, but those files do not exist in 3.6.  Hence 
each file needs different backport.  Hence separate PRs are needed for auto 
backport to work.

--
assignee: terry.reedy
components: IDLE
messages: 319223
nosy: terry.reedy
priority: normal
severity: normal
status: open
title: IDLE subsection of What's New 3.6
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

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



[issue32108] configparser bug: section is emptied if you assign a section to itself

2018-06-10 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
pull_requests: +7210

___
Python tracker 

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



[issue29750] smtplib doesn't handle unicode passwords

2018-06-10 Thread R. David Murray


Change by R. David Murray :


--
stage:  -> needs patch
versions: +Python 3.8 -Python 3.7

___
Python tracker 

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



[issue29750] smtplib doesn't handle unicode passwords

2018-06-10 Thread R. David Murray


R. David Murray  added the comment:

Note: it is definitely the case, regardless of what the RFC says, that binary 
passwords need to be supported.  utf-8 should probably be used as the default 
encoding for string passwords, rather than ascii.  See also #33741.

--

___
Python tracker 

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



[issue29750] smtplib doesn't handle unicode passwords

2018-06-10 Thread R. David Murray


Change by R. David Murray :


--
nosy: +JustAnother1, giampaolo.rodola, taleinat

___
Python tracker 

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



[issue33741] UnicodeEncodeError onsmtplib.login(MAIL_USER, MAIL_PASSWORD)

2018-06-10 Thread R. David Murray


R. David Murray  added the comment:

Duplicate of #29750.  TLDR: smtplib needs to be fixed to handle binary 
passwords, and probably to use utf-8 as the default encoding for unicode 
passwords.

--
nosy: +r.david.murray
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> smtplib doesn't handle unicode passwords

___
Python tracker 

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



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

2018-06-10 Thread Yury Selivanov


Yury Selivanov  added the comment:

Since it a minor change we can reconsider it as s bug fix. Feel free to make a 
pr.

--

___
Python tracker 

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



[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-10 Thread Tal Einat


Tal Einat  added the comment:

PR ready for review.

--
nosy: +taleinat

___
Python tracker 

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



[issue33573] statistics.median does not work with ordinal scale, add doc

2018-06-10 Thread Tal Einat


Change by Tal Einat :


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



[issue33819] Mention "ordered mapping" instead of "ordered dictionary" in email module

2018-06-10 Thread Andrés Delfino

Change by Andrés Delfino :


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

___
Python tracker 

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



[issue33819] Mention "ordered mapping" instead of "ordered dictionary" in email module

2018-06-10 Thread Andrés Delfino

New submission from Andrés Delfino :

IMHO, we should replace the "ordered dictionary" with "ordered mapping" now 
that regular dictionaries are ordered.

I'm proposing "ordered mapping" instead of "dictionary" because there's no 
actual dictionary behind; it's just a "conceptual model".

PR changes this.

--
assignee: docs@python
components: Documentation
messages: 319218
nosy: adelfino, docs@python
priority: normal
severity: normal
status: open
title: Mention "ordered mapping" instead of "ordered dictionary" in email module
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



[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Christian Tismer


Christian Tismer  added the comment:

@Victor
I cannot test on Windows because I'm in vacation.
But it is very likely similar to bpo-33614 .
The three missing symbols which are listed in python3.def
do clearly come into existence when the limited API is active.

--

___
Python tracker 

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



[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-10 Thread Christian Tismer


Change by Christian Tismer :


--
pull_requests: +7207

___
Python tracker 

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



[issue33741] UnicodeEncodeError onsmtplib.login(MAIL_USER, MAIL_PASSWORD)

2018-06-10 Thread Tal Einat


Tal Einat  added the comment:

We definitely need an expert to weigh in on this.

--
nosy: +giampaolo.rodola

___
Python tracker 

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



[issue32561] Add API to io objects for non-blocking reads/writes

2018-06-10 Thread Giampaolo Rodola'


Giampaolo Rodola'  added the comment:

Gotcha. Thanks for clarifying.

--

___
Python tracker 

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



[issue32561] Add API to io objects for non-blocking reads/writes

2018-06-10 Thread Nathaniel Smith


Nathaniel Smith  added the comment:

The idea here is *not* to avoid using a thread pool in general. When the data 
is on disk, using a thread pool is (a) unavoidable, because of how operating 
system kernels are written, and (b) basically fine anyway, because the overhead 
added by threads is swamped by the cost of disk access. So for the foreseeable 
future, we're always going to be using a thread pool for actual disk access.

But, if the data *is already in memory*, so the read can succeed without 
hitting the disk, then using a thread pool is *not* fine. Fetching data out of 
memory is super super cheap, so if that's all we're doing then using a thread 
pool adds massive overhead, in relative terms. We'd like to skip using the 
thread pool *specifically in this case*.

So the idea would be: first, attempt a "buffer-only" read. If it succeeds, then 
great we're done and it was really cheap. Otherwise, if it fails, then we know 
we're in the data-on-disk case, so we dispatch the operation to the thread pool.

--

___
Python tracker 

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



  1   2   >