[issue11437] IDLE crash on startup with typo in config-keys.cfg

2017-09-27 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue24412] setUpClass equivalent for addCleanup

2017-09-27 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue21880] IDLE: Ability to run 3rd party code checkers

2017-09-27 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue6858] IDLE: allow syntax highlighting of files without .py extension

2017-09-27 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue18875] Idle: Auto insertion of the closing parens, brackets, and braces

2017-09-27 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue20827] IDLE : Display function argument list in ClassBrowser

2017-09-27 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2017-09-27 Thread Tal Einat
Change by Tal Einat : -- nosy: -taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue15988] Inconsistency in overflow error messages of integer argument

2017-09-27 Thread Oren Milman
Oren Milman added the comment: Serhiy, you suggested in https://bugs.python.org/issue15988#msg289799 that uploading diff files here is more convenient than in a github PR, so I uploaded my fixes here, and so https://github.com/python/cpython/pull/668 is now outdated, and merging it isn't real

[issue31422] tkinter.messagebox and tkinter.filedialog don't show default button's keyboard shortcuts

2017-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: jcr: 3.5 only gets security fixes. If this issue does not apply to 3.6 or 3.7, this should be closed. When core developers (snake after name) change the headers, you should assume that they know what they are doing and not change them back. -- ___

[issue31422] tkinter.messagebox and tkinter.filedialog don't show default button's keyboard shortcuts

2017-09-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2017-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The main issue for conversion is expanding nodes. tree.py does not define a widget class. Rather, is uses a used a canvas and places images and text thereupon. The latter is done with instances of TreeNode. Each instance thereof is initialized with an ins

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2017-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two concrete reasons to make the conversion: two issues are stymied by current tree.TreeNode. 1. #25090 tree.TreeNode requires an icon for every line. Hence functions and classes get python file and director icons and they are difficult to remove. By defau

[issue22140] "python-config --includes" returns a wrong path (double prefix)

2017-09-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 68b131d5b674549bb637b366730497714ad11328 by Benjamin Peterson in branch '3.6': [3.6] closes bpo-22140: Prevent double substitution of prefix in python-config.sh (GH-3769) (#3793) https://github.com/python/cpython/commit/68b131d5b674549bb637b3

[issue22140] "python-config --includes" returns a wrong path (double prefix)

2017-09-27 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +3777 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue20827] IDLE : Display function argument list in ClassBrowser

