[issue2755] IDLE ignores module change before restart

2008-05-13 Thread Mark Veldhuis

Mark Veldhuis <[EMAIL PROTECTED]> added the comment:

thank you too. Yes the text is there, I pasted the whole header here:


Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "copyright", "credits" or "license()" for more information.


Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface.  This connection is not visible on any external
interface and no data is sent to or received from the Internet.


IDLE 1.2.2   No Subprocess 
>>>

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-15 Thread Mark Veldhuis

Mark Veldhuis <[EMAIL PROTECTED]> added the comment:

Interesting. I click on an icon-launcher in my panel. The command in the
launcher's properties is: "/usr/bin/idle-python2.5 -n". I got the icon
by dragging the regular icon from under applications-programming-Idle to
the panel.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-16 Thread Mark Veldhuis

Mark Veldhuis <[EMAIL PROTECTED]> added the comment:

I think this solves my problem, I took away the -n from the launcher so
the command is just "/usr/bin/idle-python2.5". Now Idle does not show
the No subprocesses text, and when I press F5 the Python shell displays
a line with Restart. I tested my case and the value change in
the imported module was recognised as expected. The launcher under
applications still gives the no subprocesses version.
But for other Ubuntu users the problem may persist, where does the
"/usr/bin/idle-python2.5 -n" come from?
I installed idle using System-Administration-Synaptic package manager,
where I selected Idle-python2.5 I don't know enough about it to say
whether the command comes from there or is interpreted somehow during
the installation, or some other way.
Thank you for your help so far, it makes my Python learning so much easier

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-19 Thread Mark Veldhuis

Mark Veldhuis <[EMAIL PROTECTED]> added the comment:

Sure, and thank you for your efforts. It will be interesting to see if
it really is the package. If there is anything I can do to test, just
drop a note.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3003] sys.stdin.fileno() gives attribute error in IDLE

2008-05-29 Thread Mark Veldhuis

New submission from Mark Veldhuis <[EMAIL PROTECTED]>:

I am using IDLE on Ubuntu Hardy (8.04) and all in all very content to
use it. Today I got an AttributeError using sys.stdin.fileno(). A closer
look revealed this:

in IDLE:

Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "copyright", "credits" or "license()" for more information.


Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface.  This connection is not visible on any external
interface and no data is sent to or received from the Internet.


IDLE 1.2.2  
>>> import sys
>>> dir(sys.stdin)
['_RPCProxy__attributes', '_RPCProxy__getattributes',
'_RPCProxy__getmethods', '_RPCProxy__methods', '__class__',
'__delattr__', '__dict__', '__doc__', '__getattr__', '__getattribute__',
'__hash__', '__init__', '__module__', '__new__', '__reduce__',
'__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__',
'encoding', 'oid', 'sockio']
>>> 

in terminal:

:~$ python
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> dir(sys.stdin)
['__class__', '__delattr__', '__doc__', '__enter__', '__exit__',
'__getattribute__', '__hash__', '__init__', '__iter__', '__new__',
'__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__',
'close', 'closed', 'encoding', 'fileno', 'flush', 'isatty', 'mode',
'name', 'newlines', 'next', 'read', 'readinto', 'readline', 'readlines',
'seek', 'softspace', 'tell', 'truncate', 'write', 'writelines',
'xreadlines']
>>> 

I expected to see more or less the same output, is that right? I could
not find information on this online, so I report it as a bug. 

greetings, Mark

--
components: IDLE
messages: 67503
nosy: mooz123
severity: normal
status: open
title: sys.stdin.fileno() gives attribute error in IDLE
versions: Python 2.5

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3003>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-04 Thread Mark Veldhuis

New submission from Mark Veldhuis <[EMAIL PROTECTED]>:

I changed module A, and then tested module B that imported module A. it
took a while to realise that what went wrong was that the change had not
registered in module B, even when I closed and reopened the window, the
shell etc. I had to quit IDLE and restart before module B imported the
changed module A. In the file enclosed is a step by step version that
isolates the problem.
At the moment I am working through a Python course using IDLE on UBUNTU
Hardy, and it could be this is a beginners error and no bug after all.

--
components: IDLE
files: idleupdatebug.odt
messages: 66210
nosy: mooz123
severity: normal
status: open
title: IDLE ignores module change before restart
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file10190/idleupdatebug.odt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-04 Thread Mark Veldhuis

Changes by Mark Veldhuis <[EMAIL PROTECTED]>:


Removed file: http://bugs.python.org/file10190/idleupdatebug.odt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-04 Thread Mark Veldhuis

Changes by Mark Veldhuis <[EMAIL PROTECTED]>:


Added file: http://bugs.python.org/file10191/idleupdatebug.odt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-11 Thread Mark Veldhuis

Mark Veldhuis <[EMAIL PROTECTED]> added the comment:

Hi,

I repeated the same steps as before, with new filenames, and with the
same result, the printed value was 1, and not 2 as expected. After
closing all windows the value was 2.

answers to Kurt's questions:

When you "open" a python file, exactly what steps are you taking?
->I use File - Recent file -  from the menu

When you "close any combination of IDLE windows,( but not all)",
are you leaving update.py open so you can "run" it?
->No, it occurs even when I close update.py and reopen it using the
method above

When you "run" a file, exactly what steps are you taking?
->I press F5 when the update.py window is active

When you add files to the tracker, please use plain text files so
they can be opened in a browser, without firing up Office!
->thanks for the tip!

Added file: http://bugs.python.org/file10288/idleupdatebug.txt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2755] IDLE ignores module change before restart

2008-05-11 Thread Mark Veldhuis

Changes by Mark Veldhuis <[EMAIL PROTECTED]>:


Removed file: http://bugs.python.org/file10191/idleupdatebug.odt

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2755>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com