[issue35591] IDLE: Traceback on Find Selection

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

[issue35591] IDLE: Traceback on Find Selection

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

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +10621, 10622 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +10621 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +10621, 10622, 10623 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c465682718f15cd3deb6b37db5fb607718ac64ed by Terry Jan Reedy in branch 'master': bpo-35591: IDLE Find Selection now works when selection not found (GH-11339) https://github.com/python/cpython/commit/c465682718f15cd3deb6b37db5fb607718ac64ed

[issue35600] Expose siphash

2018-12-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Steven, my requirement calls for same hash on multiple machines. > Python's hash (for strings) is keyed with a random value. Ah, of course it does, I forgot about that. The only problem with exposing siphash is that we are exposing a private

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I expect that people have run into this. But since callback exceptions do not crash IDLE, the only symptom when not running from a terminal is the lack of the 'bell' sound. -- ___ Python tracker

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

2018-12-27 Thread Steve Dower
Change by Steve Dower : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings' ___

[issue35591] IDLE: Traceback on Find Selection

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

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch, patch pull_requests: +10618, 10619, 10620 stage: commit review -> patch review ___ Python tracker ___

[issue35591] IDLE: Traceback on Find Selection

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

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch, patch pull_requests: +10618, 10619 stage: commit review -> patch review ___ Python tracker ___

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +10618 stage: commit review -> patch review ___ Python tracker ___

[issue35600] Expose siphash

2018-12-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: How about using one of these modules? https://pypi.org/search/?q=siphash -- nosy: +benjamin.peterson ___ Python tracker ___

[issue35591] IDLE: Traceback on Find Selection

2018-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for reporting this. It is easy to trigger. And after a bit of analysis, easy to fix. self.bell is set as top.bell in searchbase.SearchDialogBase.create_widgets(). The latter is called by SDB.open(), which is called for Find, Find-again if there

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

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

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

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

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

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

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

2018-12-27 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : According to this buildbot: https://buildbot.python.org/all/#/builders/170/builds/218/steps/4/logs/stdio there is some cleanup failure in test_sock_sendfile_os_error_first_call: test_sock_sendfile_os_error_first_call

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

2018-12-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Response to history issues raised in PR: 1. Not erasing output/history is a feature: some shells save and restore recent history when close and open. Shell restart is an alternative to that. I fairly often replay statements after restart. 2. I think

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

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

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

[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

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

[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 pull_requests: +10612 stage: -> patch review ___ Python tracker ___ ___

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

[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

[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 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[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

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

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

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

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

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

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

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

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

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

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

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

[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

[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

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

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

[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

[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

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

[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

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

[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

[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

[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

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

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

[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

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

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

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

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

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

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

[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

[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

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

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

[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
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 pull_requests: +10597 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 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

[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

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

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

[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 pull_requests: +10594 stage: test needed -> patch review ___ Python tracker ___ ___

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

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

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

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

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

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

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

[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

[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

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

[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

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

  1   2   >