2017-09-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: As with removing icons (#25090), moving 'highlight line in editor' from double click to single click is not trivial. Single click behavior is baked into tree. TreeNode. TreeItems can only override or augment double-click behavior. I am deferring 'improve

[issue31584] Documentation Language mixed up

2017-09-27 Thread Julien Palard
Julien Palard added the comment: I'm still unable to reproduce the bug. I'm now monitoring the docs.python.org hierarchy whith a: grep -rl 'définition' /srv/docs.python.org/ja/; grep -rl か /srv/docs.python.org/{2.7,3.6,3.7} So if it happen again we'll maybe learn more, according to this simp

[issue1649329] Extract file-finding and language-handling code from gettext.find

2017-09-27 Thread Éric Araujo
Éric Araujo added the comment: Reopening. Eggs are still not officially blessed, but zipapps are. -- resolution: rejected -> stage: resolved -> status: closed -> open versions: +Python 3.7 -Python 3.2 ___ Python tracker

[issue1649329] Extract file-finding and language-handling code from gettext.find

2017-09-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: FYI - We run into this problem getting things using gettext for i18n within a hermetic zipped up Python application at work. I'm not reopening it as I have nothing new to propose right now, but figured I'd drop a note that it does seem like a good idea. A

[issue31614] can't list groupby generator without breaking the sub groups generators

2017-09-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Except for display the last few elements, this is the documented and intended behavior: ( https://docs.python.org/3/library/itertools.html#itertools.groupby ): ''' The returned group is itself an iterator that shares the underlying iterable with groupby()

[issue31613] tkinter.simpledialog default buttons (not buttonbox) are not localized, unlike all messagebox

2017-09-27 Thread jcrmatos
jcrmatos added the comment: Hello, I would expect the same behaviour as askopenfilename from tkinter.filedialog where the buttons are localized (in my case in Portuguese). What I get is the buttons (in tkinter.simpledialog) are always in English. Best regards, JM -- __

[issue31422] tkinter.messagebox and tkinter.filedialog don't show default button's keyboard shortcuts

2017-09-27 Thread jcrmatos
jcrmatos added the comment: Hello, There are no parameters for the buttons. There is a difference in behaviour between messagebox windows (no shortcuts at all) to askopenfilename from tkinter.filedialog where the Open button has teh shortcut (but the Cancel one doesn't). Best regards, JM

[issue31614] can't list groupby generator without breaking the sub groups generators

2017-09-27 Thread Loïc Le Loarer
New submission from Loïc Le Loarer : If I "list" the itertools groupby generator, then the sub generators of each groups are all empty except the last one. import itertools as i L = ['azerty','abcd','ac','aaa','z','baba','bitte','rhum','z','y'] g = list(i.groupby(L, lambda x: x[0])) number_of_g

[issue31605] meta issue: bugs.python.org search shows only issues with recent activity

2017-09-27 Thread Oren Milman
Oren Milman added the comment: fixed indeed. thanks! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue31605] meta issue: bugs.python.org search shows only issues with recent activity

2017-09-27 Thread Ezio Melotti
Ezio Melotti added the comment: This should be fixed now, thanks for the report! -- assignee: -> ezio.melotti resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31605] meta issue: bugs.python.org search shows only issues with recent activity

2017-09-27 Thread Oren Milman
Oren Milman added the comment: thanks :) opened http://psf.upfronthosting.co.za/roundup/meta/issue642 -- ___ Python tracker ___ ___

[issue31584] Documentation Language mixed up

2017-09-27 Thread Julien Palard
Julien Palard added the comment: I'd prefer to understand exacly what is going wrong and fix it, but I agree it would fix the issue and even fix the other hypothesis, so I don't exclude doing it, even if I find the root cause. I'm currently doing a full build locally (I previously tried build

[issue31584] Documentation Language mixed up

2017-09-27 Thread Zachary Ware
Zachary Ware added the comment: Sounds like we really ought to be building each translation in its own directory so they can't possibly stomp on each other. -- nosy: +zach.ware ___ Python tracker ___

[issue31584] Documentation Language mixed up

2017-09-27 Thread Julien Palard
Julien Palard added the comment: Found another hypothesis: As the builds take a long time, builds may overlap (starting a build while another is still unfinished, typically rsync-ing its files), but this would result in: - japanese being build while french being rsynced - french being build w

[issue31613] tkinter.simpledialog default buttons (not buttonbox) are not localized, unlike all messagebox

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What do you expect and what do you get? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Py

[issue31422] tkinter.messagebox and tkinter.filedialog don't show default button's keyboard shortcuts

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: These are standard Tk widgets. Tkinter is not responsible for the look and feel of them. It just call the Tk command tk_messageBox with corresponding parameters [1]. [1] https://www.tcl.tk/man/tcl8.6/TkCmd/messageBox.htm -- ___

[issue31584] Documentation Language mixed up

2017-09-27 Thread Julien Palard
Julien Palard added the comment: Thanks for those details. Until we find japanese on a french page, or french on an english page, which would clearly disproove the hypothesis of a build picking up translated files from a previous build, I still consider this hypothesis the good one. I'm also

[issue31422] tkinter.messagebox and tkinter.filedialog don't show default button's keyboard shortcuts

2017-09-27 Thread jcrmatos
jcrmatos added the comment: Hello, Here it is. from tkinter import Tk from tkinter.messagebox import askokcancel, showerror master=Tk() showerror('Error', 'Error message', parent=master) a = askokcancel('Error', 'Error message', parent=master) master.mainloop() Best regards, JM

