New submission from maniram maniram maniandra...@gmail.com:
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
maniram maniram maniandra...@gmail.com added the comment:
Here's the Error message.
*** Internal Error: rpc.py:SocketIO.localcall()
Object: stdout
Method: bound method PseudoFile.write of idlelib.PyShell.PseudoFile object
at 0x2675550
Args: ('\U0007a250',)
Traceback (most recent call
maniram maniram maniandra...@gmail.com 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
maniram maniram maniandra...@gmail.com added the comment:
The error is visible from the command-line.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13265
Changes by maniram maniram maniandra...@gmail.com:
--
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13265
___
___
Python
New submission from maniram maniram maniandra...@gmail.com:
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(sys)
Traceback
maniram maniram maniandra...@gmail.com added the comment:
It is different behaviour than usual.
I agree it is of low importance.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13532
maniram maniram maniandra...@gmail.com added the comment:
On my system it works. :-)
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13545
maniram maniram maniandra...@gmail.com added the comment:
+1 on renaming New Window to New File
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7136
maniram maniram maniandra...@gmail.com 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 maniandra...@gmail.com 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 rep
maniram maniram maniandra...@gmail.com added the comment:
Maybe Ubuntu doesn't think it is safe to allocate the memory.
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13555
maniram maniram maniandra...@gmail.com added the comment:
Have you checked the system monitor after all cPickle can use more memory than
1GB.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13555
maniram maniram maniandra...@gmail.com 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
New submission from maniram maniram maniandra...@gmail.com:
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
maniram maniram maniandra...@gmail.com added the comment:
+1 for atomic and more robust
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13521
Changes by maniram maniram maniandra...@gmail.com:
--
type: - feature request
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13571
maniram maniram maniandra...@gmail.com added the comment:
+1
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13580
maniram maniram maniandra...@gmail.com added the comment:
Remove the needs patch keyword since this bug has a patch.
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13544
Changes by maniram maniram maniandra...@gmail.com:
--
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 rep...@bugs.python.org
http
New submission from maniram maniram maniandra...@gmail.com:
string.Formatter doesn't support empty curly braces {} unlike str.format .
import string
a = string.Formatter()
a.format({},test)
Traceback (most recent call last):
File pyshell#2, line 1, in module
a.format({},hello)
File
maniram maniram maniandra...@gmail.com 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 rep...@bugs.python.org
http
Changes by maniram maniram maniandra...@gmail.com:
--
components: +Library (Lib)
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13598
maniram maniram maniandra...@gmail.com added the comment:
Sorry, the patch has an mistake.
ValueErro should be ValueError.
--
Added file: http://bugs.python.org/file23952/issue13598.diff
___
Python tracker rep...@bugs.python.org
http
Changes by maniram maniram maniandra...@gmail.com:
Removed file: http://bugs.python.org/file23950/issue13598.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13598
maniram maniram maniandra...@gmail.com 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
maniram maniram maniandra...@gmail.com 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 a crash and after
maniram maniram maniandra...@gmail.com added the comment:
Seems good.
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13359
maniram maniram maniandra...@gmail.com 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
New submission from maniram maniram maniandra...@gmail.com:
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
prime.primerange(10,18)
(11,13,17
Changes by maniram maniram maniandra...@gmail.com:
--
title: Add prime-related functions to Python - Add prime-related and number
theory functions to Python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13603
maniram maniram maniandra...@gmail.com added the comment:
I would be happy to help :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13571
maniram maniram maniandra...@gmail.com added the comment:
I think math.sin is also domain-specific.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13603
maniram maniram maniandra...@gmail.com added the comment:
Anybody else than Benjamin and Meador please comment on this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13603
maniram maniram maniandra...@gmail.com added the comment:
On further thought, I have changed my mind.
I think this is domain-specific.
Shall we close this bug?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13603
maniram maniram maniandra...@gmail.com added the comment:
Why isn't anybody commiting or commenting on my patches?
--
status: open - languishing
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13598
Changes by maniram maniram maniandra...@gmail.com:
--
status: languishing - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13598
Changes by maniram maniram maniandra...@gmail.com:
--
status: open - languishing
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13603
New submission from maniram maniram maniandra...@gmail.com:
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
Changes by maniram maniram maniandra...@gmail.com:
--
title: Python crashes with this code. - Python 3 crashes with this code.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13644
Changes by maniram maniram maniandra...@gmail.com:
--
title: Python 3 crashes with this code. - Python 3 crashes (segfaults) with
this code.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13644
maniram maniram maniandra...@gmail.com added the comment:
But Python 2 doesn't crash after running the code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13644
maniram maniram maniandra...@gmail.com added the comment:
Oops, to reproduce this bug after running the code run recurse().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13644
maniram maniram maniandra...@gmail.com added the comment:
Well, I expect Python 3 to raise RuntimeError about recursion not to segfault.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13644
New submission from maniram maniram maniandra...@gmail.com:
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
Changes by maniram maniram maniandra...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13656
New submission from maniram maniram maniandra...@gmail.com:
IDLE doesn't support nor set sys.ps1 and sys.ps2.
sys.ps1
Traceback (most recent call last):
File pyshell#1, line 1, in module
sys.ps1
AttributeError: 'module' object has no attribute 'ps1'
sys.ps1 = Test #The next prompt
maniram maniram maniandra...@gmail.com 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 rep
New submission from maniram maniram maniandra...@gmail.com:
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
maniram maniram maniandra...@gmail.com 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
maniram maniram maniandra...@gmail.com added the comment:
Sorry, accident.
Please delete.
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13661
Changes by maniram maniram maniandra...@gmail.com:
--
nosy: +maniram.maniram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13660
___
___
Python
maniram maniram maniandra...@gmail.com added the comment:
Sorry, accident.
Please delete.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13660
maniram maniram maniandra...@gmail.com added the comment:
Please close this bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13661
maniram maniram maniandra...@gmail.com added the comment:
Please close this bug as invalid.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13660
maniram maniram maniandra...@gmail.com added the comment:
I can't edit this bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13660
maniram maniram maniandra...@gmail.com 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
New submission from maniram maniram maniandra...@gmail.com:
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
New submission from maniram maniram maniandra...@gmail.com:
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
maniram maniram maniandra...@gmail.com added the comment:
Thanks for the fast response.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12601
maniram maniram maniandra...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org
61 matches
Mail list logo