[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is the final patch (17483.patch) for this support. I am including Ezio David for their review comments before I check this in. Thanks! -- nosy: +ezio.melotti, r.david.murray Added file: http://bugs.python.org/file29644/17483.patch

[issue7057] tkinter doc: more 3.x updates

2013-04-01 Thread Ned Deily
Ned Deily added the comment: I just noticed that the changes committed earlier for this issue added a reference to the Tcl/Tk 8.6 man pages. Since there are known problems with using 8.6 with tkinter (for example, Issue16809) and we don't currently ship 8.6 with any of our binary installers,

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-04-01 Thread Charles-François Natali
Charles-François Natali added the comment: That way the scandir name would be left available for a future version of this that yields namedtuples of directory entry details as Martin wants to see. Which might very w'ell be Nick's walkdir, see issue #13229. BTW, I'm strongly +1 on this

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm sorry, I'm -1 on this. It simply doesn't make sense to check the certificate but skip hostname checking. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17483

[issue1944] Documentation for PyUnicode_AsString (et al.) missing.

2013-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 30.03.2013 13:09, Mark Lawrence wrote: Is it worth applying the patch given the complete rewrite of unicode for 3.3 via PEP393? PEP 393 only changed the way Unicode is internally stored. The Unicode API is mostly unaffected by this change.

[issue16893] Create IDLE help.txt from Doc/library/idle.rst

2013-04-01 Thread Ned Deily
Ned Deily added the comment: Zach, thanks for addressing most of the comments. The Makefile does now work as intended and more information is retained in the help.txt. But I'm still troubled by the plaintext rendering, particularly of the inline code markup. With the `` marks from the

[issue17608] configparser not honouring section but not variable case

2013-04-01 Thread Eric V. Smith
Eric V. Smith added the comment: Can you show us the code that causes the problem? -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17608 ___

[issue17608] configparser not honouring section but not variable case

2013-04-01 Thread Rodney Persky
Rodney Persky added the comment: I'd probably revise this to say it's a quirk - not a bug. As looking over https://bitbucket.org/ambv/configparser/src/4bf6a6d8ebdf6eec068750a2b940944a9b1b2938/configparser.py?at=default (the configparser source) information is converted to .lower(). So it seems

[issue16893] Create IDLE help.txt from Doc/library/idle.rst

2013-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great idea. Using a browser to display help text has become pretty common. For many games, for instance, this has superseded .pdf manuals, which supercedes paper. Unless there is already a tk extension to display html this seems like a good idea. We could

[issue6698] IDLE no longer opens only an edit window when configured to do so

2013-04-01 Thread Todd Rovito
Todd Rovito added the comment: Roger, Yes I will add another issue covering the enhancement. Ned, Thanks for the review. I forgot to mention it but I too tested on the Mac :-). -- ___ Python tracker rep...@bugs.python.org

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-01 Thread Todd Rovito
New submission from Todd Rovito: Based on enhancements from this issue: http://bugs.python.org/issue6698 Comments from Tal Einat The editor-on-startup config option should be removed. Running IDLE without arguments should open a shell. If IDLE is asked to open any files for editing, it

[issue16893] Create IDLE help.txt from Doc/library/idle.rst

2013-04-01 Thread Todd Rovito
Todd Rovito added the comment: Ned, Using a web browser is a great idea I like it because it removes code from IDLE making IDLE even simpler (and better). Besides it would take us forever to duplicate some of the functionally that exists in today's modern web browser. Zach,

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with the change, but keep in mind that at least on OSX a lot of users start IDLE by double clicking on the IDLE application in the Finder (or double-clicking a .py file) and as such don't have an easy way to specify the -e or -i options. --

[issue14455] plistlib unable to read json and binary plist files