[issue31613] tkinter.simpledialog default buttons (not buttonbox) are not localized, unlike all messagebox

2017-09-27 Thread jcrmatos
jcrmatos added the comment: Hello, Here is some example code: from tkinter import Label, Tk from tkinter.simpledialog import Dialog class CalendarDialog(Dialog): def __init__(self, parent, title='', year=0, month=0): self.year = year # type: int self.month = month # typ

[issue31605] meta issue: bugs.python.org search shows only issues with recent activity

2017-09-27 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: IIRC bugs of bugs.python.org should go to http://psf.upfronthosting.co.za/roundup/meta/ -- nosy: +Chi Hsuan Yen ___ Python tracker ___ ___

[issue31422] tkinter.messagebox and tkinter.filedialog don't show default button's keyboard shortcuts

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would be help if you provide a minimal script that exposes the problem. -- ___ Python tracker ___ __

[issue31531] crash and SystemError in case of a bad zipimport._zip_directory_cache

2017-09-27 Thread Oren Milman
Oren Milman added the comment: Yet another code that causes a SystemError: import zipimport importer = zipimport.zipimporter('foo.zip') tup_as_list = list(zipimport._zip_directory_cache['foo.zip']['foo\\__init__.py']) tup_as_list[0] = None zipimport._zip_directory_cache['foo.zip']['foo\\__init_

[issue31584] Documentation Language mixed up

2017-09-27 Thread asl
asl added the comment: html dump -- Added file: https://bugs.python.org/file47173/デザインと歴史 FAQ — Python 2.7.14 ドキュメント.html ___ Python tracker ___ __

[issue31584] Documentation Language mixed up

2017-09-27 Thread asl
asl added the comment: Attached is a screenshot of https://docs.python.org/2.7/faq/design.html generated by web-capture.net shortly before this report was created. It shows the whole content was in Japanese. On the screenshot, it says it was last updated on Sep 26, 2017. It was one of the nu

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread Steve Dower
Steve Dower added the comment: If you install VS 2017 and select the "Python native development" option as described in the dev guide, you get the correct compilers (plural) for Python 3.5 onwards. The build.bat file (specifically, the find_msbuild.bat helper) will choose the correct version.

[issue31613] tkinter.simpledialog default buttons (not buttonbox) are not localized, unlike all messagebox

2017-09-27 Thread jcrmatos
New submission from jcrmatos : Hello, tkinter.simpledialog default buttons (not buttonbox) are not localized, unlike all messagebox. Best regards, JM -- components: Tkinter messages: 303162 nosy: jcrmatos priority: normal severity: normal status: open title: tkinter.simpledialog defa

[issue31422] tkinter.messagebox and tkinter.filedialog don't show default button's keyboard shortcuts

2017-09-27 Thread jcrmatos
Change by jcrmatos : -- versions: +Python 3.5 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue25359] io.open() fails to open ascii file if LANG env not set

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Possible related issues: issue6393 and issue30409. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue31611] Tests failures using -u largefile when the disk is full

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: largefile - It is okay to run some test that may create huge files. These tests can take a long time and may consume >2GB of disk space temporarily. I understand this as 2GB is a minimum free disk space for tests without "lar

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Nick Coghlan
Change by Nick Coghlan : -- stage: backport needed -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 084f80b82c564c8a3cef26fc6e56da188a379be2 by Nick Coghlan (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31588: Validate return value of __prepare__() methods (GH-3790) https://github.com/python/cpython/commit/084f80b82c564c8a3cef26fc6e56da188a37

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

2017-09-27 Thread Josh Rosenberg
Change by Josh Rosenberg : -- nosy: +josh.r ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue31611] Tests failures using -u largefile when the disk is full

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: > "largefile" is for moderately large files, around 2 GiB. largefile creates files larger than 2 GB. Extract of test_largefile: # size of file to create (>2GB; 2GB == 2147483648 bytes) size = 25 My VM has less than 2 GB free: only 1.36 GB free. -

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think this is worth adding a separate command. If some controls were needed (changing the list size has not been requested before), it may be better to follow gdb with set/get commands that could be used for other parameters as well. -- no

