[issue27025] More human readable generated widget names

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good point about "@". I missed this. Thanks Terry. "!" LGTM. Committed to 3.6 too. I consider this as the fix of the bug in 3.6 feature. -- resolution: -> fixed status: open -> closed versions: +Python 3.7 ___ Py

[issue28426] PyUnicode_AsDecodedObject can only return unicode now

2016-10-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 25.10.2016 04:16, Xiang Zhang wrote: > Marc-Andre, shouldn't the C API of unicode.encode() be > PyUnicode_AsEncodedString instead of PyUnicode_AsEncodedUnicode now? You're right. I got confused with all the slight variations. > BTW Serhiy, how about PyU

[issue28515] Py3k warnings in Python 2.7 tests

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you David for your advise. -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue28515] Py3k warnings in Python 2.7 tests

2016-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 77571b528f6a by Serhiy Storchaka in branch '2.7': Issue #28515: Fixed py3k warnings. https://hg.python.org/cpython/rev/77571b528f6a -- nosy: +python-dev ___ Python tracker

[issue27025] More human readable generated widget names

2016-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 603ac788ed27 by Serhiy Storchaka in branch '3.6': Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix https://hg.python.org/cpython/rev/603ac788ed27 New changeset 505949cb2692 by Serhiy Storchaka in branch 'default': Issue

[issue28517] Dead code in wordcode

2016-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5784cc37b5f4 by Serhiy Storchaka in branch '3.6': Issue #28517: Fixed of-by-one error in the peephole optimizer that caused https://hg.python.org/cpython/rev/5784cc37b5f4 New changeset 8d571fab4d66 by Serhiy Storchaka in branch 'default': Issue #285

[issue28523] Idlelib.configdialog: use 'color' insteadof 'colour'

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Offtopic. I would suggest you to install GNU sed. From GnuWin [1] or as a part of Cygwin distribution [2]. 4-line Python script can be replaced with one simple command: sed -i -re "s/([Cc])olour/\1olor/g" configdialog.py [1] http://gnuwin32.sourceforge.

[issue28147] Unbounded memory growth resizing split-table dicts

2016-10-24 Thread INADA Naoki
Changes by INADA Naoki : -- priority: normal -> high stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Al Sweigart
Al Sweigart added the comment: As a general indicator, I did a google search for "logging.disable(logging.XXX)" for the different levels. The number of results passing ERROR, WARN, DEBUG, and INFO are under a couple dozen each. But the number of results for "logging.disable(logging.CRITICAL)"

[issue28525] Incorrect documented parameter for gc.collect

