[issue15189] tkinter.messagebox does not use the application's icon

2012-07-09 Thread Mark Summerfield
Mark Summerfield added the comment: On Linux & Windows every top-level window (including dialogs) normally has an icon at the left of the title bar. Typically this icon is the application's icon. But tkinter doesn't provide such an icon and so a system default icon is used instead. For one's

[issue15303] Minor revision to the method in Tkinter

2012-07-09 Thread Drew French
New submission from Drew French : In the method, is evaluated as a Boolean (when Tkinter attempts to find a parent for the widget). I think it should really be evaluated against , seeing as that is the default keyword argument value for most widgets. I ran into problems with this when makin

[issue15279] Spurious unittest warnings

2012-07-09 Thread Łukasz Langa
Łukasz Langa added the comment: Unfortunately, exactly the same thing happens with == CPython 3.3.0b1 (default:464c6a50b0ce, Jul 9 2012, 09:26:07) [GCC 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.61)] == Darwin-11.4.0-x86_64-i386-64bit little-endian == /Users/ambv

[issue15283] pyvenv says nothing on success

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset baf5ed391a7f by Vinay Sajip in branch 'default': Issue #15283: Updated pyvenv documentation to expand on activation. http://hg.python.org/cpython/rev/baf5ed391a7f -- ___ Python tracker

[issue15189] tkinter.messagebox does not use the application's icon

2012-07-09 Thread Drew French
Drew French added the comment: This is also true for some of the other dialogs (such as the file dialogs). Does anyone know if this behavior can be changed in Tk itself? -- nosy: +Drew.French ___ Python tracker

[issue15267] tempfile.TemporaryFile and httplib incompatibility

2012-07-09 Thread Tim Golden
Tim Golden added the comment: Could you create a failing test, please, Tim S? -- nosy: +tim.golden ___ Python tracker ___ ___ Python-

[issue15279] Spurious unittest warnings

2012-07-09 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue15304] Wrong path in test.support.temp_cwd() error message

2012-07-09 Thread Chris Jerdonek
New submission from Chris Jerdonek : test.support.temp_cwd() has a typo (s/name/path/): try: os.chdir(path) except OSError: if not quiet: raise warnings.warn('tests may fail, unable to change the CWD to ' + name, RuntimeWarning, stacklevel=3) -- com

[issue15267] tempfile.TemporaryFile and httplib incompatibility

2012-07-09 Thread Ramchandra Apte
Ramchandra Apte added the comment: BTW, type(0) should be replaced with int in the code. -- nosy: +ramchandra.apte ___ Python tracker ___ ___

[issue15305] Test harness unnecessarily disambiguating twice

2012-07-09 Thread Chris Jerdonek
New submission from Chris Jerdonek : It seems like our test harness is disambiguating more than it needs to for parallel testing. In Lib/test/regrtest.py, we do this-- # Define a writable temp dir that will be used as cwd while running # the tests. The name of the dir includes the pid to allow

[issue15305] Test harness unnecessarily disambiguating twice

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: The former option seems to make more sense to me (a single working directory for all parallel tests using a disambiguated TESTFN). -- ___ Python tracker _

[issue15300] test directory doubly-nested running tests with -j/--multiprocess

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: After this patch, it's clear that TEMPDIR and TESTCWD no longer have to be global variables. I can make that a separate issue after this one. -- ___ Python tracker _

[issue15304] Wrong path in test.support.temp_cwd() error message

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Adding failing test. -- keywords: +patch stage: -> needs patch Added file: http://bugs.python.org/file26327/issue-15304-failing-test.patch ___ Python tracker

[issue15304] Wrong path in test.support.temp_cwd() error message

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching fix. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file26328/issue-15304-fix.patch ___ Python tracker ___

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15299] pkgutil.ImpImporter(None).iter_modules() does not search sys.path

2012-07-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15299] pkgutil.ImpImporter(None).iter_modules() does not search sys.path

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: I'm working on a test for this. -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-li

[issue15299] pkgutil.ImpImporter(None).iter_modules() does not search sys.path

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Add failing tests. -- keywords: +patch stage: test needed -> needs patch Added file: http://bugs.python.org/file26329/issue-15299-failing-test.patch ___ Python tracker ___

[issue15262] Idle does not show traceback in other threads

2012-07-09 Thread Mark
Mark added the comment: Yay! I can't wait :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue15306] Python3 segfault? (works in Python2)