2013-04-01 Thread Ronald Oussoren
Ronald Oussoren added the comment: d9pouces: are you willing to sign a contributor agreement? The agreement is needed before we can add these changes to the stdlib, and I'd like to that for the 3.4 release. More information on the contributor agreement:

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread R. David Murray
R. David Murray added the comment: It may not make sense, but I've seen it supported in the wild, in a different library. Of course, we *did* treat it as a bug in our code and fix it once we realized that's what the library was doing (we were inadvertently passing it None for the hostname,

[issue17608] configparser not honouring section but not variable case

2013-04-01 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17608 ___ ___

[issue14455] plistlib unable to read json and binary plist files

2013-04-01 Thread d9pouces
d9pouces added the comment: I just signed this agreement. Thanks for accepting this patch! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14455 ___

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-01 Thread Guilherme Simões
Guilherme Simões added the comment: IDLE is widely used by students and should have its most relevant settings available in the GUI also. -- nosy: +Guilherme.Simões ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17609

[issue17610] Qsort function misuse in typeobject.c

2013-04-01 Thread Zbigniew Halas
New submission from Zbigniew Halas: Comparison function slotdef_cmp in Objects/typeobject.c is based on the assumption that qsort may be stabilised by taking memory addresses of compared objects into consideration. This assumption is not guaranteed by the C standard and may not always be

[issue10340] asyncore doesn't properly handle EINVAL on OSX

2013-04-01 Thread Brett Cannon
Brett Cannon added the comment: I'm assuming that the buildbots stabilized so I'm going to go ahead and close this. -- nosy: +brett.cannon status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10340

[issue1176504] locale._build_localename treatment for utf8

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably this patch should be accompanied by an equivalent for _localemodule.c, or am I in cloud cuckoo land? FTR #1699853 referenced above is closed but it refers to #10466 which is Windows specific. -- ___

[issue17611] Move unwinding of stack for pseudo exceptions from interpreter to compiler.

2013-04-01 Thread Mark Shannon
New submission from Mark Shannon: The handling of pseudo exceptions (return, break and continue) are currently handled in the interpreter. This make the interpreter loop more complex and slower than it needs to be. This change moves the handling of pseudo exceptions into the compiler. The

[issue17611] Move unwinding of stack for pseudo exceptions from interpreter to compiler.

2013-04-01 Thread Mark Shannon
Changes by Mark Shannon m...@hotpy.org: -- keywords: +patch Added file: http://bugs.python.org/file29646/b16527f84774.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17611 ___

[issue14135] check for locale changes in test.regrtest

2013-04-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4fcd50a6dca7 by Brett Cannon in branch 'default': Issue #14135: Make sure tests don't leave the locale changed for any http://hg.python.org/cpython/rev/4fcd50a6dca7 -- nosy: +python-dev ___ Python

[issue14135] check for locale changes in test.regrtest

2013-04-01 Thread Brett Cannon
Brett Cannon added the comment: Sorry it took so wrong to get to this. It simply fell out of my purview. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14135

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ed8a8e781c3 by Antoine Pitrou in branch 'default': Issue #17483: remove unreachable code in urlopen(). http://hg.python.org/cpython/rev/4ed8a8e781c3 -- nosy: +python-dev ___ Python tracker

[issue14135] check for locale changes in test.regrtest

2013-04-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I had to back out this changeset as it totally broke the test suite here: [ 91/372/90] test_defaultdict test test_defaultdict crashed -- Traceback (most recent call last): File /home/antoine/cpython/default/Lib/test/regrtest.py, line 1287, in runtest_inner

[issue2889] curses for windows (alternative patch)

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Christoph Gohlke any chance of providing a build for 3.3? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2889 ___

[issue17357] Add missing verbosity message to importlib

2013-04-01 Thread Brett Cannon
Brett Cannon added the comment: Also done in default but since I forgot to say it was a merge for this issue it didn't add the commit message. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker

[issue17357] Add missing verbosity message to importlib

2013-04-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac89e7bc0e2f by Brett Cannon in branch '3.3': Issue #17357: Add missing verbosity messages when running under http://hg.python.org/cpython/rev/ac89e7bc0e2f -- nosy: +python-dev ___ Python tracker

[issue6335] Add support for mingw

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Brian,Tim any comments on this? Out of curiosity how does cygwin manage Python? -- nosy: +brian.curtin, tim.golden versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue14135] check for locale changes in test.regrtest

2013-04-01 Thread Brett Cannon
Brett Cannon added the comment: Can you check the attached patch works for you, Antoine? -- Added file: http://bugs.python.org/file29647/check_locale.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14135

[issue6335] Add support for mingw

