[issue35579] Typo in in asyncio-task documentation

2018-12-27 Thread miss-islington
miss-islington added the comment: New changeset 3a81076bbf899b1a549f005dd9299e7ae0946321 by Miss Islington (bot) (Vaibhav Gupta) in branch 'master': bpo-35579: Fix typo in in asyncio-task documentation (GH-11321) https://github.com/python/cpython/commit/3a81076bbf899b1a549f005dd9299e7ae094632

[issue35579] Typo in in asyncio-task documentation

2018-12-27 Thread miss-islington
miss-islington added the comment: New changeset dcf14d1a9875143747cd87c66fae6e693b21c6de by Miss Islington (bot) in branch '3.7': bpo-35579: Fix typo in in asyncio-task documentation (GH-11321) https://github.com/python/cpython/commit/dcf14d1a9875143747cd87c66fae6e693b21c6de -- ___

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2018-12-27 Thread Michael Felt
Michael Felt added the comment: I have not looked at 3.6, but I have bisected the 3.7 and 3.8 branches for AIX. I get: On 3.7 Branch: Bisecting: 0 revisions left to test after this (roughly 0 steps) [56742f1eb05401a27499af0ccdcb4e4214859fd1] [3.7] bpo-35189: Retry fnctl calls on EINTR (GH-10

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2018-12-27 Thread Michael Felt
Michael Felt added the comment: Forgot to include the test failure message: == FAIL: test_all (test.test_eintr.EINTRTests) -- Traceback (most recent call last

[issue35579] Typo in in asyncio-task documentation

2018-12-27 Thread Antoine Wecxsteen
Antoine Wecxsteen added the comment: Thank you all. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35121] Cookie domain check returns incorrect results

2018-12-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have come across another behavior change between path checks while using the cookie jar implementation available in Python. This is related to incorrect cookie validation but with respect to path so let me know if this needs a separate ticket. I

[issue13927] Extra spaces in the output of time.ctime

2018-12-27 Thread Harmandeep Singh
Harmandeep Singh added the comment: I have created a PR for the patch that I submitted, as this is my first contribution to the docs, I need to know that how do we decide if a change has to make an entry to `Misc/NEWS.d/next/` or needs `skip news` tag? -- nosy: -docs@python ___

[issue35590] logging.handlers.SysLogHandler with STREAM connects in constructor without timeout

2018-12-27 Thread jso2460
jso2460 added the comment: Yes, when timeout occurs it's then caught by the OSError -- you are completely right about that. Instead my suggestion was meant to provide an option to specify a timeout when creating an instance of SysLogHandler. Currently the socket is created with default time

[issue35593] Register standard browser: Chrome

2018-12-27 Thread Emmanuel Arias
New submission from Emmanuel Arias : Hi! This issue is open to discuss the PR: https://github.com/python/cpython/pull/11327 This PR propose add "chrome" on webbrowser.register_standard_browsers for windows IMO this is a reasonable new feature simply because Chrome is commonly used. ---

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Tal Einat added the comment: New changeset c6c7237272499b2c528acb5f62601421f329e92a by Tal Einat in branch 'master': bpo-20182: AC convert remaining functions/methods in _hashopenssl.c (GH-9213) https://github.com/python/cpython/commit/c6c7237272499b2c528acb5f62601421f329e92a -- __

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Tal Einat added the comment: The conversion of Modules/_hashopenssh.c leaves just Python/sysmodule.c to be converted from this batch. There's an old patch here from 3.5 years ago that will likely need to be heavily updated. -- ___ Python tracker

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Change by Tal Einat : -- Removed message: https://bugs.python.org/msg332588 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Tal Einat added the comment: The conversion of Modules/_hashopenssl.c leaves just Python/sysmodule.c to be converted from this batch. There's an old patch here from 3.5 years ago that will likely need to be heavily updated. -- ___ Python tracker

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Tal Einat added the comment: New changeset c6c7237272499b2c528acb5f62601421f329e92a by Tal Einat in branch 'master': bpo-20182: AC convert remaining functions/methods in _hashopenssl.c (GH-9213) https://github.com/python/cpython/commit/c6c7237272499b2c528acb5f62601421f329e92a -- __

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2018-12-27 Thread Michael Felt
Michael Felt added the comment: The "improved" output after getting back to "latest" commit: == CPython 3.8.0a0 (heads/master-dirty:34ae04f74d, Dec 27 2018, 14:05:08) [C] == AIX-1-00C291F54C00-powerpc-32bit big-endian == cwd: /data/prj/python/python3-3.8/build/test_python_13566116 == CPU count

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
New submission from Daugeras : Python script generates segmentation fault I cannot find the source of the problem. How is it to debug a segfault simply in Python ? Are there recommended coding practices to avoid Segmentation Faults ? I wrote a script (1600 lines) to systematically download CS

[issue35595] Add sys flag to always show full paths in stack traces (instead of relative paths)

2018-12-27 Thread Scott Arciszewski
New submission from Scott Arciszewski : I have a wsgi script writing to a log file. The contents look like this (truncated): File "build/bdist.linux-x86_64/egg/trac/ticket/query.py", line 284, in _count % sql, args)[0][0] File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 122, in

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +10591 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +10591, 10592, 10593 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +10591, 10592 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Tal Einat added the comment: See new PR GH-11328 with updated AC conversion of Python/sysmodule.c. -- ___ Python tracker ___ ___ Py

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread hyu
New submission from hyu : >python Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings' There are two vcruntime140.dll with no binary diff. Date Time Attr Size Compressed Name --- -

