[issue18365] Idle: mock Text class and test thereof

2013-07-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc3a34e47923 by Terry Jan Reedy in branch '3.3': Issue #18365: convert buildbot errors to skips. http://hg.python.org/cpython/rev/bc3a34e47923 New changeset ba4c826848d5 by Terry Jan Reedy in branch '2.7': Issue #18365: convert buildbot errors to sk

[issue18365] Idle: mock Text class and test thereof

2013-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking through the 11 stable 3.x buildbots (1 still running), I see 3 outcomes. 1. Windows: test seemed to run, test_idle listed in 'altered environment'. 2. Some *nix: test gave no error, test_idle lit in 'tests skipped'. I presume this means that at least one

[issue12916] Add inspect.splitdoc

2013-07-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> needs patch versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___

[issue4534] problem with str.join - should work with list input, error says requires 'str' object

2013-07-13 Thread arsalan
arsalan added the comment: it is really a good help -- nosy: +bkyasi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue18352] collections.Counter with added attributes are not deepcopied properly.

2013-07-13 Thread Olivier Gagnon
Olivier Gagnon added the comment: Yes I do have code that break because of this behaviour. I'm doing evolutionary algorithm using a framework called DEAP. This framework creates a type called individual at the runtime by subclassing a container and adding it a fitness attribute. Those individu

[issue18365] Idle: mock Text class and test thereof

2013-07-13 Thread R. David Murray
R. David Murray added the comment: Yeah, DISPLAY is how unix finds the X11 display. I don't remember how the tkguionly tests deal with that being missing, but since the tests are run "headless" there is indeed no DISPLAY for the tests to talk to. -- __

[issue18365] Idle: mock Text class and test thereof

2013-07-13 Thread R. David Murray
R. David Murray added the comment: Looks like ttk_guionly gets skipped on my buildbot because of the following code at the top of test_ttk_guionly: try: ttk.Button() except TclError as msg: # assuming ttk is not available raise unittest.SkipTest("ttk not available: %s" %

[issue18439] Patchcheck for ACKS, NEWS does not work on Windows.

2013-07-13 Thread R. David Murray
R. David Murray added the comment: Using os.path.join to create the filenames should also work, I would think. -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue18440] hash() and __hash__() do not document their size constraints

2013-07-13 Thread Barry A. Warsaw
New submission from Barry A. Warsaw: If you have a custom object that implements __hash__() and it returns a value wider than Py_ssize_t, built-in hash() on the object will truncate information. This is because hash() takes the value returned by obj.__hash__() and coerces it through PyLong_Fr

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-13 Thread Terry J. Reedy
New submission from Terry J. Reedy: This is a continuation of #18365, where it was discovered after the first set of pushes that test.support.requires('gui') is currently insufficient (on non-Windows systems) for skipping gui tests on buildbots when they should be skipped, because the attem

[issue18365] Idle: mock Text class and test thereof

2013-07-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The change worked, so this issue can be closed. I opened a new issue, #18441, for dealing with the problem in test_idle by moving the TclError check there, so it does not arise in other idle_test/test_*.py files. -- stage: needs patch -> committed/reje

[issue11874] argparse assertion failure with brackets in metavars

2013-07-13 Thread paul j3
Changes by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue18441] Idle: Make test.support.requires('gui') skip when it should.

2013-07-13 Thread Ned Deily
Ned Deily added the comment: See Issue8716 for the history of check_tk_availability(). At the time, the Tk tests were the only ones trying to create real Tk objects (and thus causing crashes on some buildbot configurations). With the addition of IDLE tests that call Tk, it probably makes sen

[issue18442] Typo in developers.rst line 27

2013-07-13 Thread Févry Thibault
New submission from Févry Thibault: 'prush' -> 'push' -- components: Devguide messages: 193018 nosy: ezio.melotti, iwontbecreative priority: normal severity: normal status: open title: Typo in developers.rst line 27 ___ Python tracker

[issue18442] Typo in developers.rst line 27

2013-07-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 291c17c3d83f by Ned Deily in branch 'default': Closes Issue #18442: fix typo (noticed by Févry Thibault). http://hg.python.org/devguide/rev/291c17c3d83f -- nosy: +python-dev ___ Python tracker