2012-07-09 Thread Ztatik Light
Ztatik Light added the comment: Crash happens in FT_Request_Size and seems to have been addressed by someone working at SFML: http://en.sfml-dev.org/forums/index.php?topic=2208.0 [Backtrace attached as 'backtrace.txt'] -- Added file: http://bugs.python.org/file26331/backtrace.txt __

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-09 Thread Ronald Oussoren
New submission from Ronald Oussoren : The attached patch ensures that "python3.3 -mvenv --symlinks myenv" works with framework builds. There are two functional changes: 1) don't call 'realpath' in pythonw.c because realpath resolves symlinks and that breaks the '--symlinks' options because t

[issue15307] Patch for --symlink support in pyvenv with framework python

2012-07-09 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: +ned.deily, vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue15306] Python3 segfault? (works in Python2)

2012-07-09 Thread Ztatik Light
Ztatik Light added the comment: I think this is the related SFML fix patch commit: https://github.com/LaurentGomila/SFML/commit/da5ac8a9512885c5b245a24915733c3b26f689b7 -- ___ Python tracker _

[issue15306] Python3 segfault? (works in Python2)

2012-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: How is the fix related to Python? Also, you pass a unicode string to freetype.FT_New_Face. You should probably pass a bytes string there, and in any case set the "argtypes" and "restypes" attributes to ctypes functions, to prevent such failures. --

[issue15306] Python3 segfault? (works in Python2)

2012-07-09 Thread Ztatik Light
Ztatik Light added the comment: Mmmm. The fix isn't necessary related to python at all but I figured might potentially AIDE in a python fix. Also, I'm not passing a unicode string... that says '/u' not '\u' ... Also, I tried setting res/argtypes but to no avail. -- __

[issue15306] Python3 segfault? (works in Python2)

2012-07-09 Thread Ztatik Light
Ztatik Light added the comment: Ooo ... using bytes() DID seem to help. HAHA? -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue15306] Python3 segfault? (works in Python2)

2012-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: In Python2, strings are bytes; in Python3, they are unicode. You need to use the b'' syntax. -- resolution: -> invalid status: open -> closed ___ Python tracker _

[issue15267] tempfile.TemporaryFile and httplib incompatibility

