[issue21077] Turtle Circle Speed 0
ingrid added the comment: This seems to be caused by a bug in TurtleScreen.update/turtle._drawturtle. When the speed is set to zero, the tracer method is used to regulate drawing circles, and when called with a positive integer, tracer calls update. Update iterates over the list of existing turtle objects and then updates them and calls _drawturtle on them, then redraws them, but doesn't draw lines or stamps so they'll get drawn over by shapes and images. I attached a snippet that shows the bug happening when you call update directly, if you switch the last line and use tracer instead the same thing happens. I think the way to fix it is to add stamps and lines to _drawturtle so I'm going to work on a patch that uses that approach. -- nosy: +ingrid Added file: http://bugs.python.org/file36646/update_example.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21077 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10608] Add a section to Windows FAQ explaining os.symlink
ingrid added the comment: I tried writing a section aimed at beginners, please let me know if you think any information should be added or removed. -- keywords: +patch nosy: +ingrid, jesstess Added file: http://bugs.python.org/file36364/issue10608.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10608 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21973] Idle should not quit on corrupted user config files
ingrid added the comment: Here is a patch that will print a warning if there is an invalid config when starting idle. Example: Warning (from warnings module): File /Users/ingrid/.idlerc/config-extensions.cfg, line 1 enable=1 MissingSectionHeaderError: File contains no section headers. Ignoring configurations within config-extensions.cfg. Delete this file or fix formatting errors to remove this warning. -- keywords: +patch nosy: +ingrid, jesstess Added file: http://bugs.python.org/file36257/issue21973.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21973 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21973] Idle should not quit on corrupted user config files
ingrid added the comment: Thanks for your feedback. I can try again when you have written the config warn function or I can try writing the config warn function. The tests aren't relevant anymore if the warning is raised in a tk message box. I think deleting the config files could potentially be frustrating for users, and I'm not sure about fixing them either. I think renaming them would be safer and easier, what would you rename them to? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21973 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21941] Clean up turtle TPen class
ingrid added the comment: Ah, I think I was mistaken about some things when I made the first patch but it looks like TPen have a few methods that don't work as you'd expect. Since _colorstr isn't implemented on TPen fillcolor and pencolor pen don't work as intended when you call them directly from TPen. Jesstess suggested raising a NotImplementedError on these functions. Would that be a good change to make? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21941 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20265] Bring Windows docs up to date
ingrid added the comment: Hi Kathleen, I was just curious why you dropped the changes from Doc/using/windows.rst on your latest patch as they looked useful to me. I know there's some review going on outside this thread, so apologies if I'm missing something you already went over. -- nosy: +ingrid, jesstess ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20265 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21941] Clean up turtle TPen class
New submission from ingrid: There are a lot of methods in the TPen class that are defined but not used because all the child classes overwrite almost all the functions and TPen itself isn't used directly a whole lot. This patch removes the unused code so it's less confusing to read turtle.py. -- components: Library (Lib) files: TPen_cleanup.patch keywords: patch messages: 222598 nosy: ingrid, jesstess priority: normal severity: normal status: open title: Clean up turtle TPen class type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file35909/TPen_cleanup.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21941 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21806] Add tests for turtle.TPen class
New submission from ingrid: Duplicate of http://bugs.python.org/issue21916 -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21806 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21754] Add tests for turtle.TurtleScreenBase
New submission from ingrid: Duplicate of http://bugs.python.org/issue21914 -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21754 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21646] Add tests for turtle.ScrolledCanvas
ingrid added the comment: Duplicate of http://bugs.python.org/issue21914 -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21646 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21916] Create unit tests for turtle textonly
New submission from ingrid: Non-gui tests for turtle that Lita and I wrote. -- components: Tests files: test_turtle_textonly.patch keywords: patch messages: 82 nosy: ingrid, jesstess priority: normal severity: normal status: open title: Create unit tests for turtle textonly versions: Python 3.5 Added file: http://bugs.python.org/file35856/test_turtle_textonly.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21916 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21806] Add tests for turtle.TPen class
Changes by ingrid h...@ingridcheung.com: -- components: Tests files: TPen_tests.patch keywords: patch nosy: ingrid, jesstess priority: normal severity: normal status: open title: Add tests for turtle.TPen class versions: Python 3.5 Added file: http://bugs.python.org/file35688/TPen_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21806 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21754] Add tests for turtle.TurtleScreenBase
Changes by ingrid h...@ingridcheung.com: -- components: Tests files: TurtleScreenBase_tests.patch keywords: patch nosy: ingrid, jesstess priority: normal severity: normal status: open title: Add tests for turtle.TurtleScreenBase type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file35624/TurtleScreenBase_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21754 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16428] turtle with compound shape doesn't get clicks
ingrid added the comment: I updated the patch to use the gui check in Lib/test/support, and I renamed the test file to be test_turtle_guionly. -- Added file: http://bugs.python.org/file35585/issue_16428.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16428 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21646] Add tests for turtle.ScrolledCanvas
New submission from ingrid: First pass at some tests -- keywords: +patch Added file: http://bugs.python.org/file35586/issue_21646.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21646 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16428] turtle with compound shape doesn't get clicks
ingrid added the comment: Looks like the issue is that when you are registering mouse events through turtle, it uses Shape._item. For polygon shapes, that's the actual shape item, but for compound shapes, it is an array of shape items. I have attached a patch that makes it so when there is a compound shape, it will iterate over the _item array and add the listener to each individual shape. -- keywords: +patch Added file: http://bugs.python.org/file35463/issue_16428.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16428 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21646] Add tests for turtle.ScrolledCanvas
Changes by ingrid h...@ingridcheung.com: -- components: Tests nosy: ingrid, jesstess priority: normal severity: normal status: open title: Add tests for turtle.ScrolledCanvas versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21646 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16428] turtle with compound shape doesn't get clicks
ingrid added the comment: I tried the same script in Python 2.7 and Python 3.4.1 on OSX and had the same results. -- nosy: +ingrid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16428 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20900] distutils register command should print text, not bytes repr
ingrid added the comment: I'm not quite clear on what you mean, could you please post an example output? Initially the response was not showing up at all for me because the announce call in register was missing a log level, but when I used log.INFO, the response did print for me, and it did look something like --b'xxx'--. On a side note, the announce function defined in cmd.py seems to default to a log level 1, and messages with a log level of 1 do not seem to be printed to stdout regardless of what self.verbose is set to. I'm not sure if that is intentional or a bug, but I thought it was worth mentioning. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20900 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20900] distutils register command should print text, not bytes repr
ingrid added the comment: Here is a patch. I made the register show-response format consistent with the upload show-response format and added tests for both. Please let me know if you have any feedback. -- keywords: +patch Added file: http://bugs.python.org/file34436/issue20900.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20900 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20900] distutils register command should print text, not bytes repr
ingrid added the comment: I haven't had to register a python package before. Is there a way to reproduce this without actually creating an entry in PyPI? -- nosy: +ingrid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20900 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20900] distutils register command should print text, not bytes repr
ingrid added the comment: Ah, thanks! I'm looking at this now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20900 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17413] format_exception() breaks on exception tuples from trace function
ingrid added the comment: Thank you, r.david.murray. I have updated the patch with your suggestions included. -- Added file: http://bugs.python.org/file29917/issue17413.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17413 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17413] format_exception() breaks on exception tuples from trace function
ingrid added the comment: It seems that settrace works normally when an exception is raised in the python code with the raise keyword. If an exception is raised in the C code, settrace breaks as the C code passes all exceptions as strings. To fix this issue we just added a line to normalize the C exception within settrace. We included a regression test for this defect. I paired on this with user bmac (http://bugs.python.org/user17692). -- keywords: +patch nosy: +ingrid Added file: http://bugs.python.org/file29837/issue17413.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17413 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17413] format_exception() breaks on exception tuples from trace function
Changes by ingrid h...@ingridcheung.com: -- nosy: +bmac ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17413 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Re: getting started, .py file
Thanks everyone. That's exactly what I was looking for, but I still can't seem to make it work. I've got the interpreter starting in C:\Program Files\Python2.4, and my code is in C:\Documents and Settings\Ingrid\My Documents. So, I did: import os os.chdir(C:\\Documents and Settings\\Ingrid\\My Documents) from mycode import * and I get the error message: Traceback (most recent call last): File pyshell#29, line 1, in -toplevel- import mycode ImportError: No module named mycode I'm sure I'm missing something obvious again, but I don't see anything in the import documentation about directories. Ingrid -- http://mail.python.org/mailman/listinfo/python-list
Re: getting started, .py file
I found it! I needed to set sys.path (sys.path.append(c:\\documents and settings\\my documents\\ingrid)) Ingrid -- http://mail.python.org/mailman/listinfo/python-list