[issue35597] Bug in Python's compiler

2018-12-27 Thread Fady shehata
New submission from Fady shehata : this code is completely right , and its trace is right and give the correct result but your compiler give me an incorrect result. if we input 1010 it must give 10, the compiler give ten but uncollected ten like 1122 and if we input 111 it's output by you

[issue35597] Bug in Python's compiler

2018-12-27 Thread Tim Peters
Tim Peters added the comment: `input()` returns a string, not a list. For input '1010' you're effectively computing this: >>> int('1' * 8) + int('1' * 2) # = + 11 1122 which is the correct answer. If you want your input to be a list of integers instead of a string, try, e.g.,

[issue35597] Bug in Python's compiler

2018-12-27 Thread Stefan Behnel
Stefan Behnel added the comment: I have no doubts that the code is right. However, your expectations might not be. Try to print the values inside of the loop, for each iteration, as well as their type. You'll likely be surprised what that gives. (In any case, this is not a bug. If you need

[issue35597] Bug in Python's compiler

2018-12-27 Thread Fady shehata
Fady shehata added the comment: you didn't understand me, look, if we put (10) in binary it will give (2) in decimal because ((0*2**0)+(1*2**1), but it gives the tow like that 11 it means if we add the digits in the result we will get the right result

[issue35597] Bug in Python's compiler

2018-12-27 Thread Fady shehata
Fady shehata added the comment: look at this if we input (1011) in binary it must give eleven in decimal but it gives uncollected eleven like 1123 if we add the digits in this result we will get the right result eleven [image: Capture2.PNG]

[issue35597] Bug in Python's compiler

2018-12-27 Thread Tim Peters
Tim Peters added the comment: Please read my answer again. Your code does not do what you _think_ it does. It does what I said it does instead. >>> a = input() 1010 >>> print(a) 1010 >>> print(type(a)) The input you're working with is NOT A LIST OF INTEGERS. It's a string of "0" and "1"

[issue35597] Bug in Python's compiler

2018-12-27 Thread Fady shehata
Fady shehata added the comment: yea yea i understand you and you are right thank you and sorry for this miss understanding 😊 Virus-free. www.avast.com

[issue35583] (glibc2.28/MIPS32EL) python 3.7.x interpreter segmentation fault (3.6.x/2.7.x compile fine)

2018-12-27 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Your disrespectful comments and insults are not welcome here. -- nosy: +Mariatta ___ Python tracker ___

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread Ned Deily
Change by Ned Deily : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Pytho

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Ned Deily
Ned Deily added the comment: Sorry, but without either a full traceback or code that reproduces the problem, it is impossible for us to make an intelligent guess what problem you are seeing much less suggestion a solution. -- nosy: +ned.deily ___

[issue35583] (glibc2.28/MIPS32EL) python 3.7.x interpreter segmentation fault (3.6.x/2.7.x compile fine)

