Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
>>> import curses.ascii as curses_ascii
If you like curses_ascii you would probably like curses.ascii :) so here
is the patch. I tested it with module built-in testing facility (if
__name__ == '__main__') b
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
Or is it possible/better to use relative import?
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
Sorry, I didn't not distinguish between curses module ascii and built-in
function ascii.
"import curses.ascii as ascii" works. Is this a good fix?
___
Python tracker <
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
Not creating new bug entry because everybody can quickly fix it.
In urllib/request.py some instances of URLError are raised with "raise
urllib.error.URLError" and this works, buth there are lines with "raise
URL
New submission from Georgij Kondratjev <[EMAIL PROTECTED]>:
Line 'import curses, ascii' should be replaced with 'import curses'
--
components: Library (Lib)
messages: 68969
nosy: orivej
severity: normal
status: open
title: curses/textpad.py incorrectly and
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
> when invoked it tries to write to /usr/local/lib/python3.0/lib2to3
2to3 always worked like this. I always had to run it as root. Seems
weird for me too.
> Furthermore, as a test, I copied refactor.py to xxx.py
and ran 2t
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
After uploading the patch I noticed
-#!/usr/bin/env python
+#!/usr/bin/python3.0
in it.
They just should be dropped.
Added file: http://bugs.python.org/file10677/2to3.patch
___
Python t
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
Here is the patch (against both current svn and beta 1).
--
keywords: +patch
Added file: http://bugs.python.org/file10676/2to3.patch
___
Python tracker <[EMAIL PROTECTE
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
Do what Benjamin Peterson suggested and also edit get_fixers(self) in
refactor.py so fixer_pkg is initialized like this:
fixer_pkg = os.path.relpath(self.fixer_dir,
os.path.join(os.path.dirname(__file__), '..
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment:
This doesn't affect python 2.5.2
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2626>
__
_
New submission from Georgij Kondratjev <[EMAIL PROTECTED]>:
First time I noticed it during compilation of python3 r62301, then
3.0a4, then 3.0a3, with and without CFLAGS set.
Step "./python -E ./setup.py -q build" called by make never ends (and
there is no output). Just "
Changes by Georgij Kondratjev:
--
nosy: +orivej
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1966>
__
___
Python-bugs-list mailing list
Unsubs
Changes by Georgij Kondratjev:
--
nosy: +orivej
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1750076>
_
___
Python-bugs-list mailing list
Changes by Georgij Kondratjev:
--
nosy: +orivej
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1595>
__
___
Python-bugs-list mailing list
Unsubs
Changes by Georgij Kondratjev:
--
nosy: +orivej
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1685>
__
___
Python-bugs-list mailing list
Unsubs
Changes by Georgij Kondratjev:
--
nosy: +orivej
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1946>
__
___
Python-bugs-list mailing list
Unsubs
Changes by Georgij Kondratjev:
--
nosy: +orivej
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1297193>
_
___
Python-bugs-list mailing list
Georgij Kondratjev added the comment:
If you notice that at
http://svn.python.org/view/python/branches/py3k/Lib/bsddb/test/test_thread.py?rev=60350&r1=58058&r2=60350
"shutil.rmtree(self.homeDir)" didn`t change between revisions, that
would be false: in fact extra space (&qu
Georgij Kondratjev added the comment:
Appeared in 60350 svnmerge:
http://svn.python.org/view/python/branches/py3k/Lib/bsddb/test/test_thread.py?rev=60350&view=log
http://svn.python.org/view/python/branches/py3k/Lib/bsddb/test/test_thread.py?rev=60350&r1=58058&
New submission from Georgij Kondratjev:
"except OSError, e:"
(appears twice) should be changed to
"except OSError as e:"
--
components: Library (Lib)
messages: 61777
nosy: orivej
severity: normal
status: open
title: Lib/bsddb/test/test_thread.py uses old 'exc
Changes by Georgij Kondratjev:
--
nosy: +orivej
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1943>
__
___
Python-bugs-list mailing list
Unsubs
Changes by Georgij Kondratjev:
--
nosy: +orivej
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1872>
__
___
Python-bugs-list mailing list
Unsubs
Georgij Kondratjev added the comment:
Maybe it was not noted, but it is documented:
http://docs.python.org/dev/3.0/library/sys.html
--
nosy: +orivej
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Georgij Kondratjev added the comment:
Sorry, while debugging there was no 'b':
---
line = self.fp.readline()
+print(' ***', line)
i = line.find(";")
---
__
Tracker <[EMAIL PROTECTED]&g
New submission from Georgij Kondratjev:
(With current python3-svn)
While trying to response.read() got this:
---
File "/usr/lib/python3.0/httplib.py", line 533, in read
return self._read_chunked(amt)
File "/usr/lib/python3.0/httplib.py", line 573, in _read_chunk
25 matches
Mail list logo