2012-07-09 Thread Tim Smith
Tim Smith added the comment: Here is a program that demonstrates the problem: import httplib import tempfile f = tempfile.TemporaryFile() f.write("Hello, Temporary File!") f.seek(0) c = httplib.HTTPConnection('bugs.python.org') c.request('POST', '/', f, {'Content-t

[issue14787] pkgutil.walk_packages returns extra modules

2012-07-09 Thread Brett Cannon
Brett Cannon added the comment: So the lack of output in 3.3 is not surprising as walk_packages() won't work with the new import implementation as it relies on a non-standard method on loaders that import does not provide. -- ___ Python tracker

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Ronan Lamy
Ronan Lamy added the comment: AFAICT, the intent of this function was to help provide a fully PEP-302 compliant import process wrapping the builtin C-implemented import mechanism. Nowadays, I believe that iterating over sys.meta_path should probably be enough. -- nosy: +Ronan.Lamy __

[issue15288] Clarify the pkgutil.walk_packages() note

2012-07-09 Thread Ronan Lamy
Ronan Lamy added the comment: It seems that most, if not all, uses of "importer" in pkgutil refer to finders, e.g. ImpImporter is a actually only a finder, not an importer. So s/importer/finder/ is needed, and perhaps also a note explaining that ImpImporter isn't in fact an importer, in addit

[issue15256] Typo in error message

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75831951a6b5 by Brett Cannon in branch 'default': Issue #15256: Re-use the ImportError exception message as defined by http://hg.python.org/cpython/rev/75831951a6b5 -- nosy: +python-dev ___ Python tracke

[issue15256] Typo in error message

2012-07-09 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, Marc! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue15297] pkgutil.iter_importers() includes an ImpImporter

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Marking this a documentation issue because the same behavior is also present in 2.7: Python 2.7.3 (default, Apr 19 2012, 00:55:09) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin >>> from pkgutil import iter_importers >>> list(i

[issue15056] Have imp.cache_from_source() raise NotImplementedError when cache tag not available

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset e86330669bb5 by Brett Cannon in branch 'default': Issue #15056: imp.cache_from_source() and source_from_cache() raise http://hg.python.org/cpython/rev/e86330669bb5 -- nosy: +python-dev ___ Python tracker

[issue15056] Have imp.cache_from_source() raise NotImplementedError when cache tag not available

2012-07-09 Thread Brett Cannon
Brett Cannon added the comment: I released Pranav's patch and fleshed it out with docs, tests, and changes to importlib's use of cache_from_source(). -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue15288] Clarify the pkgutil.walk_packages() note

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 96f7926ea444 by Brett Cannon in branch 'default': Issue #15288: Clarify that pkgutil.walk_packages() and friends will no http://hg.python.org/cpython/rev/96f7926ea444 -- nosy: +python-dev ___ Python trac

[issue15288] Clarify the pkgutil.walk_packages() note

2012-07-09 Thread Brett Cannon
Brett Cannon added the comment: I changed to term to "loader" and linked to the glossary. I also added a versionchanged note for Python 3.3 so people are not too surprised that pkgutil no longer does what it did in Python 3.2. -- resolution: -> fixed status: open -> closed _

[issue15242] PyImport_GetMagicTag() should use the same const char * as sys.implementation.cache_tag

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee01fd98b5b0 by Brett Cannon in branch 'default': Issue #15242: Have PyImport_GetMagicTag() return a const char * http://hg.python.org/cpython/rev/ee01fd98b5b0 -- nosy: +python-dev ___ Python tracker

[issue15242] PyImport_GetMagicTag() should use the same const char * as sys.implementation.cache_tag

2012-07-09 Thread Brett Cannon
Brett Cannon added the comment: I went ahead and committed Eric's patch. Amaury, if you want to move the macros to a header file I see no reason not to, but I also don't see a need so I didn't want to spend the time doing it myself. -- resolution: -> fixed __

[issue15288] Clarify the pkgutil.walk_packages() note

2012-07-09 Thread Brett Cannon
Brett Cannon added the comment: Ronan is right that it is all about finders, not importers per-se. I fixed the docs to not say "loader". -- ___ Python tracker ___ _

[issue15300] test directory doubly-nested running tests with -j/--multiprocess

2012-07-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +flox, r.david.murray stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 422242dbce30 by Martin v. Löwis in branch '3.2': Issue #13532: Check that arguments to sys.stdout.write are strings. http://hg.python.org/cpython/rev/422242dbce30 -- nosy: +python-dev ___ Python tracker

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 58189e37331c by Martin v. Löwis in branch '2.7': - Issue #13532: Check that arguments to sys.stdout.write are strings. http://hg.python.org/cpython/rev/58189e37331c -- ___ Python tracker

[issue11176] give more meaningful argument names in argparse documentation

2012-07-09 Thread Greg Roodt
Greg Roodt added the comment: Hi David Ok, I like the idea of working on a solution together. I like your idea of the pizza-making more than the current "foo bar" examples. Should we collaborate outside of the bug tracker? Greg On 9 July 2012 07:11, David Lam wrote: > > David Lam added th

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: All problems in computer science can be solved by another indirection... I've added another wrapper around the RPC proxy to cause the type error. (A variant of) Roger's patch is still included to support the -n case. -- resolution: -> fixed status:

[issue15242] PyImport_GetMagicTag() should use the same const char * as sys.implementation.cache_tag

2012-07-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: It's not necessary. The fix looks good as is. -- ___ Python tracker ___ ___ Python-bugs-list

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Roger Serwy
Roger Serwy added the comment: I just pulled Martin's patches and they fix the issue. Indirection to the rescue! There is one very slight problem though with the error message raised on 2.7 since it is different than 3.3. Attached is a patch to fix it. -- Added file: http://bugs.pyth

[issue15294] regression with nested namespace packages

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset a7b8c3323db9 by Antoine Pitrou in branch 'default': Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of nested namespace packages. http://hg.python.org/cpython/rev/a7b8c3323db9 -- nosy: +python-dev __

[issue15294] regression with nested namespace packages

2012-07-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed! I also backported the test to 3.2. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue11176] give more meaningful argument names in argparse documentation

2012-07-09 Thread Greg Roodt
Greg Roodt added the comment: I've made the minor edits required after the review to my simplification of the first example. David, perhaps we combine our efforts? Use my simple first example to explain the very basics, then continue the explanation with the pizza example? Im happy either wa