2018-12-27 Thread Gagan
Gagan added the comment: of course you have more time to get sanctimonious than provide a substantive or insight comment as to what the problem is. i am not surprised, at all. -- ___ Python tracker ___

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
Daugeras added the comment: @Ned: Of course I understand your feed-back. I can provide a script to reproduce the crash. How can I do this ? -- ___ Python tracker ___

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Tal Einat added the comment: New changeset c6c7237272499b2c528acb5f62601421f329e92a by Tal Einat in branch 'master': bpo-20182: AC convert remaining functions/methods in _hashopenssl.c (GH-9213) https://github.com/python/cpython/commit/c6c7237272499b2c528acb5f62601421f329e92a -- __

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Tal Einat added the comment: New changeset c6c7237272499b2c528acb5f62601421f329e92a by Tal Einat in branch 'master': bpo-20182: AC convert remaining functions/methods in _hashopenssl.c (GH-9213) https://github.com/python/cpython/commit/c6c7237272499b2c528acb5f62601421f329e92a -- __

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2018-12-27 Thread Tal Einat
Tal Einat added the comment: New changeset c6c7237272499b2c528acb5f62601421f329e92a by Tal Einat in branch 'master': bpo-20182: AC convert remaining functions/methods in _hashopenssl.c (GH-9213) https://github.com/python/cpython/commit/c6c7237272499b2c528acb5f62601421f329e92a -- __

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread Steve Dower
Steve Dower added the comment: Have you tried a proper install as well? Could you do that to rule out any problem on your machine? Are you repackaging anything as part of your app, or are you just testing the package first and getting this error? It looks like you're running from the direct

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Ned Deily
Ned Deily added the comment: You can either paste or upload a file (click on the "Choose File" button above in the web page) with code or with crash info. For crash info, depending on the platform, there may be a Python traceback displayed in the shell session and there may be some sort of

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread Steve Dower
Steve Dower added the comment: Okay, this looks like a zipimport issue. When I extract the "python37.zip" file containing the stdlib and reference the directory it works fine. But no matter what I do to the ZIP I can't get it to run. It seems that zipimport either can't import .pyc files wit

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-27 Thread Ned Deily
Ned Deily added the comment: New changeset c540c4ec611246da0c1900fe11a807a54f5c2a0c by Ned Deily in branch '2.7': Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)" https://github.com/python/cpython/commit/c540c4ec611246da0c1900fe11a807a54f5c2a0c --

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +10594 stage: test needed -> patch review ___ Python tracker ___ ___ Pyth

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch pull_requests: +10594, 10595 stage: test needed -> patch review ___ Python tracker ___ __

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch, patch pull_requests: +10594, 10595, 10596 stage: test needed -> patch review ___ Python tracker ___

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Cheryl Sabella
New submission from Cheryl Sabella : * Apply PEP8 naming convention. * Add additional tests to get coverage (close?) to 100%. * Update to more meaningful names. * Switch to ttk widgets and revise imports. * Split toplevel class into a window class and frame class(es). -- assignee: terry

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread hyu
hyu added the comment: Repeated on two clean install Windows hosts. No (re)packaging, download and run/start python. Repeated with versions 3.7.2, 3.7.1, and 3.6.8: https://www.python.org/ftp/python/3.7.2/python-3.7.2-embed-amd64.zip https://www.python.org/ftp/python/3.7.1/python-3.7.1-embed-a

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread Steve Dower
Steve Dower added the comment: Thanks for the extra info, and for confirming that 3.6.8 isn't affected (I hadn't tried that you, so you saved me some work :) ) This is definitely a new zipimport regression in 3.7.2. Thanks for the report. -- keywords: +3.7regression -patch, patch ver

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +10597 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch pull_requests: +10597, 10598 stage: -> patch review ___ Python tracker ___ __

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch, patch pull_requests: +10597, 10598, 10599 stage: -> patch review ___ Python tracker ___

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: PR11330 is for the PEP8 naming conventions. -- stage: patch review -> ___ Python tracker ___ ___

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread miss-islington
miss-islington added the comment: New changeset 59c2aa25ffc864bf11bf3b3973828f00e268a992 by Miss Islington (bot) (Steve Dower) in branch 'master': bpo-35596: Fix vcruntime140.dll being added to embeddable distro multiple times. (GH-11329) https://github.com/python/cpython/commit/59c2aa25ffc8

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread miss-islington
Change by miss-islington : -- keywords: +patch, patch pull_requests: +10600, 10601 ___ Python tracker ___ ___ Python-bugs-list maili

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +10600 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread miss-islington
Change by miss-islington : -- keywords: +patch, patch, patch pull_requests: +10600, 10601, 10602 ___ Python tracker ___ ___ Python-b

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-27 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +10603 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-27 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +10603, 10604 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-27 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +10603, 10605 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
Daugeras added the comment: File Attached. To replicate the bug, you have to create directories for files to load (CF config data at the start of the script). The bug happens after 100-200 files are downloaded. -- Added file: https://bugs.python.org/file48019/SegfaultMinBugReplicatio

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-27 Thread miss-islington
miss-islington added the comment: New changeset a936639b22ca548c00690de6a2964f223f6787cb by Miss Islington (bot) (Ned Deily) in branch 'master': Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)" (GH-11332) https://github.com/python/cpython/commit/a936639b22c