[issue23239] SSL match_hostname does not accept IP Address

2017-09-27 Thread Alex Gaynor
Alex Gaynor added the comment: I'd be in favor of backporting this to the 2.x - encouraging reliance on the nonsense behaviour of putting IPAddresses in DNS Names or relying on CN over SAN is bad, and we shouldn't encourage it. -- nosy: +Alex Gaynor __

[issue29400] Add instruction level tracing via sys.settrace

2017-09-27 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue23239] SSL match_hostname does not accept IP Address

2017-09-27 Thread j-harbott
j-harbott added the comment: The original issue still exists in py27, is there a chance to get the fix backported? See https://github.com/pyca/cryptography/issues/3943 and https://github.com/shazow/urllib3/issues/1269 for sample issues that arise because we need to work around this one.

[issue31584] Documentation Language mixed up

2017-09-27 Thread Julien Palard
Julien Palard added the comment: Local builds were not able to reproduce the bug for the moment and I did not spotted the bug on production neither. If anyone see it please write down the URL, the misplaced translation, and the date, time, timezone on which the string was found, so I can insp

[issue31611] Tests failures using -u largefile when the disk is full

2017-09-27 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: To compile Python 2.7, you need VS 2008 *and* 2010. To compile Python 3.5, 3.6 or master, you need VS 2015. To compile Python 3.4, you need VS 2010. I had to work on Python 2.7, 3.4, 3.5, 3.6 and master, so I installed VS 2008, 2010 and 2015 :-) I didn't gi

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > https://haypo-notes.readthedocs.io/cpython_windows.html#python-and-visual-studio-version-matrix Thank you Victor. Therefore I do need to install 4 versions of Visual Studio for building three major maintained branches: 2008, 2010, 2015 and 2017? Oh, now I

[issue31611] Tests failures using -u largefile when the disk is full

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Definitely the test shouldn't be quietly skipped! If you enable the "largefile" resource, but the test can't write large file, this is either a bug in the tested code, or an error in the test, or misconfiguration. We already have the "extralargefile" resour

[issue31580] Defer compiling regular expressions

2017-09-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm closing this experiment. I'm not convinced that even if we can make start up time faster for module global regular expressions, we'll ever get enough buy-in from the ecosystem to make this worth it, because you'd really want to get all your dependencies

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread Paul Moore
Paul Moore added the comment: I believe that's the case, although I'm somewhat surprised by the nature of the error. I'm just checking diffs at the moment. But VS 2015 is the officially supported compiler for 3.6. -- ___ Python tracker

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: Here are my notes on how to compile CPython on Windows: https://haypo-notes.readthedocs.io/cpython_windows.html#python-and-visual-studio-version-matrix -- ___ Python tracker

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: > I have installed Visual Studio 2017 and have ran PCbuild\build.bat. Oh, I think that VS 2017 is a new feature of Python 3.7 (master), no? Steve Dower, or Zachary Ware: can you confirm? See bpo-31340 and bpo-30389. -- __

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Nick Coghlan
Nick Coghlan added the comment: CI is still running for the backport, so I'll merge that tomorrow. Thanks for the patch! -- resolution: -> fixed stage: patch review -> backport needed ___ Python tracker ___

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have installed Visual Studio 2017 and have ran PCbuild\build.bat. >From the master branch all have built successfully. -- ___ Python tracker

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +3776 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 5837d0418f47933b2e3c139bdee8a79c248a943c by Nick Coghlan (Oren Milman) in branch 'master': bpo-31588: Validate return value of __prepare__() methods (GH-3764) https://github.com/python/cpython/commit/5837d0418f47933b2e3c139bdee8a79c248a943c -

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Nick Coghlan
Nick Coghlan added the comment: Aye, that's exactly what I did. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: How did you build Python 3.6 on Windows? Did you use Visual Studio 2015? Do you use Visual Studio GUI or in the command line? -- nosy: +haypo ___ Python tracker

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : makefile.vc(1076): fatal error U1087: cannot have : and :: dependents for same target [C:\Users\Serhiy Storchaka\py\cpython3.6\PCbuild\tcl.vcxproj] The full log is attached. -- components: Build, Windows files: build.log messages: 303141 nosy: pau