[issue13959] Re-implement parts of imp in pure Python

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset efb5e6ab10f4 by Brett Cannon in branch 'default': Issue #15167 (as part of #13959): imp.get_magic() is no implemented in http://hg.python.org/cpython/rev/efb5e6ab10f4 -- ___ Python tracker

[issue15167] Re-implement imp.get_magic() in pure Python

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset efb5e6ab10f4 by Brett Cannon in branch 'default': Issue #15167 (as part of #13959): imp.get_magic() is no implemented in http://hg.python.org/cpython/rev/efb5e6ab10f4 -- nosy: +python-dev ___ Python trac

[issue15167] Re-implement imp.get_magic() in pure Python

2012-07-09 Thread Brett Cannon
Brett Cannon added the comment: OK, finally in. Thanks for the hard work on this, Eric. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue13959] Re-implement parts of imp in pure Python

2012-07-09 Thread Brett Cannon
Brett Cannon added the comment: Since the final issue is just a nicety, I am considering this issue closed. -- dependencies: -Deprecate imp.find_module()/load_module() resolution: -> fixed ___ Python tracker ___

[issue1076515] shutil.move clobbers read-only files.

2012-07-09 Thread Greg Roodt
Greg Roodt added the comment: I can add some more info to the docs if anybody feels they are required, but I think they are sufficient. It already mentions that it copies file contents and that the correct permissions are required. This is mentioned in the docs for shutil.copyfile: The desti

[issue13959] Re-implement parts of imp in pure Python

2012-07-09 Thread Brett Cannon
Changes by Brett Cannon : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2012-07-09 Thread Roger Serwy
New submission from Roger Serwy : Add an "Interrupt Execution" to the Shell menu, per issue13504, annoyance #3 - "PROBLEM: There’s no obvious way to stop a running program. (Don’t expect them to know Ctrl-C)" -- components: IDLE keywords: easy messages: 165122 nosy: serwy, terry.reedy

[issue13504] Meta-issue for "Invent with Python" IDLE feedback

2012-07-09 Thread Roger Serwy
Changes by Roger Serwy : -- dependencies: +IDLE - add an "Interrupt Execution" to shell menu ___ Python tracker ___ ___ Python-bugs-li

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ah, this indicates that we should support any buffer object... -- ___ Python tracker ___ ___ Pytho

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2012-07-09 Thread Roger Serwy
Changes by Roger Serwy : -- keywords: +patch Added file: http://bugs.python.org/file26335/issue15308.patch ___ Python tracker ___ ___

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks Martin. I was thinking of adding special-casing inside the rpcproxy class, but the wrapping is pretty clean and clear. Works great in 3.3 Win7-64. The 2.7 message 'expected a character buffer object' is technically correct*, but opaque, especially to b

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm losing interest in this issue. It already got more attention than it deserves. Terry, feel free to make whatever change you consider desirable. -- ___ Python tracker ___

[issue1757057] Unexpected "maximum recursion depth exceeded" in IDLE shell with objects that cannot be pickled

2012-07-09 Thread Roger Serwy
Roger Serwy added the comment: I think that issue13532 fixes this issue, as only strings are now pickled from the subprocess to the IDLE front-end for writing to stdout and stderr. This should address the pickling vulnerability. I downloaded BeautifulSoup 3.0.4 and did not see this problem wh

[issue1596321] KeyError at exit after 'import threading' in other thread

2012-07-09 Thread Alexis Metaireau
Changes by Alexis Metaireau : -- nosy: +alexis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue15309] buffer/memoryview slice assignment uses only memcpy

2012-07-09 Thread Ronny Pfannschmidt
New submission from Ronny Pfannschmidt : thats broken for assigning overlaping regions, the memcpy docs explicitly state that memmove should be used in overlap cases -- messages: 165127 nosy: Ronny.Pfannschmidt priority: normal severity: normal status: open title: buffer/memoryview slic

[issue4832] idle filename extension

2012-07-09 Thread Roger Serwy
Roger Serwy added the comment: issue4832_rev1.patch is a complete patch against 3.3. This is also part of issue13504, "7) ANNOYANCE: It’s too easy to forget the .py extension when saving a file." -- stage: -> patch review Added file: http://bugs.python.org/file26336/issue4832_rev1.pa

[issue13504] Meta-issue for "Invent with Python" IDLE feedback