[issue8538] Add FlagAction to argparse

2018-12-27 Thread Ken Williams
Ken Williams added the comment: @vstinner - I don't think that conclusion is correct, here is a very highly-upvoted answer on SO that indicates a lot of people are still looking for this: https://stackoverflow.com/a/15008806/169947 I myself asked a related (more focused?) question where I w

[issue8538] Add FlagAction to argparse

2018-12-27 Thread Yaniv Aknin
Change by Yaniv Aknin : -- nosy: -Yaniv.Aknin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35595] Add sys flag to always show full paths in stack traces (instead of relative paths)

2018-12-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: Python 2.7 is (almost) end of life and well beyond feature-freeze, so this can only go into 3.8 or better. Since the paths logged are relative to the current working directory, perhaps you could just have your script log the working directory? -- n

[issue35597] Bug in Python's compiler

2018-12-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: For future reference, please don't give screen shots when reporting bugs. Code is text, and we don't edit code with Photoshop. Copy and paste the text, don't take a screen shot. Screen shots make it impossible to run the code, and they are difficult for the

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2018-12-27 Thread Michael Felt
Michael Felt added the comment: On 27/12/2018 15:48, Michael Felt wrote: > Michael Felt added the comment: > > The "improved" output after getting back to "latest" commit: > > == CPython 3.8.0a0 (heads/master-dirty:34ae04f74d, Dec 27 2018, 14:05:08) [C] > == AIX-1-00C291F54C00-powerpc-32bit bi

[issue8538] Add FlagAction to argparse

2018-12-27 Thread paul j3
paul j3 added the comment: Let me highlight something about https://stackoverflow.com/a/15008806/169947 The original question was how to implement an Action that accepts 'True' or 'False' as an argument. Users often try `type=bool`, which doesn't work because of the normal behavior of the

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread Eryk Sun
Change by Eryk Sun : -- nosy: +serhiy.storchaka stage: patch review -> test needed type: -> crash ___ Python tracker ___ ___ Python

[issue21524] Allowing to pass pathlib.Path object in mimetypes.guess_type function

2018-12-27 Thread Cheryl Sabella
New submission from Cheryl Sabella : This was implemented in #34926. -- nosy: +cheryl.sabella resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Allow querying a Path's mime-type versions: +Python 3.8 -Python 3.4 ___

[issue8538] Add FlagAction to argparse

2018-12-27 Thread Eric V. Smith
Eric V. Smith added the comment: Yes, this is the correct bug tracker. And note that this code isn't mine, I just posted it here so it wouldn't be lost. It looks like the original message was from https://mail.python.org/pipermail/python-dev/2010-April/099704.html -- __

[issue31440] wrong default module search path in help message

2018-12-27 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue8538] Add FlagAction to argparse

2018-12-27 Thread Ken Williams
Ken Williams added the comment: Thanks, Paul and Eric, for your very quick replies. You're quite correct, the original question in https://stackoverflow.com/a/15008806/169947 is indeed hoping for `--foo TRUE` and `--foo False` etc. to work. Personally I don't like that as much as the GNU-s

[issue35402] Upgrade macOS and Windows installers to Tcl 8.6.9 and Tk 8.6.9.1

2018-12-27 Thread Ned Deily
Ned Deily added the comment: See discussion in Issue35485. Regressions were found on macOS with Tk 8.6.9.1 and with the more recent Tk 8.6 maintenance branch top of trunk. So for python.org macOS installers, we have reverted to Tcl/Tk 8.6.8. Windows builds will continue to use 8.6.9 unless

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2018-12-27 Thread miss-islington
miss-islington added the comment: New changeset bbf695441af9def8a121ff3e245415d9fc0bab9a by Miss Islington (bot) in branch '3.7': bpo-35596: Fix vcruntime140.dll being added to embeddable distro multiple times. (GH-11329) https://github.com/python/cpython/commit/bbf695441af9def8a121ff3e24541