[issue18442] Typo in developers.rst line 27

2013-07-13 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python

[issue9893] Removing the Misc/Vim/ files

2013-07-13 Thread Févry Thibault
Févry Thibault added the comment: The files weres indeed removed but Misc/Readme was not updated accordingly. The last line needs to be removed. -- nosy: +iwontbecreative ___ Python tracker

[issue11874] argparse assertion failure with brackets in metavars

2013-07-13 Thread Vajrasky Kok
Vajrasky Kok added the comment: Attached the unit test. Here is the simpler script to product the bug: import argparse parser = argparse.ArgumentParser(prog='PROG') parser.add_argument ('--a', metavar='a'*76) parser.add_argument ('--b', metavar="[innerpart]outerpart") p

[issue11874] argparse assertion failure with brackets in metavars

2013-07-13 Thread Vajrasky Kok
Vajrasky Kok added the comment: Sorry, got typo in last unit test. -- Added file: http://bugs.python.org/file30911/unit_test_for_inner_bracket_metavar.txt ___ Python tracker ___

[issue11874] argparse assertion failure with brackets in metavars

2013-07-13 Thread Vajrasky Kok
Changes by Vajrasky Kok : Removed file: http://bugs.python.org/file30910/unit_test_for_inner_bracket_metavar.txt ___ Python tracker ___ ___ P

[issue17721] Help button on preference window doesn't work

2013-07-13 Thread Todd Rovito
Todd Rovito added the comment: This patch LGTM as well. I think it should be committed ASAP because the button clearly doesn't work as it is programmed now. -- ___ Python tracker _

[issue18443] Misc/Readme still documents TextMate

2013-07-13 Thread Févry Thibault
New submission from Févry Thibault: changeset: 80448:901002834a68 user:Brett Cannon date:Thu Nov 15 16:12:19 2012 -0500 summary: Remove the TextMate bundle. -> Misc/Readme has not been updated accordingly. The line documenting TextMate should be removed. (Likewise, since

[issue18444] IDLE: Mac OS X pressing ctrl-A in Python shell moved cursor before the prompt, which then makes the keyboard unresponsive.

2013-07-13 Thread Todd Rovito
New submission from Todd Rovito: covers point 1.1) "Pressing the Home key moves the cursor before the >>> prompt, which then makes the keyboard unresponsive." This issues was fixed on Windows XP and Linux here http://bugs.python.org/issue3851 On Mac OS X the "home" key is control-A or functi

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

2013-07-13 Thread Todd Rovito
Todd Rovito added the comment: 1.1) "Pressing the Home key moves the cursor before the >>> prompt, which then makes the keyboard unresponsive." This issue is still broken on Mac OS X. http://bugs.python.org/issue18444 -- ___ Python tracker

[issue18432] sched modules queue property should return a list, not an iterator

2013-07-13 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue18432] sched modules queue property should return a list, not an iterator

2013-07-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 359002d4370d by Raymond Hettinger in branch '3.3': Issue #18432: Fix unintended API change in the sched module http://hg.python.org/cpython/rev/359002d4370d -- nosy: +python-dev ___ Python tracker

[issue18445] Tools/Script/Readme is outdated

2013-07-13 Thread Févry Thibault
New submission from Févry Thibault: Several issues : - abitype.py, analyze_dxp.py, get-remote-certificate.py, import_diagnostics.py, parse_html5_entities.py are not documented. - README mentions redemo.py which was moved to Tools/Demo. - README says all python scripts are executables, but some n

[issue18446] Dead link in documenting.rst

2013-07-13 Thread Févry Thibault
New submission from Févry Thibault: The following link is dead : Apple Publications Style Guide: http://developer.apple.com/mac/library/documentation/UserExperience/Conceptual/APStyleGuide/APSG_2009.pdf and redirects to another page. -- components: Devguide messages: 193029 nosy: ezio.m

[issue18425] IDLE Unit test for IdleHistory.py

2013-07-13 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: Now we have the mockText, So I updated my test for Idlehistory. The submitted patch2 contains tests for two methods in Idlehistory (history_store and History_do). I hope the tests for history_store are done. But the history_do method tests fails. I explored a