2012-07-09 Thread Roger Serwy
Changes by Roger Serwy : -- dependencies: +idle filename extension ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f891f44ec15 by Terry Jan Reedy in branch '2.7': Issue 13532: Allow bytearrays to be written also. http://hg.python.org/cpython/rev/4f891f44ec15 -- ___ Python tracker

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2012-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I tested and pushed the change to allow bytestrings. If anyone is printing other character buffer objects in 2.7 with Idle, they can explicitly convert to str/bytes, patch run.py, and/or post here or on a new issue for further expansion. I am otherwise done w

[issue11153] urllib2 basic auth parser handle unquoted realm in WWW-Authenticate header

2012-07-09 Thread Thomas Parslow
Thomas Parslow added the comment: This is already fixed in the current code, unquoted realms are allowed with a warning. -- nosy: +almost ___ Python tracker ___ ___

[issue15310] urllib: Support for multiple WWW-Authenticate headers and/or multiple challenges per header

2012-07-09 Thread Thomas Parslow
New submission from Thomas Parslow : The HTTP spec specifies that the 401 (Unauthorized) response can be accompanied by multiple challenges, either as separate WWW-Authenticate headers or in a single WWW-Authenticate header separated by commas. The client should always pick the strongest suppo

[issue15310] urllib: Support for multiple WWW-Authenticate headers and/or multiple challenges per header

2012-07-09 Thread Thomas Parslow
Thomas Parslow added the comment: I should mention, this fixes the same issue mentioned in #13323 but more comprehensively and for python 3 (the old issue refers to urllib2 in python2). -- ___ Python tracker

[issue11153] urllib2 basic auth parser handle unquoted realm in WWW-Authenticate header

2012-07-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: Yes, this is fixed as part of issue12541 -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue4832] idle filename extension

2012-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I tested with defaultextension='' on Windows and it works well. If no extension is entered (no '.' in name), .py or .txt is added for the .py/w and .txt filetype choices. If there is a . in the name, nothing is added. If one wants x.y.py, one must type the wh

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2012-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would like to broaden this to add other missing features to the menus. I have no need for this, but I would like history-next/prev added (to shell, as they only apply there). I never learned them because at first I did not know about them and now it is more

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2012-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was thinking about #12387 about caps lock and shortcuts. -- ___ Python tracker ___ ___ Python-bug

[issue15309] buffer/memoryview slice assignment uses only memcpy

2012-07-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15311] Developer Guide doesn't get updated once a day

2012-07-09 Thread Chris Jerdonek
New submission from Chris Jerdonek : The Dev Guide says that it is "managed using the same process as is used for the main Python documentation": http://docs.python.org/devguide/docquality.html#helping-with-the-developer-s-guide However, it looks the Dev Guide might not be on the same schedule

[issue15310] urllib: Support for multiple WWW-Authenticate headers and/or multiple challenges per header

2012-07-09 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue15298] _sysconfigdata is generated in srcdir, not builddir

2012-07-09 Thread Matthias Klose
Matthias Klose added the comment: looks like the module can be put into $builddir/`cat pybuilddir.txt`. However pybuilddir.txt is written/computed by the just built python. So either - implement distutils.util.get_platform in configure.ac - or write a temporary pybuilddir.txt, call the just

[issue15311] Developer Guide doesn't get updated once a day

2012-07-09 Thread Ezio Melotti
Ezio Melotti added the comment: I think there's an hook the rebuilds the devguide whenever someone pushes something. -- nosy: +georg.brandl, pitrou ___ Python tracker ___ _

[issue15312] Serial library not found

2012-07-09 Thread Julius
New submission from Julius : I'm running ver 2.7 and added the serial library from source forge. here is the error I get: Traceback (most recent call last): File "C:\Python27\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript exec codeObject in __main__.

[issue15302] Use argparse instead of getopt in test.regrtest

2012-07-09 Thread Ezio Melotti
Ezio Melotti added the comment: Do you want to propose a patch? regrtest has no tests, so switching to argparse might cause more harm than good right now. -- nosy: +ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker

[issue4640] optparse doesn’t disallow adding one-dash long options (“-option”)

2012-07-09 Thread Aaron
Aaron added the comment: I came across this bug report and was unable to reproduce the described behavior. I wrote a few test cases demonstrating that the behavior is indeed correct. It passes both against 2.5.2 (the version described in the report) and the lastest 2.7. The relevant code i