[issue35587] Python 3.7.2 Embed - zipimport.ZipImportError (Cannot load python37.zip)

2018-12-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be related to issue35596. -- nosy: +serhiy.storchaka, steve.dower, xtreak ___ Python tracker ___

[issue35599] asyncio windows_events.py IocpProactor bug

2018-12-27 Thread Jeff Robbins
New submission from Jeff Robbins : The close() method of IocpProactor in windows_events.py has this code in its close() method: while self._cache: if not self._poll(1): logger.debug('taking long time to close proactor') The bug is that self._poll() has *no*

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10599 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10598 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue28097] IDLE: document all key bindings, add menu items for more.

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35600] Expose siphash

2018-12-27 Thread Dima Tisnek
New submission from Dima Tisnek : Just recently, i found rolling my own simple hash for strings. (task was to distribute tests across executors, stably across invocations, no external input, no security) In the old days I'd just `hash(some_variable)` but of course now I cannot. `hashlib.sha*`

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am going to merge on the presumption that you will follow through at least with more tests. Currently missing other than mac-code, according to coverage output: switch from 'advanced to basic and calls to final_key_selected, build_key_string, get_modifier

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you submit further PRs for this issue, the blurb will need to be changed as blurbs are for issues, not PRs. -- ___ Python tracker ___ ___

[issue28097] IDLE: document all key bindings, add menu items for more.

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10590 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue28097] IDLE: document all key bindings, add menu items for more.

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10589 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35600] Expose siphash

2018-12-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: > In the old days I'd just `hash(some_variable)` but of course now I cannot. I'm sorry, I don't understand... why can't you? py> text = "NOBODY expects the Spanish Inquisition!" py> hash(text) 1245575277 There's also this: py> hashlib.md5(text.encode('utf

[issue35568] Expose the C raise() function in the signal module, for use on Windows

2018-12-27 Thread Vladimir Matveev
Change by Vladimir Matveev : -- keywords: +patch pull_requests: +10606 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35568] Expose the C raise() function in the signal module, for use on Windows

2018-12-27 Thread Vladimir Matveev
Change by Vladimir Matveev : -- keywords: +patch, patch pull_requests: +10606, 10607 stage: -> patch review ___ Python tracker ___

[issue35568] Expose the C raise() function in the signal module, for use on Windows

2018-12-27 Thread Vladimir Matveev
Change by Vladimir Matveev : -- keywords: +patch, patch, patch pull_requests: +10606, 10607, 10608 stage: -> patch review ___ Python tracker ___ __

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-27 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : There is a race condition in FAIL: test_signal_handling_args (test.test_asyncio.test_events.KqueueEventLoopTests) in macOS: https://buildbot.python.org/all/#/builders/147/builds/546/steps/4/logs/stdio

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +10609, 10610 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +10609 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 55698cc39549523cafc13cc8dd47960d8f73a59f by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-35598: IDLE: Update config_key.py with PEP8 names (GH-11330) https://github.com/python/cpython/commit/55698cc39549523cafc13cc8dd47960d8f73a59f

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +10609, 10610, 10611 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +10612 stage: -> patch review ___ Python tracker ___ ___ Pytho

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +10612, 10613 stage: -> patch review ___ Python tracker ___ ___

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch, patch pull_requests: +10612, 10613, 10614 stage: -> patch review ___ Python tracker ___ _

[issue35600] Expose siphash

2018-12-27 Thread Dima Tisnek
Dima Tisnek added the comment: Steven, my requirement calls for same hash on multiple machines. Python's hash (for strings) is keyed with a random value. You are correct that `hash(tuple(map(ord, str(something` is stable. In the worst case, I could override `PYTHONHASHSEED` globally. I

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10611 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread miss-islington
miss-islington added the comment: New changeset 4c7f34f73d2d16303798fc4a7043e641cee58e51 by Miss Islington (bot) in branch '3.7': bpo-35598: IDLE: Update config_key.py with PEP8 names (GH-11330) https://github.com/python/cpython/commit/4c7f34f73d2d16303798fc4a7043e641cee58e51 -- nos

[issue35598] IDLE: Modernize config_key module

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: -10610 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

  1   2   >