2013-04-01 Thread Brian Curtin
Brian Curtin added the comment: None from me. Not familiar with what cygwin does. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6335 ___ ___

[issue14135] check for locale changes in test.regrtest

2013-04-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: It does, thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14135 ___ ___ Python-bugs-list mailing list

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2013-04-01 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: -flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7475 ___ ___ Python-bugs-list

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2013-04-01 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7475 ___ ___ Python-bugs-list

[issue14135] check for locale changes in test.regrtest

2013-04-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset dfe04eaa3924 by Brett Cannon in branch 'default': Issue #14135: Let's try this again. http://hg.python.org/cpython/rev/dfe04eaa3924 -- ___ Python tracker rep...@bugs.python.org

[issue14135] check for locale changes in test.regrtest

2013-04-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14135 ___ ___ Python-bugs-list

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think whatever we do should be done on all versions. This is not a 'major rewrite'. As I remember, installing Python on Windows adds 'edit with IDLE' to the right-click context menu. I cannot check at the moment because my substitute machine only has

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: Antoine - I approached it from idea that check_hostname as a setting is allowed from HTTPSConnection (http/client.py) but it not controllable from urllib. Is there a case where it is useful in HTTPSConnection, but it should not be from urllib? - Thanks for

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Antoine - I approached it from idea that check_hostname as a setting is allowed from HTTPSConnection (http/client.py) but it not controllable from urllib. Is there a case where it is useful in HTTPSConnection, but it should not be from urllib?

[issue1528154] New sequences for Unicode groups and block ranges needed

2013-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am trying to decide if this issue still serves a purpose. It seems to be a request to add something to the existing re module. Fredrik semi-rejected the idea without a (micro)-pep. A python-ideas discussion is now another option. Matthew's regex

[issue1528154] New sequences for Unicode groups and block ranges needed

2013-04-01 Thread Ezio Melotti
Ezio Melotti added the comment: We should really just include regex in 3.4. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1528154 ___

[issue7094] Add alternate float formatting styles to new-style formatting.

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Eric looks as if the bulk of the work has been done so would you like to dot the i's and cross the t's? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7094

[issue6743] Add function compatible with print to pprint module

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Éric I'd be interested in using this as print/pprint are part of my debugging kit, so could you take this forward please? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue7559] TestLoader.loadTestsFromName swallows import errors

2013-04-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7559 ___ ___ Python-bugs-list

[issue6743] Add function compatible with print to pprint module

2013-04-01 Thread Éric Araujo
Éric Araujo added the comment: Still waiting for a review. -- keywords: +needs review stage: needs patch - patch review versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6743

[issue17566] Document that importlib.abc.Loader.module_repr is abstract and thus needed by various other ABCs

2013-04-01 Thread Brett Cannon
Brett Cannon added the comment: Barry, Eric: can you clarify why you made module_repr an abstractmethod and thus require its overloading? It seems like its default is fine and you should only need to overload it when you can say something better than the default. -- nosy: +barry,

[issue17566] Document that importlib.abc.Loader.module_repr is abstract and thus needed by various other ABCs

2013-04-01 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Apr 01, 2013, at 07:40 PM, Brett Cannon wrote: Barry, Eric: can you clarify why you made module_repr an abstractmethod and thus require its overloading? Maybe Eric can, but I can't. ;) I honestly don't remember why we made it abstract, except perhaps

[issue17359] python modules.zip is not documented

2013-04-01 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I don't think that's enough documentation for the feature. There's a whole PEP 338 just for the -m option due to the subtle issue associated with the run a module logic, so I'd expect somewhat more detail or an update of the PEP with the needed details.

[issue17359] python modules.zip is not documented

2013-04-01 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg m...@egenix.com: -- versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17359 ___ ___

[issue17561] Add socket.create_server_sock() convenience function

2013-04-01 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Being Tulip asynchronous I think that what it needs is an utility function which returns *multiple* sockets as are the addresses returned by getaddrinfo() and also possibly even disable the IPv4/6 dual stack in order to be consistent across all platforms.

[issue17359] python modules.zip is not documented

2013-04-01 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: -Python 2.6, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17359 ___ ___

[issue17571] broken links on Lib/datetime.py docstring