[issue15312] Serial library not found

2012-07-09 Thread Ezio Melotti
Ezio Melotti added the comment: This bug tracker is for reporting CPython bugs, so it's not the right place where to ask this kind of questions. Anyway make sure that the "serial" module is in a directory that Python can see, e.g. the same dir where you have your script. -- assignee:

[issue15313] IDLE - remove all bare excepts

2012-07-09 Thread Roger Serwy
Changes by Roger Serwy : -- components: IDLE nosy: serwy, terry.reedy priority: normal severity: normal status: open title: IDLE - remove all bare excepts type: enhancement versions: Python 2.7, Python 3.3 ___ Python tracker

[issue15313] IDLE - remove all bare excepts

2012-07-09 Thread Roger Serwy
New submission from Roger Serwy : There are a lot of bare exceptions in IDLE. Here's the output of "grep -n 'except:' *.py" AutoComplete.py:184:except: AutoComplete.py:209:except: Debugger.py:172:except: Debugger.py:344:except: EditorWindo

[issue15167] Re-implement imp.get_magic() in pure Python

2012-07-09 Thread Eric Snow
Eric Snow added the comment: Yay! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue4832] idle filename extension

2012-07-09 Thread Roger Serwy
Roger Serwy added the comment: Your description applied to the behavior on Ubuntu 11.04. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue13959] Re-implement parts of imp in pure Python

2012-07-09 Thread Eric Snow
Eric Snow added the comment: hurray! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2012-07-09 Thread Roger Serwy
Roger Serwy added the comment: I'm ok with broadening the scope of this issue to include other items. If we decide to deprecate running IDLE without a subprocess (http://mail.python.org/pipermail/idle-dev/2012-June/003124.html), then the history-next/prev would fit nicely under the Shell menu

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2012-07-09 Thread Roger Serwy
Roger Serwy added the comment: The help.txt file needs to be modified as well. See interrupt_execution.patch. -- Added file: http://bugs.python.org/file26339/interrupt_execution.patch ___ Python tracker __

[issue7883] CallTips.py _find_constructor does not work

2012-07-09 Thread Roger Serwy
Roger Serwy added the comment: Issue12510 fixes the issues listed here. I am leaving this issue open for discussing the test provided by Bernt. -- nosy: +terry.reedy resolution: -> fixed ___ Python tracker __

[issue15302] Use argparse instead of getopt in test.regrtest

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: Sure, if someone is open to reviewing it. The parsing code doesn't seem to be doing anything too fancy right now. I can decouple the parsing code and begin adding tests around parts that may need it more. Increasing coverage will be easier going forward. -

[issue15314] Use importlib instead of pkgutil in runpy

2012-07-09 Thread Nick Coghlan
New submission from Nick Coghlan : There's some lingering weirdness in runpy due to its reliance on pkgutil's import emulation (see #15272). For 3.3, I'd like to explicitly switch runpy over to using importlib. This was supposed to happen automatically, but the relevant API is "importlib.find

[issue4832] idle filename extension

2012-07-09 Thread Ned Deily
Ned Deily added the comment: As usual, there seem to be small but significant differences among the implementations. Testing with the three OS X Tk implementations shows that currently: 1. Aqua Tk 8.5 and Aqua Tk 8.4 do not supply a default extension when saving. With patch issue4832.diff ap

[issue15272] pkgutil.find_loader accepts invalid module names

2012-07-09 Thread Nick Coghlan
Nick Coghlan added the comment: I've taken 3.2 and 2.7 off the list - no doubt someone, somewhere is relying on this particular piece of missing input validation, so it's not worth risking breakage in a point release. I think it's worth fixing for 3.3, though. -- nosy: +georg.brandl

[issue15311] Developer Guide doesn't get updated once a day

2012-07-09 Thread Chris Jerdonek
Chris Jerdonek added the comment: This commit from 2 days ago-- http://hg.python.org/devguide/rev/d1958a94d0ff doesn't seem to be reflected in the published version as of yet: http://docs.python.org/devguide/docquality.html So maybe there is just a problem with the hook. If it does get rebu

[issue15313] IDLE - remove all bare excepts

2012-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: And possibly change the except clause. The except clause at PyShell 1245 was 'pass', which masked the issue of #13532 and was changed to 'raise' to effectively remove the try: except: to make the unknown problem more visible. It should perhaps be really remov

  1   2   >