Gregor Lingl added the comment:
First of all: I'd not like to see turtle.py converted into a package. I think
with the turtle module things should be as simple as possible and I don't see
any need to put approx. 100kB of code into an __init__.py and be it only
because there are h
Gregor Lingl added the comment:
Imho it is very important to clarify the name convention for demoscripts to be
added to the demo before committing (or at least before the apperance of
beta1). It decides about adding scripts to the Examples Menu of the viewer.
We all know, that things once
Gregor Lingl added the comment:
What do you mean with "similar approach"?
Keep in mind, that functions derived form turtle methods,
call methods for the class variable _pen of class Turtle.
A new Turtle-object is bound to _pen, if it is not already
present, whenever one of these fu
Gregor Lingl added the comment:
Right. I cannot replicate this bug even with an IDLE from Python 3.2. So it
seems to me, that this problem has been solved.
Regards,
Gregor
--
___
Python tracker
<http://bugs.python.org/issue7
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
Hi,
here is my contribution.
The zip-file contains
- the module turtle.py
- a doc-file turtle-docs.txt
- a subdirectory with a series of sample scripts and a demoviewer.
(one of the demoscripts is a standalone script)
Clearly the doc
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
I'd like to propose a few modifications of turtle.py for the transition
from Python 2.6 to Python 3.0, which would result in a cleaner interface
but also in some - i think marginal - incompatibiliy:
1) drop from math import *
2)
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
In my last posting i forgot a fourth proposition.
Currently one has the Turtle.methods fill(), begin_fill() and end_fill()
As is stated in the old turtle docs the specification of fill is "rather
complex". begin_fill() and
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
turtle3.zip contains the port of the new turtle module (including demo
viewer and demo scripts) to Python 3.0 . One demo script has been added
(tdemo_forest.py)
It has been tested under Windows/MacOsX/Linux without showing up any
pr
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
Here is the (slightly) modified docfile in rst-format for the new
turtle module for Python 3.0
I'll submit the diff (from the turtle.rst for Python 2.6) in a
follow up posting for your convenience. So you can easily check the few
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
And here the diff from docfile turtle.rst to what I have named
turtle30.rst for now.
Gregor
--
keywords: +patch
Added file: http://bugs.python.org/file10564/turtle.rst.diff
___
Python t
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
Of course I highly appreciate this decision.
I'd like to point you to an urgent issue concerning turtle.py
which needs a decision and which I've just posted to Python-dev
Regards,
Gregor
__
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
Thorough testing revealesd the following bugs in turtle.py (Python 2.6):
1) Around lines 359 and 379: There's a name conflict with a methodname
of the parentclass Frame: _root. The bugfix consists in renaming this
attribute, w
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
The bugfix for bug 3) described above makes necessary the insertion of a
line in turtleDemo.py (around line 96)
Again I've attached the corresponding diff file
Added file: http://bugs.python.org/file11566/turt
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
>From IDLE either pressing F1 or choosing the menu Help-Python Docs
should open a Help-Window with the docs of the current version. (This
works well for instance in Python 2.5.2) The docs file normally resides
on the local computer i
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
In the first line of TurtleScreenBase._drawimage() there are to
scalefactors missing. This leads to the annoying fact, that the drawings
and the movement of a turtle which has an image shape differ.
This is shown in the short
Changes by Gregor Lingl <[EMAIL PROTECTED]>:
--
type: -> behavior
versions: +Python 2.6
Added file: http://bugs.python.org/file11579/_drawimage_bug_fix_test.py
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.py
Changes by Gregor Lingl <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file11580/huhn.gif
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
There is a bug in Screen.__init__() (The Screen class uses the Borg
idiom to simulate a Singleton).
This bug is demonstrated best interactively from IDLE (using the -n
switch) like this:
>>> from turtle import Screen, Turtle
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
Do the patch of turtleDemo.py if and only if the patch of turtle.py is
accepted.
Added file: http://bugs.python.org/file11592/turtleDemo.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
First of all I'd like to point you at a posting which I posted to
Python-dev on August 18th, where I addressed this issue in full detail.
http://mail.python.org/pipermail/python-dev/2008-August/081846.html
I hoped to provoke a
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
fill() and end_fill() do not work as expected. As a user
on the tutor list wrote:
For a while now I've had trouble with end_fill(). Sometimes I can use
it to fill a figure such as a square, triangle or rectangle, but
sometimes no
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
setup() doesn't work correctly: startx argument is not recognized
This is due to a typo in the setup() function
A patch is attached.
Regards, Gregor
--
components: Tkinter
files: 2.5turtle_setup_patch.diff
keywords: pat
Changes by Gregor Lingl <[EMAIL PROTECTED]>:
--
title: fill() and end_fill() do not work correctly -> turtle.py: fill() and
end_fill() do not work correctly
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.py
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
I just found out, that this doesn't work correctly, because the
Windows-helpfile in Python26rc2 is strangely named Python26c2.chm . It
works correctly however if one renames this file to Python26.chm (as
this is what the code in Edit
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
I agree to Martin's patch for 2.6, because it seems to provide a more
clean solution. And, as he states, there will be time and opportunity to
discuss it more thoroughly later to possibly find another approach. As I
remarked before
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
Agreeing to this patch, I'd just like to mention, that nevertheless this
change is not very pleasing for me. Not feeling that singleton with
inheritance is a 'meaningless' but rather a 'very special' concep
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
... I meant: the right place for a further discussion
Sorry, Gregor
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from Gregor Lingl :
The file submitted, turtle.py, essentially contains a backport of the new
features, which were added to the turtle module with Python 3.1.
Otherwise this versions is 100% compatible with the turtle module of Python
2.6.
So scripts written with Python 3.1
Gregor Lingl added the comment:
Here, just for your information, the appropriate unified diff (from the version
in 2.7b1 to the new submitted one.
--
keywords: +patch
Added file: http://bugs.python.org/file17207/turtle27b1_to_turtle27.diff
New submission from Gregor Lingl :
turtleDemo.py contains a string referring to the outdated xturtle.
Should be replaced according to the submitted diff.
Moreover I'd like to propose to add to demo-scripts to the Demo-directory,
namely tdemo_nim.py and tdemo_round_dance.py as well
Changes by Gregor Lingl :
Added file: http://bugs.python.org/file17209/tdemo_nim.py
___
Python tracker
<http://bugs.python.org/issue8616>
___
___
Python-bugs-list mailin
Changes by Gregor Lingl :
Added file: http://bugs.python.org/file17210/tdemo_round_dance.py
___
Python tracker
<http://bugs.python.org/issue8616>
___
___
Python-bug
Changes by Gregor Lingl :
Added file: http://bugs.python.org/file17211/tdemo_scribble.py
___
Python tracker
<http://bugs.python.org/issue8616>
___
___
Python-bugs-list m
Gregor Lingl added the comment:
As far as I remember, in the past there was a feature - freeze only with the
appearance of beta2?
Maybe I'm wrong. So there remains only to try to interpret the term "new
feature" appropriately, as all those features are already present in
Gregor Lingl added the comment:
I see, that Benjamin Peterson, the release manager, is on the nosy list now. So
please decide on this issue. If you need any supplementary information, I'll
try to provide it.
(The issue concerning the adoption of this version of the turtle module for
P
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
This version runs under Python 2.5 and should run under python 2.6 It
still needs some amendments and polishing concerning the code as well as
the docstrings. Here it can serve as a starting point for a discussion
about necessary
Changes by Gregor Lingl <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file9694/xturtle-docs.txt
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.o
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
If you put (this example of) xturtle.cfg either into the directory where
xturtle.py resides or into the current working directory, the
configuration will be loaded. In this case window size and turtle are
configured to look like in
Changes by Gregor Lingl <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file9715/whatsnew.txt
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.o
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
Supplementary remark:
xturtle has proved to run without problems under Python 2.6. (Not
surprisingly) it's behaviour is exactly like under Python 2.5,
with the exception, that the tested scripts run 5 to
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
In ScrolledCanvas.__init__() there's a name conflict with a methodname
of the parentclass Frame: _root. The bugfix consists in renaming this
attribute, which occurs only twice. No change in behaviour at all.
Rega
New submission from Gregor Lingl <[EMAIL PROTECTED]>:
In Lib/turtle.py
_Screen.setup() needs a final update() call in order
to ensure, that immediately following calls of window_width() or
window_height() return correct values.
Consequently the setup() method call in _Screen.__init__()
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
This patch applies to Python 2.6 as well
Gregor
--
versions: +Python 2.6
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
This patch applies to Python 2.6 as well
Gregor
--
versions: +Python 2.6
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
I'd like to see this patch accepted and done for Python 2.6.1 and (at
the same time) python 3.0 before the last rc is released. So could you
dedicate a few minutes to reviewing it.
To demonstrate the nature of this issue (and also t
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
I'd also like to see this patch accepted and done for Python 2.6.1 and
(at the same time) python 3.0 before the last rc is released. So perhaps
you could you dedicate a few minutes to this one also.
Thanks for your effo
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
I cannot call the Canvas method _update_idletasks() from within
_Screen.setup() becaus this would contradict to the architecture of the
module which isolates all direct references to Tkinter to
TurtleScreenBase. (The idea behind this is t
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
> > I find that desire misguided; this is (IMO) a case of false abstraction.
> > Is there any kind of proof that this design actually
> > works, i.e. can be ported to a different GUI library (like, say,
> > PythonW
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
> Most definitely. The module went into Python without any review
> whatsoever. Nobody (but you) has ever looked at the code in detail.
That's not True! Brad Miller, for example, who also had submitted
patches to the pythontra
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
The attached file setup_bug_demo.py shows the bug of this issue. It's
taken out of a working game application and radically abridged to
concentrate on this issue.
Now the patch to fix the bug has to be changed a bit (because of the
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
Here the patch, updated
Added file: http://bugs.python.org/file12080/setup_patch.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Gregor Lingl <[EMAIL PROTECTED]> added the comment:
Sorry, but there is a remain from testing different versions of the
turtle module in the demo file's import statement.
Should read (of course):
from turtle import Screen, Turtle, mainloop
A corrected version is attached
Sorry,
New submission from Gregor Lingl :
Error in:
Python v3.1 documentation >> The Python language reference >>
In the listing at the end of section 5.2.9 Yield expressions,
line 7:
... except Exception, e:
is syntactically incorrect and consequently raises a Syntax Error.
New submission from Gregor Lingl :
I suspect that there is some deeper (more severe) issue behind the
problem I describe below. I've observed the following on Windows only.
Didn't try it with different OSs
running dragbug.py shows different behaviour with Python 3.1 compared to
New submission from Gregor Lingl :
Among the changes of turtle.py from Python 3.0 to Python 3.1 there were
three bugfixes. Those bugs appear also in the Python 2.6 version of
turtle.py
imho these should be fixed for Python 2.6.3
The appended diffs contain the (backported) fixes of these bugs
Gregor Lingl added the comment:
!! This patch should be applied if and only if the corresponding one of
turtle.py is applied !!
--
nosy: +georg.brandl, loewis
Added file: http://bugs.python.org/file14977/turtleDemo_262_263.diff
___
Python tracker
Gregor Lingl added the comment:
These patches need to be applied to 2.6 in order that they appear in
2.6.3. (/python/branches/release26-maint, I think). As far as I see this
is urgent because 2.6.3rc1 is only a few days away.
Eventually (or, if you want at the same time) they need to be
Gregor Lingl added the comment:
The same True for captureWarnings? (It's also is only present in __all__)
--
nosy: +gregorlingl
___
Python tracker
<http://bugs.python.org/i
Gregor Lingl added the comment:
As stated above: the name
captureWarnings
is also present *only* in __all__. Same reason, same effect.
--
___
Python tracker
<http://bugs.python.org/issue7
Gregor Lingl added the comment:
Thanks, Terry, for reading the docs that thoroughly.
Alas, for the next week I'm too busy (with preparing "Python für Kids"
for press) to work through this long list.
Since it doesn't seem to be *very* urgent, I'll defer that work un
New submission from Gregor Lingl :
The following procedure reveals a problem with help:
1) Start IDLE with -n option (no subprocess)
2) Create a script (e. g. helloworld one-liner
3) Run script
4) Close Shell Window
5) Via Menu: Run | Python Shell reopen Shell window
6) >>> help(print
New submission from Gregor Lingl :
By oversight the turtle graphics function filling is missing in the
__all__ list which is composed by several parts, among them
_tg_turtle_functions.
So 'filling' has to be added to _tg_turtle_functions
a path is attached
--
components: Li
Changes by Gregor Lingl :
--
title: 'filling' missing in __all__ -> 'filling' missing in __all__ ot turtle.py
___
Python tracker
<http:/
Gregor Lingl added the comment:
I've written and appended with this message a small script using
tkinter, that produces the same crash as described earlier with turtle.py:
tkinter_recursion_31.py
It occurs when heavily and fast dragging the red square. So the bug
doesn't depent on
New submission from Gregor Lingl :
I propose to update turtle.py with this new version 1.1 of the turtle
module.
Summary of changes:
1. a few bugfixes, with 1 - 5 lines of code changed for each;
these concern bugs that prevented turtle to run correctly
2. I've added four methods t
Gregor Lingl added the comment:
Just to see what I've changed:
The unified diff from version 1.0 ( Revision 69847 )
to the proposed version 1.1b
(Should result in version 1.1 'final'ly)
--
keywords: +patch
Added file: http://bugs.python.org/file13871/turt
Gregor Lingl added the comment:
I just wanted to submit the reply below. In the meantime Benjamin's
remark arrived. So perhaps the issue can be resolved successfully.
May I submit here one of the two example scripts I'd like to add to the
demos: tdemo_round_dance.py . Have a look at
Gregor Lingl added the comment:
Here the patch to comment out the print(_ver) statement
--
Added file: http://bugs.python.org/file13880/print_ver_patch.diff
___
Python tracker
<http://bugs.python.org/issue5
Gregor Lingl added the comment:
Here is a patch for the documentation. It may contain some typos and/or
inaccuracies. I promise to check it and submit a patch if necessary
before final.
It contains also the announcement of two new demo scripts, the one
beeing round_dance submitted already, the
Gregor Lingl added the comment:
The second demo script just announced
--
Added file: http://bugs.python.org/file13886/tdemo_nim.py
___
Python tracker
<http://bugs.python.org/issue5
New submission from Gregor Lingl :
In the Python3.1rc2 documentation for turtle.py there are the following
functional errors:
In the overview section the (newly added) entries for the functions/methods
shearfactor
get_shapepoly
onkeypress
numinput
do not have links to the corresponding text
New submission from Gregor Lingl :
I've submitted a replacement, which is functionally 100% equivalent,
but cleaner code, more appropriate for a demo:
four or five superfluous lines, which were remains from some previous
version are deleted now; names and comments are now in English.
Re
Changes by Gregor Lingl :
Removed file: http://bugs.python.org/file14358/tdemo_chaos.py
___
Python tracker
<http://bugs.python.org/issue6340>
___
___
Python-bugs-list m
Changes by Gregor Lingl :
Added file: http://bugs.python.org/file14359/tdemo_chaos.py
___
Python tracker
<http://bugs.python.org/issue6340>
___
___
Python-bugs-list mailin
Changes by Gregor Lingl :
Removed file: http://bugs.python.org/file14359/tdemo_chaos.py
___
Python tracker
<http://bugs.python.org/issue6340>
___
___
Python-bugs-list m
Changes by Gregor Lingl :
Added file: http://bugs.python.org/file14360/tdemo_chaos.py
___
Python tracker
<http://bugs.python.org/issue6340>
___
___
Python-bugs-list mailin
Gregor Lingl added the comment:
So do I.
I'd like to ask you to do the commit.
And I'd also like to suggest that - in the first three comment-lines of
the script - you replace
Datei:by File:
Autor:by Author:
Datum: 24. 6. 2009by
Gregor Lingl added the comment:
Yes, tdemo_raund_dance.py and tdemo_scribble.py definitely do not work
with turtle.py from Python 2.7 :-(
I submitted them expecting, that my backport of turtle.py from Python 3.1 to
Python 2.7 would be accepted. But, alas, I was too late :-(((
So it
78 matches
Mail list logo