2013-04-01 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch. -- keywords: +patch stage: - commit review type: - enhancement Added file: http://bugs.python.org/file29648/issue17571.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17571

[issue6743] Add function compatible with print to pprint module

2013-04-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't understand how this is supposed to work or what the point is. By construction, pprint prints a *single* object, and it will split the representation over several lines if necessary. Therefore the print() semantics (print several objects one after

[issue6743] Add function compatible with print to pprint module

2013-04-01 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6743 ___ ___ Python-bugs-list

[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

2013-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: A corollary of what I said is that if something is a bad idea for 3.3, it is probably a bad idea for 3.4. On idle-dev thread Feedback requested on issue 17609: ..., Bruce Sherwood says For the thousands of students in our intro physics curriculum who use

[issue17583] IDLE HOWTO

2013-04-01 Thread Ezio Melotti
Ezio Melotti added the comment: I added a few more comments. To clarify, when I said two documents, I meant that there will be only a single HOWTO, but on 2.7 it will be specific to Python 2, whereas on 3.x it will be specific to Python 3. -- ___

[issue17566] Document that importlib.abc.Loader.module_repr is abstract and thus needed by various other ABCs

2013-04-01 Thread Brett Cannon
Brett Cannon added the comment: If Eric doesn't have anything to add then I would like to change importlib.abc.Loader.module_repr() to no longer be abstract and the default to be defined as ``return repr(module)``. Else it should be entirely optional and not have a default implementation, but

[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: #7232 has been closed so test_tarfile can presumably now be committed, also test_os. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7944

[issue17566] Document that importlib.abc.Loader.module_repr is abstract and thus needed by various other ABCs

2013-04-01 Thread Eric V. Smith
Eric V. Smith added the comment: I was going to blame Barry, but I see he beat me to it :) It looks like an oversight, and it shouldn't be abstract. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17566

[issue17610] Qsort function misuse in typeobject.c

2013-04-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9431a092b708 by Benjamin Peterson in branch '3.3': list slotdefs in offset order rather than sorting them (closes #17610) http://hg.python.org/cpython/rev/9431a092b708 New changeset 96c0efe93774 by Benjamin Peterson in branch 'default': merge 3.3

[issue17610] Qsort function misuse in typeobject.c

2013-04-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the report. I fixed the 3.3 and 3.4 branches. If you felt motivated to do the associated shuffling around in 2.7, I would accept a patch. -- nosy: +benjamin.peterson ___ Python tracker

[issue17566] Document that importlib.abc.Loader.module_repr is abstract and thus needed by various other ABCs

2013-04-01 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Apr 01, 2013, at 09:04 PM, Brett Cannon wrote: If Eric doesn't have anything to add then I would like to change importlib.abc.Loader.module_repr() to no longer be abstract and the default to be defined as ``return repr(module)``. Else it should be entirely

[issue17583] IDLE HOWTO

2013-04-01 Thread Amit Saha
Amit Saha added the comment: Thanks Ezio. I am almost done with incorporating the changes suggested and will submit a patch sometime in the next day or so. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17583

[issue17612] hooks/mail.py requires [smtp] host to be set, despite a comment to the contrary

2013-04-01 Thread Eric V. Smith
New submission from Eric V. Smith: In the mail hook, there's a comment that says: ''' To set the SMTP server to something other than localhost, add a [smtp] section to your hgrc: [smtp] host = mail.python.org port = 25 ''' This is not true. The default host is '', which tells smtplib.SMTP to

[issue17566] Document that importlib.abc.Loader.module_repr is abstract and thus needed by various other ABCs

2013-04-01 Thread Brett Cannon
Brett Cannon added the comment: Totally optional and no default argument it is. -- assignee: docs@python - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17566 ___

[issue17359] Mention __main__.py explicit in command line docs

2013-04-01 Thread Nick Coghlan
Nick Coghlan added the comment: The previous title was not accurate, as the directory and zipfile execution feature is documented at http://docs.python.org/2/using/cmdline.html#interface-options It is also documented in http://docs.python.org/3/library/runpy#runpy.run_path -- title:

[issue17359] Mention __main__.py explicitly in command line docs

2013-04-01 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- title: Mention __main__.py explicit in command line docs - Mention __main__.py explicitly in command line docs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17359

[issue17359] Mention __main__.py explicitly in command line docs

2013-04-01 Thread Nick Coghlan
Nick Coghlan added the comment: There's also a problem where the CLI docs claim __main__.py support was added in 2.5 - that's not accurate, it was only added in 2.6. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17359

[issue14097] Improve the introduction page of the tutorial

2013-04-01 Thread Ezio Melotti
Ezio Melotti added the comment: Attached a new patch that should address all the points except the last example with Fibonacci. -- stage: needs patch - patch review versions: -Python 3.2 Added file: http://bugs.python.org/file29649/issue14097-2.diff

[issue8079] make install fails with -j8 with python2.6/config on FreeBSD

2013-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Garrett, I don't know that any of our active developers use FreeBSD. Is this a problem with 2.7.3 or 3.3.0 (or 2.7.4 or 3.3.1 when they come out in a week)? If you have lost interest, please say so and we will close until such time as it becomes current

[issue6335] Add support for mingw

2013-04-01 Thread Ned Deily
Ned Deily added the comment: This issue has likely been superseded by more recent activity to support mingw, for example, activity tracked in Issue17605. Roumen? -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org

[issue17613] IDLE error

2013-04-01 Thread Raymond Hettinger
New submission from Raymond Hettinger: Running ILDE with 2.7.4 RC 1 on Mac OS X 10.8 and with ActiveTCL 8.5.13 using python -m idlelib.idle, I object the following traceback messages. I'm unsure what events are triggering it: Traceback (most recent call last): File

[issue17611] Move unwinding of stack for pseudo exceptions from interpreter to compiler.

2013-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: Additional effect: Destabilizes lots of code that has had a decade to mature. It messes with the compiler, the eval loop, the peephole optimizer, the disassembler, every third-party tool that examines or alters byte codes, any tool or VM that implements

[issue17483] Can not tell urlopen not to check the hostname for https connections.

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: HTTPSConnection is lower-level, so it makes sense to allow more deviations there. That's why HTTPSConnection also takes the context directly. That's okay of an explanation. HTTPSHandler in urllib module provides an option to send the context and the

[issue17613] IDLE error

2013-04-01 Thread Todd Rovito
Todd Rovito added the comment: Raymond, Is then when you simply startup IDLE or are you opening a Python file to edit? The only reason why I ask about editing a file is because ColorDelegator is used to by the EditorWindow to perform the syntax hi-lighting (I think). I have a few Macs so

[issue8913] Document that datetime.__format__ is datetime.strftime

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: Can issue8913-3.patch be committed or are any further tweaks needed? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8913 ___

[issue14679] Define an __all__ for html.parser

2013-04-01 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, HTMLParseError should also be defined __all__ (all also servers as what public classes/methods to look for sometimes and sets some expectation while reading the code.) There is no deprecation warning added in the class here. -- nosy:

[issue17583] IDLE HOWTO

2013-04-01 Thread Todd Rovito
Todd Rovito added the comment: Sorry about using the wrong word, I should of used HowTo not FAQ. I really meant to suggest replacing guide with the word HowTo. A HowTo would be perfect Sorry about the confusion. Thanks again. -- ___ Python

[issue6822] Error calling .storlines from ftplib

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: ftplib_doc.patch is so simple I'm assuming this has slipped under the radar, so would someone like to do the honours and commit the patch please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue10379] locale.format() input regression

2013-04-01 Thread Mark Lawrence
Mark Lawrence added the comment: msg120978 The bug has been fixed upstream Have I missed something as on Windows Vista...? c:\Users\Mark\MyPythonpython Python 3.3.1rc1 (v3.3.1rc1:92c2cfb92405, Mar 25 2013, 22:39:19) [MSC v.1600 32 bit (Intel)] on win32 Type help, copyright, credits or

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-01 Thread Ned Deily
Ned Deily added the comment: Setting as 2.7.4 release blocker pending further analysis. Roger, any ideas? Would having the contents of Raymond's .idlerc files be of help? Raymond, does IDLE terminate when the exception occurs or does it keep running? -- nosy: +benjamin.peterson

[issue17587] Have all core library modules imported by default

2013-04-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Well, the fun has been had. -- nosy: +benjamin.peterson resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17587

[issue17587] Have all core library modules imported by default

2013-04-01 Thread Daniel Ellis
Daniel Ellis added the comment: It was a hell of a ride. On Mon, Apr 1, 2013 at 10:59 PM, Benjamin Peterson rep...@bugs.python.orgwrote: Benjamin Peterson added the comment: Well, the fun has been had. -- nosy: +benjamin.peterson resolution: - rejected status: open - closed

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do you get the same traceback with python -m idlelib? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17613 ___

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-01 Thread Ned Deily
Ned Deily added the comment: python -m idlelib isn't implemented for 2.7.x, is it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17613 ___ ___

[issue1274] doctest fails to run file based tests with 8bit paths

2013-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this for lack of evidence that there is a bug in a current release 2.7.3 or 3.3.0 or release candidate for 2.7.4 or 3.3.1. What would be needed is a self-contained example that shows a problem with one of the above. -- assignee: tim_one -

[issue14905] zipimport.c needs to support namespace packages when no 'directory' entry exists

2013-04-01 Thread Phillip J. Eby
Phillip J. Eby added the comment: Just a note: the zip files produced by the distutils and friends (sdist, bdist_dumb, eggs) do not include entries for plain directories. I would guess that this is also true for wheels at the moment, unless something was specifically done to work around this

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-01 Thread Roger Serwy
Roger Serwy added the comment: It's a race condition due to ColorDelegator calling .update() in its recolorize method. The call to .update() flushes pending events, including callbacks into Python code that can change out the ColorDelegator in the Percolator chain. Here's a way to trigger

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, idlelib.__main__.py was only added to 3.3. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17613 ___ ___

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-01 Thread Roger Serwy
Roger Serwy added the comment: I misworded the first sentence. It should have read: Using bigfile.py as generated by the program in #17613 can trigger the following traceback when quickly closing the editor. Other large files can be used to trigger the bug as well, like Lib/decimal.py.

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-01 Thread Roger Serwy
New submission from Roger Serwy: Using the bigfile.py generation program from #17613 triggers the following traceback: Traceback (most recent call last): File /usr/bin/idle, line 5, in module main() File /usr/lib/python3.3/idlelib/PyShell.py, line 1431, in main if

[issue17614] IDLE - quickly closing a large file triggers a traceback

2013-04-01 Thread Roger Serwy
Roger Serwy added the comment: Like #17613, the root cause is a call to .update() in Lib/idlelib/PyShell.py .restore_file_breaks(). The attached patch fixes the issue. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file29651/issue17614.patch

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

2013-04-01 Thread Roger Serwy
Roger Serwy added the comment: I received permission from UIUC to relicense IdleX code used for contributions into Python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17535 ___

[issue16887] IDLE - tabify/untabify applied when clicking Cancel

2013-04-01 Thread Todd Rovito
Todd Rovito added the comment: Roger, I tested the patch and it does seem to function as you describe so feel free to apply the patch. The tabify function makes me scratch my head a little, according to help.txt: Tabify Region -- Turns *leading* stretches of spaces into tabs

[issue16887] IDLE - tabify/untabify applied when clicking Cancel

2013-04-01 Thread Roger Serwy
Roger Serwy added the comment: Todd, Tabify/Untabify are functions to deal with the great tabs vs. spaces debate (though PEP8 says that spaces are the way to go). The tabify function needs a minimum of 2 spaces before it replaces it with a tab. Its implementation in

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-01 Thread Roger Serwy
Roger Serwy added the comment: Removing Geoge and Larry from nosy. I'm not sure how they got added. I didn't click on anything in the Nost List box. Ned, did you mean to add Benjamin to the nosy list? -- ___ Python tracker rep...@bugs.python.org

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-01 Thread Roger Serwy
Roger Serwy added the comment: Is there an automatic nosy-list adder routine in the bug-tracker that I should know about? Georg and Larry were re-added to nosy even after I removed them. (I'm sorry for the spam.) -- ___ Python tracker

[issue17613] IDLE AttributeError: 'NoneType' object has no attribute 'index' from Delegator.py

2013-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: Raymond, does IDLE terminate when the exception occurs or does it keep running? It keeps running. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17613

  1   2   >