[issue6986] _json crash on scanner/encoder initialization error

2017-09-27 Thread Oren Milman
Change by Oren Milman : -- pull_requests: +3775 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue31611] Tests failures using -u largefile when the disk is full

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: > This is expected behavior, isn't? I would prefer that the test skips itself when the disk is full: on "OSError: [Errno 28] No space left on device". Or maybe largefile resource should be excluded from "all"... at least on Windows, since NTFS doesn't see to

[issue6986] _json crash on scanner/encoder initialization error

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be nice. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi David, It's my fault and you are right, I didn't give the right description. By default when you want to list the source code with pdb, you will use the list command but this one is just limited to the 10 next lines and there is no possibility to change

[issue31611] Tests failures using -u largefile when the disk is full

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is expected behavior, isn't? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-b

[issue31607] Add listsize in pdb.py

2017-09-27 Thread R. David Murray
R. David Murray added the comment: It isn't obvious from your description here what 'listsize' does. I think you should have provided some more motivating details :) Looking at your PR, this is essentially a configuration setting. I wonder if we should think about the general problem rather

[issue31603] Please add argument to override stdin/out/err in the input builtin

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: input() is a convenient function for simple user interaction. If you need to read a data from different file object just use its readline() method. -- nosy: +serhiy.storchaka ___ Python tracker

[issue29400] Add instruction level tracing via sys.settrace

2017-09-27 Thread Fred L. Drake, Jr.
Change by Fred L. Drake, Jr. : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue29400] Add instruction level tracing via sys.settrace

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: The main blocker question is the API change. I started a thread on python-dev to discuss it: https://mail.python.org/pipermail/python-dev/2017-September/149632.html -- ___ Python tracker

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: All other sequence objects return an instance of the base class rather than a subclass. list, tuple, str, bytes, bytearray, array. Only deque tries to create an instance of a subclass. -- assignee: -> rhettinger nosy: +rhettinger, serhiy.storchaka

[issue31609] PCbuild\clean.bat fails if the path contains whitespaces

2017-09-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: PCbuild\clean.bat fails if the patch contains whitespaces -> PCbuild\clean.bat fails if the path contains whitespaces ___ Python tracker

[issue31603] Please add argument to override stdin/out/err in the input builtin

2017-09-27 Thread R. David Murray
R. David Murray added the comment: This is probably a topic for the python-ideas mailing list. For example, rather than complicating input, it might be better to propose adding a redirect_stdin to contextlib to parallel the two existing redirect context managers. I don't remember why that w

[issue31606] [Windows] Tests failing on installed Python 3.7a1 on Windows

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-31611 "Tests failures using -u largefile when the disk is full" for failures caused by my low free disk space. -- ___ Python tracker __

[issue31611] Tests failures using -u largefile when the disk is full

2017-09-27 Thread STINNER Victor
New submission from STINNER Victor : I ran the Python test suite on Windows on a freshly installed Python 3.7a1 and I got errors: bpo-31606. I created a separated issue for tests failing because my disk has low free space. On my Windows VM, I have a single 40 GB disk with 1.36 GB free. C:\U

[issue6986] _json crash on scanner/encoder initialization error

2017-09-27 Thread Oren Milman
Oren Milman added the comment: I would be happy to open such a PR, if you don't mind. -- nosy: +Oren Milman ___ Python tracker ___ __

[issue30576] http.server should support HTTP compression (gzip)

2017-09-27 Thread Stefan Behnel
Change by Stefan Behnel : -- nosy: -scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue30576] http.server should support HTTP compression (gzip)

2017-09-27 Thread Stefan Behnel
Stefan Behnel added the comment: FWIW, both the feature and the PR look ok to me. Code formatting is a little funny at times, but the implementation looks good. -- nosy: +scoder ___ Python tracker __