2016-10-24 Thread Roundup Robot
New submission from Roundup Robot: New changeset 05b5e1aaedc5 by Benjamin Peterson in branch '3.5': fix name of keyword parameter to gc.collect() (closes #28525) https://hg.python.org/cpython/rev/05b5e1aaedc5 New changeset f9a04afaeece by Benjamin Peterson in branch '3.6': merge 3.5 (#28525) htt

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Put me down for -0. I don't think the minor convenience is worth the loss in clarity. -- ___ Python tracker ___ ___

[issue28522] can't make IDLEX work with python._pth and python-3.6.0b2

2016-10-24 Thread Big Stone
Big Stone added the comment: python.exe crashes when I try this python._pth: . Lib import site DLLs Lib\site-packages #python36.zip all variation I try on Lib\site-packages do fail, when I not commenting # the line... Nevertheless, jupyter/numpy/bokeh do work with original setting. I'm lost i

[issue27025] More human readable generated widget names

2016-10-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed that ` is not best and should be changed. An alternative should be in next release. I looked back at the output in msg268406. ! is similar to | but shorter, and better for that. It is also, generally, thicker, which is better. With the font used on t

[issue25002] Deprecate asyncore/asynchat

2016-10-24 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Hi, Attached is the patch that adds pending deprecation warnings to asyncore and asynchat. Please review. Thanks :) -- keywords: +patch nosy: +Mariatta Added file: http://bugs.python.org/file45210/issue25002.patch

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Al Sweigart
Al Sweigart added the comment: > How about logger.disabled = True. This seems to violate "there should be one and only one way to do it". What happens when logging.disabled is True but then logging.disable(logging.NOTSET) is called? I could see this being a gotcha. Since logging.CRITICAL is 5

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Xiang Zhang
Xiang Zhang added the comment: > We could use sys.maxsize instead of logging.CRITICAL to disable any custom > logging levels as well if this is a concern. sys.maxsize is not the upper bound limit of integers in Python. There is no such value in Python3. > The use case I've found is that I oft

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Al Sweigart
Al Sweigart added the comment: xiang.zhang: The use case I've found is that I often have logging enabled while writing code, and then want to shut it off once I've finished. This might not be everyone's use case, but this is a backwards-compatible change since it's currently a required argumen

[issue28517] Dead code in wordcode

2016-10-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: +0 The situation this addresses isn't common and the patch will rarely produce a perceptable benefit (just making the disassembly look a little nicer). That said, change looks simple enough and doesn't add any overhead. -- nosy: +rhettinger __

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Given that a user can add their on levels, I think that having a default would be misleading (having no arguments implies total disabling but with custom levels the default of CRITICAL might not disable all messages). -- nosy: +rhettinger _

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Xiang Zhang
Xiang Zhang added the comment: Is disabling all logging messages a common need? Maybe other levels are common but we can't know. And at least the doc patch needs a versionchanged tag. -- nosy: +xiang.zhang ___ Python tracker

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2016-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, very nice. (And no worries on taking an as-you-have-time approach to this - you'll see from the dates on some of the referenced issues below that even I'm in that situation where runpy is concerned) I think you're right that offering a 2-phase load/run API w

[issue28426] PyUnicode_AsDecodedObject can only return unicode now

2016-10-24 Thread Xiang Zhang
Xiang Zhang added the comment: Marc-Andre, shouldn't the C API of unicode.encode() be PyUnicode_AsEncodedString instead of PyUnicode_AsEncodedUnicode now? BTW Serhiy, how about PyUnicode_AsEncodedObject? Not see it in your deprecate list. -- ___ Py

[issue28525] Incorrect documented parameter for gc.collect

2016-10-24 Thread Javier Rey
Changes by Javier Rey : -- assignee: docs@python components: Documentation files: gc_collect_doc_fix.patch keywords: patch nosy: docs@python, vierja priority: normal severity: normal status: open title: Incorrect documented parameter for gc.collect versions: Python 3.3, Python 3.4, Pytho

[issue26682] Ttk Notebook tabs do not show with 1-2 char names

2016-10-24 Thread Ned Deily
Changes by Ned Deily : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue26571] turtle regression in 3.5

2016-10-24 Thread Robert Harder
Robert Harder added the comment: Thanks for pointing out the workaround. Was driving me crazy. Possible fix is to add TurtleScreen._RUNNING = True ~line 967 in turtle.py, in TurtleScreen.__init__ function. -- nosy: +Robert Harder ___ Python tracke

[issue28522] can't make IDLEX work with python._pth and python-3.6.0b2

2016-10-24 Thread Steve Dower
Steve Dower added the comment: Might have to use a backslash in the path - I don't remember whether I tried to handle forward slashes or not, but I suspect not. Definitely tried it with site-packages though. -- ___ Python tracker

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue28524] Set default argument of logging.disable() to logging.CRITICAL

2016-10-24 Thread Al Sweigart
New submission from Al Sweigart: As a convenience, we could make the default argument for logging.disable()'s lvl argument as logging.CRITICAL. This would make disabling all logging messages: logging.disable() ...instead of the more verbose: logging.disable(logging.CRITICAL) This one-line c

[issue28523] Idlelib.configdialog: use 'color' insteadof 'colour'

2016-10-24 Thread Terry J. Reedy
New submission from Terry J. Reedy: idlelib.configdialog uses the British spelling 'colour' instead of the American spelling 'color' everywhere except for externally mandated import and parameter names and in some recent comments. idlelib uses 'color' everywhere else. # change 'colour' to 'co

[issue25684] ttk.OptionMenu radiobuttons aren't unique between two instances of OptionMenu

2016-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.7 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue3015] tkinter with wantobjects=False has been broken for some time

2016-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue25464] Tix HList header_exists should be "exist"

2016-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset f57078cf5f13 by Serhiy Storchaka in branch '2.7': Issue #25464: Fixed HList.header_exists() in Tix module by adding https://hg.python.org/cpython/rev/f57078cf5f13 New changeset e928afbcc18a by Serhiy Storchaka in branch '3.5': Issue #25464: Fixed HL

[issue28522] can't make IDLEX work with python._pth and python-3.6.0b2

2016-10-24 Thread Big Stone
New submission from Big Stone: on WinPython-64bit-3.6.0.0Zerorc2.exe, python-3.6.0b2 based, I can't get IDLEX working with "python._pth". If I put "Lib\site-packages\" in python._pth, python.exe dies. If I put "#Lib\site-packages\", idlexlib is said "unable to located". Could it be a python-3.

[issue28426] PyUnicode_AsDecodedObject can only return unicode now

2016-10-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: As I already mentioned, PyUnicode_AsEncodedUnicode() needs to stay, since it's the C API for unicode.encode(). The others can be deprecated. -- ___ Python tracker

[issue26085] Tkinter spoils the input text

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Does anybody want to provide documentation patch? Otherwise this issue will be closed as "not a bug". -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker

[issue26340] modal dialog with transient method; parent window fails to iconify

2016-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue26660] tempfile.TemporaryDirectory() cleanup exception on Windows if readonly files created

2016-10-24 Thread Kyle Altendorf
Changes by Kyle Altendorf : -- nosy: +altendky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue22757] TclStackFree: incorrect freePtr. Call out of sequence?

2016-10-24 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> not a bug stage: test needed -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue22757] TclStackFree: incorrect freePtr. Call out of sequence?

2016-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue26682] Ttk Notebook tabs do not show with 1-2 char names

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tk bug tracker is http://core.tcl.tk/tk/ticket. I don't think we can do something from our side. -- resolution: -> third party ___ Python tracker __

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2016-10-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Never mind the second question. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2016-10-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Shouldn't "time part" underlined in my previous note be "date part" instead? Also, does non-zero mean non-empty? -- ___ Python tracker ___

[issue27025] More human readable generated widget names

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now it is clear that '`' is bad prefix. There are 32 non-alphanumerical non-control ASCII characters: '!', '"', '#', '$', '%', '&', "'", '(', ')', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '?', '@', '[', '\\', ']', '^', '_', '`', '{', '|', '}',

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2016-10-24 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: belopolsky, could you tell me what it is wrong with the doc about time.strptime ? -- ___ Python tracker ___

[issue28514] Python (IDLE?) freezes on file save on Windows

2016-10-24 Thread Eryk Sun
Eryk Sun added the comment: > Windows 7 is very old. 3.8 will probably be the last Python version to support Windows 7 (2020-01 EOL). 3.6 is the last to support Vista. -- nosy: +eryksun ___ Python tracker ___

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-24 Thread Ned Deily
Ned Deily added the comment: There clearly was a specific problem introduced with the 10.12 SDK. It may be possible to work around by adding AVAILABILITY macros at appropriate spots in C code or some such. If someone is interested in supplying a patch, I'm willing to consider applying it but

[issue28514] Python (IDLE?) freezes on file save on Windows

2016-10-24 Thread Ned Deily
Ned Deily added the comment: Kamran, the image you supplied shows that you are trying to use IDLE from Python 3.2.3. 3.2.3 is very old and no longer supported. Also, Windows 7 is very old. The last binary release of Python 3.2.x was 3.2.5 so you could try installing that version. Or, better

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-24 Thread Christoph Reiter
Christoph Reiter added the comment: Thanks for your response. I'm using MACOSX_DEPLOYMENT_TARGET etc. and it has worked so far building on 10.9/10/11 for running on 10.6. If I find a cause/fix I'll open a new issue. -- ___ Python tracker

[issue28516] contextlib.ExitStack.__enter__ has trivial but undocumented behavior

2016-10-24 Thread Walker Hale IV
Walker Hale IV added the comment: This one-line patch should clarify the point. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-24 Thread Ned Deily
Ned Deily added the comment: Christoph, building on a newer OS X release for an older OS X release is tricky and out-of-scope for this closed issue. (But, it likely has the same root cause. The simplest solution is to build on the lowest-supported release, e.g. 10.9. You may also have succe

[issue28516] contextlib.ExitStack.__enter__ has trivial but undocumented behavior

2016-10-24 Thread Walker Hale IV
Changes by Walker Hale IV : -- assignee: -> docs@python components: +Documentation keywords: +patch nosy: +docs@python Added file: http://bugs.python.org/file45206/issue28516.diff ___ Python tracker __

[issue28520] Failed to install Python 3.3.5 on OSX 10.11.6

2016-10-24 Thread Ned Deily
Ned Deily added the comment: Interesting! Up until the Python 3.4.2 and 2.7.9 releases, the python.org installers for Mac operating systems were produced as old-style "bundle" installer packages and were shipped in a .dmg container. The bundle format had long been deprecated, supplanted by t

[issue28498] tk busy command

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Shouldn't it be just an alias to tk_busy_hold?" > > Not sure, I figured since it is a separate command in tk I would make it a > separate command in Python, too. place is just an alias to place_configure despites the fact that in Tk "place" and "place conf

[issue28498] tk busy command

2016-10-24 Thread klappnase
klappnase added the comment: Hi Serhiy, thanks for the feedback. "+def tk_busy(self, **kw): Shouldn't it be just an alias to tk_busy_hold?" Not sure, I figured since it is a separate command in tk I would make it a separate command in Python, too. "+def tk_busy_hold(self, **kw): Si

[issue28514] Python (IDLE?) freezes on file save on Windows

2016-10-24 Thread Kamran
Kamran added the comment: what do u mean *Kamran Muhammad* On Mon, Oct 24, 2016 at 5:26 PM, Stéphane Wirtel wrote: > > Stéphane Wirtel added the comment: > > We can't help you, there is no backtrace, no stacktrace, no dump, in fact, > nothing. can you provide more details because without that

[issue28517] Dead code in wordcode

2016-10-24 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Serhiy, Could you help me, because I don't understand your patch ? because a RETURN_VALUE will go to the end of the block, and in this case, I don't understand why there is a JUMP_FORWARD at 12 in Python 3.6. -- nosy: +matrixise _

[issue28054] Diff for visually comparing actual with expected in mock.assert_called_with.

2016-10-24 Thread Pavel Savchenko
Pavel Savchenko added the comment: An implementation of this exists in pytest-mock. Recently an idea was brought up to shift the development of PR #57 into mock directly for everyone's benefit. https://github.com/pytest-dev/pytest-mock https://github.com/pytest-dev/pytest-mock/pull/58#issuecomm

[issue25152] venv documentation doesn't tell you how to specify a particular version of python

2016-10-24 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks, Stéphane :) Perhaps this can be updated into patch review stage? -- ___ Python tracker ___

[issue28465] python 3.5 magic number

2016-10-24 Thread Brett Cannon
Brett Cannon added the comment: Closing this as a third-party Debian issue (if it even matters as bytecode is an optimization local to a machine and so different magic numbers shouldn't matter). -- nosy: +brett.cannon resolution: -> third party status: open -> closed

[issue28514] Python (IDLE?) freezes on file save on Windows

2016-10-24 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: We can't help you, there is no backtrace, no stacktrace, no dump, in fact, nothing. can you provide more details because without that, we can not reproduce your issue. -- ___ Python tracker

[issue28514] Python (IDLE?) freezes on file save on Windows

2016-10-24 Thread Kamran
Kamran added the comment: it is idle *Kamran Muhammad* On Mon, Oct 24, 2016 at 4:24 PM, Kamran wrote: > > Kamran added the comment: > > Is *THIS* any help?[image: Inline image 1] > > *Kamran Muhammad* > > On Sun, Oct 23, 2016 at 10:10 PM, SilentGhost > wrote: > > > > > Changes by SilentGhos

[issue28521] _PyEval_RequestCodeExtraIndex should return a globally valid index, not a ThreadState specific one

2016-10-24 Thread John Ehresman
New submission from John Ehresman: The index returned by _PyEval_RequestCodeExtraIndex is currently specific to the current thread state. This means that there will be problems if the index is used on another thread. It would be possible to set things up in my code so that _PyEval_RequestCod

[issue28447] socket.getpeername() failure on broken TCP/IP connection

2016-10-24 Thread R. David Murray
R. David Murray added the comment: Your example does not show a destroyed socket object, so to what are you referring? Python won't recycle an object as garbage until there are no remaining references to it. If you think that there is information the socket object "knows" that it is throwing

[issue23749] asyncio missing wrap_socket (starttls)

2016-10-24 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28516] contextlib.ExitStack.__enter__ has trivial but undocumented behavior

2016-10-24 Thread R. David Murray
R. David Murray added the comment: Hmm. I guess we just assume it is obvious, given that the with statement examples name the variable 'stack', and the pop_all docs mention that no callbacks are called until it is closed "or at the end of a with statement". So, technically, using the result

[issue20766] reference leaks in pdb

2016-10-24 Thread Jack Liu
Jack Liu added the comment: Good to know the fix will be included Python official builds. Thanks. -- ___ Python tracker ___ ___ Python

[issue28520] Failed to install Python 3.3.5 on OSX 10.11.6

2016-10-24 Thread Jack Liu
New submission from Jack Liu: For some reason. I need to install Python 3.3.5 (64-bit) on OSX 10.11.6. I got installer from http://www.python.org/ftp/python/3.3.5/python-3.3.5-macosx10.6.dmg, failed to install Python 3.3.5 on OSX 10.11.6. See error in attached screenshot. I know it's able to

[issue5830] heapq item comparison problematic with sched's events

2016-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee476248a74a by Raymond Hettinger in branch '3.6': Issue #5830: Remove old comment. Add empty slots. https://hg.python.org/cpython/rev/ee476248a74a -- nosy: +python-dev ___ Python tracker

[issue27939] Tkinter mainloop raises when setting the value of ttk.LabeledScale

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is caused by replacing int() by self._tk.getint() in IntVar.get() (issue23880). But the failure can be reproduced even in 3.4 if set tk.wantobjects = 0 before creating root widget. One way is making getint() accepting floats. This fizes original example

[issue23749] asyncio missing wrap_socket (starttls)

2016-10-24 Thread François
Changes by François : -- nosy: +Frzk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue28330] Use simpler and faster sched.Event definition

2016-10-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: A Serhiy noted, this patch will break the class when two events are scheduled at the same time and priority. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue28518] execute("begin immediate") throwing OperationalError

2016-10-24 Thread Xiang Zhang
Xiang Zhang added the comment: Looks like commit 284676cf2ac8 in #10740 introduces this. Haven't read through the thread yet. -- ___ Python tracker ___ _

[issue28518] execute("begin immediate") throwing OperationalError

2016-10-24 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- nosy: +jason.coombs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28519] Update pydoc tool to support generic types

2016-10-24 Thread Ivan Levkivskyi
New submission from Ivan Levkivskyi: It was proposed in the discussion of #27989 to update pydoc rendering of documentation of classes supporting generic types. Currently there are two ideas: 1. Keep the class header intact (i.e. listing actual runtime __bases__) and adding a separate section d

[issue28447] socket.getpeername() failure on broken TCP/IP connection

2016-10-24 Thread Georgey
Georgey added the comment: Not only does the getpeername() method not work, but the socket instance itself has been destroyed as garbage by python. - I understand the former, but cannot accept the latter. -- resolution: not a bug -> wont fix status: closed -> pending _

[issue28518] execute("begin immediate") throwing OperationalError

2016-10-24 Thread Марк Коренберг
Changes by Марк Коренберг : -- nosy: +mmarkk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue28518] execute("begin immediate") throwing OperationalError

2016-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +berker.peksag, ghaering, serhiy.storchaka, xiang.zhang ___ Python tracker ___ ___ Python-bugs-

[issue28498] tk busy command

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: First, thank you Miguel and klappnase for your patches. But they should be provided in different way, as described in Python Developer’s Guide [1]. > I totally disagree of this change on your patch: This is not my patch. This is regenerated klappnase's. I ex

[issue28518] execute("begin immediate") throwing OperationalError

2016-10-24 Thread Florian Schulze
New submission from Florian Schulze: Using: conn = sqlite3.connect(':memory:', isolation_level='IMMEDIATE') conn.execute('begin immediate') Throws: sqlite3.OperationalError: cannot start a transaction within a transaction This didn't happen in previous versions and the conn.in_transaction att

[issue28498] tk busy command

2016-10-24 Thread klappnase
klappnase added the comment: At least with python 3.4 here wantobjects still is valid, and personally I really hope that it remains this way, because I use to set wantobjects=False in my own code to avoid having to deal with errors because of some method or other unexpectedly returning TclObje

[issue28341] cpython tip fails to build on Mac OS X 10.11.6 w/ XCode 8.0

2016-10-24 Thread Christoph Reiter
Christoph Reiter added the comment: I get the same error when building python on osx 10.12 + xcode 8 for 10.9+ and then running it on 10.11. Any idea what could be the problem? -- nosy: +lazka ___ Python tracker

[issue28517] Dead code in wordcode

2016-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch fixes removing unreachable code after RETURN_VALUE in peephole optimizer. -- assignee: -> serhiy.storchaka keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file45202/peephole_remove_unreachable_code.patch _