[issue18103] Create a GUI test framework for Idle

2013-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. That still leaves the problem of getting all tests to run during development when running them with unittest. Calling requires('gui') passes when (_is_gui_available() and (caller is __main__ or 'gui' in use_resources)). Use_resources is normally set by

[issue18162] Add index attribute to IndexError

2013-06-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would also like to see a PEP or good python-dev discussion before embarking on all these API expansions. There should be an evaluation of whether any existing code would benefit from it, whether the current "args" attribute is sufficient, whether the cod

[issue18228] AIX locale parsing failure

2013-06-15 Thread David Edelsohn
New submission from David Edelsohn: All tests are failing for 3.x on AIX due to an error parsing the locale. This is not failing on 3.3 branch. File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/regrtest.py", line 1292, in runtest_inner with saved_test_environme

[issue18162] Add index attribute to IndexError

2013-06-15 Thread Brett Cannon
Brett Cannon added the comment: Obviously it can't be required that the index be provided as that would break way too much code. There are already exceptions in the stdlib that have optional attributes you can choose to (not) set. As for relying upon it, it would be just like any other object

[issue18103] Create a GUI test framework for Idle

2013-06-15 Thread Ned Deily
Ned Deily added the comment: Why not just run the tests under regrtest like all other standard library tests? From the build directory, you could use something like (Windows may be a bit different): ./python.exe -m test -h # to get regrtest options help ./python.exe -m test -ugui -v test_idl

[issue17238] IDLE: Enhance import statement completion

2013-06-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: I have a patch ready; have to make it ready (PEP8-compliance etc.) and then I can send it. On 16 June 2013 00:52, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > Making a list of all possible modules is harder than a list of attributes. > With

[issue18103] Create a GUI test framework for Idle

2013-06-15 Thread Nick Coghlan
Nick Coghlan added the comment: Indeed, I think the most sensible course here is to require the use of regrtest to run the GUI tests. Our other resource-dependent tests all fall into that category already. If the stdlib unittest provided a resource system, we'd rewrite the regrtest resource s

[issue18197] insufficient error checking causes crash on windows

2013-06-15 Thread Max DeLiso
Max DeLiso added the comment: ok I checked in to this more deeply and I was wrong about a few things. first, my patch is worthless - there are several more instances where the retval of fileno is passed directly to fstat and that is totally valid (provided the file* points to a valid file). l

[issue18219] csv.DictWriter is slow when writing files with large number of columns

2013-06-15 Thread Mikhail Traskin
Mikhail Traskin added the comment: Any way is fine with me. If you prefer to avoid having public filedset property, please use the attached patch. -- Added file: http://bugs.python.org/file30605/csvdictwriter.v2.patch ___ Python tracker

<    1   2