[issue31610] Use select.poll instead of select.select in SocketServer.BaseServer.serve_forever

2017-09-27 Thread Беатрис Бонева
New submission from Беатрис Бонева : The select function does not work for file descriptors with number >= 1024. It has FD_SETSIZE limit (see https://stackoverflow.com/questions/7976388/increasing-limit-of-fd-setsize-and-select#7977082). So, serve_forever won't work if more than 1024 file descr

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2017-09-27 Thread Oren Milman
Change by Oren Milman : -- keywords: +patch pull_requests: +3774 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue31609] PCbuild\clean.bat fails if the patch contains whitespaces

2017-09-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : C:\Users\Serhiy Storchaka\py\cpython3.6-debug>PCbuild\clean.bat 'C:\Users\Serhiy' is not recognized as an internal or external command, operable program or batch file. -- components: Build, Windows messages: 303126 nosy: paul.moore, serhiy.storchaka

[issue31608] crash in methods of a subclass of _collections.deque with a bad __new__()

2017-09-27 Thread Oren Milman
New submission from Oren Milman : The following code causes the interpreter to crash: import _collections class BadDeque(_collections.deque): def __new__(cls, *args): if len(args): return 42 return _collections.deque.__new__(cls) BadDeque() * 42 (The interpreter

[issue31606] [Windows] Tests failing on installed Python 3.7a1 on Windows

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Try to run these tests with -u all,-largefile. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +3772 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue31605] meta issue: bugs.python.org search shows only issues with recent activity

2017-09-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- priority: normal -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue31593] [2.7][3.6] test_socketserver ForkingMixIn tests leaks child processes on Python 3.6

2017-09-27 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31607] Add listsize in pdb.py

2017-09-27 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : I just added a new command for the prompt of Pdb. (Pdb) listsize List size: 10 (Pdb) listsize 5 List size: 5 (Pdb) listsize List size: 5 I will publish a PR -- messages: 303123 nosy: matrixise priority: normal severity: normal status: open title: A

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Oren Milman
Oren Milman added the comment: Nick, maybe you tried to reproduce in release? In debug (where I got the SystemError), you have in the beginning of _PyFrame_New_NoTrack(): #ifdef Py_DEBUG if (code == NULL || globals == NULL || !PyDict_Check(globals) || (locals != NULL && !PyMapping_C

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Nick Coghlan
Nick Coghlan added the comment: There's no __prepare__ method in 2.7, so that version can't be affected by this. For 3.6 and 3.7, I can't reproduce the reported SystemError. Instead, I get: ``` >>> class BadMetaclass(type): ... def __prepare__(*args): ... pass ... >>> class Foo(me

[issue31593] [2.7][3.6] test_socketserver ForkingMixIn tests leaks child processes on Python 3.6

2017-09-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset b4920d562b74e909bfae71bf119350a01d1d5e5e by Victor Stinner in branch '2.7': bpo-31593: test_socketserver waits child processes (#3786) https://github.com/python/cpython/commit/b4920d562b74e909bfae71bf119350a01d1d5e5e -- ___

[issue31606] [Windows] Tests failing on installed Python 3.7a1 on Windows

2017-09-27 Thread STINNER Victor
New submission from STINNER Victor : I installed Python 3.7a1 on Windows. The following tests fail: --- 372 tests OK. 5 tests failed: test_io test_largefile test_marshal test_regrtest test_tools 30 tests skipped: test_asdl_parser test_crypt test_curses test_dbm_gnu test_dbm_ndbm tes

[issue31588] SystemError in class creation in case of a metaclass with a bad __prepare__() method

2017-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not a metaclass expert. Eric, Nick, could you please take a look at the patch? -- versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2017-09-27 Thread Nick Coghlan
Nick Coghlan added the comment: Let's call it done with the current sys.getrecursionlimit() behaviour, and if that turns out to be problematic in practice, someone will hopefully file a new issue about it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

  1   2   >