New submission from maniram maniram :
When you print an unprintable character, IDLE raises an error.
>>> print(chr(500304)) # print an unprintable character
The error is only visible when you run the code from a commmand-line.
When you run python from the command-line and execute th
maniram maniram added the comment:
Here's the Error message.
*** Internal Error: rpc.py:SocketIO.localcall()
Object: stdout
Method: >
Args: ('\U0007a250',)
Traceback (most recent call last):
File "/usr/lib/python3.2/idlelib/rpc.py", line 188, in loca
maniram maniram added the comment:
My OS is Ubuntu Linux 11.10 (Oneiric Ocelot)
Running uname -a gives "Linux ramcomputer 3.0.0-12-generic #20-Ubuntu SMP Fri
Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux"
--
___
Python trac
maniram maniram added the comment:
The error is visible from the command-line.
--
___
Python tracker
<http://bugs.python.org/issue13265>
___
___
Python-bug
Changes by maniram maniram :
--
versions: -Python 3.3
___
Python tracker
<http://bugs.python.org/issue13265>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from maniram maniram :
In IDLE, sys.stdout.write and sys.stderr can write any pickleable object such
as 100 when they should only allow strings.
IDLE seems to be pickling the object.
>>> import sys
>>> sys.stdout.write(100)
100
>>> sys.stdout.write(
maniram maniram added the comment:
It is different behaviour than usual.
I agree it is of low importance.
--
___
Python tracker
<http://bugs.python.org/issue13
maniram maniram added the comment:
On my system it works. :-)
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/issue13545>
___
___
Python-bug
maniram maniram added the comment:
+1 on renaming New Window to New File
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/issue7136>
___
___
maniram maniram added the comment:
perhaps you can subclass socket.socket and make a function wrapper around bind
and connect that sets a variable if called
like:
class sock(socket.socket):
def bind(self,*args):
self.is_bound = True
--
nosy: +maniram.maniram
maniram maniram added the comment:
oops should be
class sock(socket.socket):
_bind = socket.socket.bind
def bind(self,*args):
self.is_bound = True
self._bind(self,*args)
--
___
Python tracker
<http://bugs.python.
maniram maniram added the comment:
Maybe Ubuntu doesn't think it is safe to allocate the memory.
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/is
maniram maniram added the comment:
Have you checked the system monitor after all cPickle can use more memory than
1GB.
--
___
Python tracker
<http://bugs.python.org/issue13
maniram maniram added the comment:
The problem is that pickle is calling array.array(u'i',[1,2,3]) and array.array
in Python 2 doesn't allow unicode strings as a typecode (typecode is the first
argument)
The docs in Python 2 and Py3k doesn't specify the type of the t
New submission from maniram maniram :
Automatically save files in IDLE's editor which are not saved to backup file(s)
(perhaps in .idlerc) every minute.
If IDLE crashes, save all files that are not saved to backup file(s) and then
re-raise the error (like a finally statement)
When
maniram maniram added the comment:
+1 for atomic and more robust
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/issue13521>
___
___
Pytho
Changes by maniram maniram :
--
type: -> feature request
versions: +Python 3.2
___
Python tracker
<http://bugs.python.org/issue13571>
___
___
Python-bugs-lis
maniram maniram added the comment:
+1
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/issue13580>
___
___
Python-bugs-list mailing list
Unsub
maniram maniram added the comment:
Remove the "needs patch" keyword since this bug has a patch.
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.o
Changes by maniram maniram :
--
title: In IDLE, sys.stdout.write and sys.stderr can write any pickleable object
-> In IDLE, sys.stdout and sys.stderr can write any pickleable object
___
Python tracker
<http://bugs.python.org/issu
New submission from maniram maniram :
string.Formatter doesn't support empty curly braces "{}" unlike str.format .
>>> import string
>>> a = string.Formatter()
>>> a.format("{}","test")
Traceback (most recent call last):
Fi
maniram maniram added the comment:
Attached is patch to fix this issue.
--
keywords: +patch
type: -> behavior
Added file: http://bugs.python.org/file23950/issue13598.diff
___
Python tracker
<http://bugs.python.org/issu
Changes by maniram maniram :
--
components: +Library (Lib)
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue13598>
___
___
Pytho
maniram maniram added the comment:
Sorry, the patch has an mistake.
ValueErro should be ValueError.
--
Added file: http://bugs.python.org/file23952/issue13598.diff
___
Python tracker
<http://bugs.python.org/issue13
Changes by maniram maniram :
Removed file: http://bugs.python.org/file23950/issue13598.diff
___
Python tracker
<http://bugs.python.org/issue13598>
___
___
Python-bug
maniram maniram added the comment:
Attached is a patch for test.test_string to test for this bug.
Can somebody please comment on my paches or commit my patches.
--
Added file: http://bugs.python.org/file23955/test_string.diff
___
Python tracker
maniram maniram added the comment:
In response to Roger Serwy:
>>> I rarely have IDLE crash on Linux. If you're experiencing these issues on
>>> Windows, see #13582.
I'm on Ubuntu Linux and IDLE does'nt crash.
Many editors have backup files in the case of
maniram maniram added the comment:
Seems good.
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/issue13359>
___
___
Python-bugs-list mailin
maniram maniram added the comment:
One reason to fix this bug:
People may develop code that calls sys.std{out,err}.write with the number 200.
like sys.stdout.write(200)
In IDLE the code works well but in Python from the command-line it fails to run.
Creating a bug in the code
New submission from maniram maniram :
It would be nice to have prime-related and number theory functions in a new
module or some existing module (like math).
like this:
>>> import prime
>>> prime.isprime(7)
True
>>> prime.isprime(35)
False
>>&g
Changes by maniram maniram :
--
title: Add prime-related functions to Python -> Add prime-related and number
theory functions to Python
___
Python tracker
<http://bugs.python.org/issu
maniram maniram added the comment:
I would be happy to help :)
--
___
Python tracker
<http://bugs.python.org/issue13571>
___
___
Python-bugs-list mailin
maniram maniram added the comment:
I think math.sin is also domain-specific.
--
___
Python tracker
<http://bugs.python.org/issue13603>
___
___
Python-bugs-list m
maniram maniram added the comment:
Anybody else than Benjamin and Meador please comment on this.
--
___
Python tracker
<http://bugs.python.org/issue13
maniram maniram added the comment:
On further thought, I have changed my mind.
I think this is domain-specific.
Shall we close this bug?
--
___
Python tracker
<http://bugs.python.org/issue13
maniram maniram added the comment:
Why isn't anybody commiting or commenting on my patches?
--
status: open -> languishing
___
Python tracker
<http://bugs.python.org
Changes by maniram maniram :
--
status: languishing -> open
___
Python tracker
<http://bugs.python.org/issue13598>
___
___
Python-bugs-list mailing list
Un
Changes by maniram maniram :
--
status: open -> languishing
___
Python tracker
<http://bugs.python.org/issue13603>
___
___
Python-bugs-list mailing list
Un
New submission from maniram maniram :
When you run the following code, Python 3 (not Python 2) crashes.
Interestingly, Python 2.7 doesn't seem to be affected and correctly raises an
error about recursion ( so this must be a regression ).
The code's recursion should be detected and Pyt
Changes by maniram maniram :
--
title: Python crashes with this code. -> Python 3 crashes with this code.
___
Python tracker
<http://bugs.python.org/issu
Changes by maniram maniram :
--
title: Python 3 crashes with this code. -> Python 3 crashes (segfaults) with
this code.
___
Python tracker
<http://bugs.python.org/issu
maniram maniram added the comment:
But Python 2 doesn't crash after running the code.
--
___
Python tracker
<http://bugs.python.org/issue13644>
___
___
Pytho
maniram maniram added the comment:
Oops, to reproduce this bug after running the code run "recurse()".
--
___
Python tracker
<http://bugs.python.o
maniram maniram added the comment:
Well, I expect Python 3 to raise RuntimeError about recursion not to segfault.
--
___
Python tracker
<http://bugs.python.org/issue13
New submission from maniram maniram :
Document ctypes.util and ctypes.wintypes.
--
assignee: docs@python
components: Documentation
messages: 150151
nosy: docs@python, maniram.maniram
priority: normal
severity: normal
status: open
title: Document ctypes.util and ctypes.wintypes.
type
Changes by maniram maniram :
--
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue13656>
___
___
Python-bugs-
New submission from maniram maniram :
IDLE doesn't support nor set sys.ps1 and sys.ps2.
>>> sys.ps1
Traceback (most recent call last):
File "", line 1, in
sys.ps1
AttributeError: 'module' object has no attribute 'ps1'
>>> sys.p
maniram maniram added the comment:
@Terry
IDLE restarts python (like in the menu entry "Restart Shell") when the Python
process dies no matter how the Python process dies.
So this issue is a valid bug.
--
___
Python tracker
<http://bu
New submission from maniram maniram :
If you call help() a few times on some objects, due to help()'s output IDLE's
Shell Window becomes very long and it becomes difficult to scroll through the
window.
I suggest a new window should be opened when help() is called in IDLE so tha
maniram maniram added the comment:
Sorry, new window in "I suggest a new window" should be a new read-only editor
window.
It could be implemented through a wrapper around help.
IDLE could have a configuration option whether to use the traditional help() or
the new help() which o
maniram maniram added the comment:
Sorry, accident.
Please delete.
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/issue13661>
___
___
Pytho
Changes by maniram maniram :
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/issue13660>
___
___
Python-bugs-list mailing list
Unsubscribe:
maniram maniram added the comment:
Sorry, accident.
Please delete.
--
___
Python tracker
<http://bugs.python.org/issue13660>
___
___
Python-bugs-list mailin
maniram maniram added the comment:
Please close this bug.
--
___
Python tracker
<http://bugs.python.org/issue13661>
___
___
Python-bugs-list mailing list
Unsub
maniram maniram added the comment:
Please close this bug as invalid.
--
___
Python tracker
<http://bugs.python.org/issue13660>
___
___
Python-bugs-list mailin
maniram maniram added the comment:
I can't edit this bug.
--
___
Python tracker
<http://bugs.python.org/issue13660>
___
___
Python-bugs-list mailing list
maniram maniram added the comment:
This bug can not be reproduced in Python 3.2.2 on Ubuntu.
Since Python 2.7.2 on your system raises a ValueError for dates below 1900
,your system's strftime probably does not allow dates below 1900 (unlike
Ubuntu).
Python 3.2.2's datetime.strft
New submission from maniram maniram :
In the Python 3 docs for the raise statement,
http://docs.python.org/py3k/reference/simple_stmts.html#the-raise-statement,the
docs say "If no exception is active in the current scope, a TypeError exception
is raised indicating that this is an erro
New submission from maniram maniram :
At line 235 there is a comment which contains "secons" which should be changed
to seconds.
--
components: Library (Lib)
messages: 140793
nosy: maniram.maniram
priority: normal
severity: normal
status: open
title: Spelling error in the c
maniram maniram added the comment:
Thanks for the fast response.
--
___
Python tracker
<http://bugs.python.org/issue12601>
___
___
Python-bugs-list mailin
maniram maniram added the comment:
It seems currently that in python 3.2 sys.platform is linux2 even though it is
running linux 3
--
nosy: +maniram.maniram
___
Python tracker
<http://bugs.python.org/issue12
61 matches
Mail list logo