atsuo ishimoto added the comment:
Sorry for insufficient comment.
When a codec raised an exception, I think the exception should be
reported. Otherwise, user cannot know why Python prints broken line
of code.
Should we silently clear the exception raised by codecs, or print a
message such
Martin v. Löwis added the comment:
Should we silently clear the exception raised by codecs, or print a
message such as Codec raised an exception while processing compile
error. ?
Can you create a test case that triggers that specific problem?
Regards,
Martin
atsuo ishimoto added the comment:
Codecs would hardly ever raises exception here.
Usually, exception raised here would be a MemoryError. The unicode
string we are trying to encode is just decoded by same codec. If codec
raises exception other than MemoryError, the codec will likely have
New submission from Gregory P. Smith:
This makes all existing bytesobject.c methods use the buffer API rather
than explicitly requiring bytes objects as input. It also fixes input
to append() and remove() that was not strict enough and improves a few
unit tests in that area.
NOTE: this patch
New submission from Reto Wehrli:
C:\devtools\Python30\Lib\idlelibset
...
eRoomOfflineFiles=Z:\Documents and Settings\tgdwere3\My Documents\eRoom
Dateien
für die Offline-Bearbeitung\
...
C:\devtools\Python30\Lib\idlelib..\..\python.exe idle.pyw
object : UnicodeDecodeError('utf8',
New submission from Thomas Lee:
The main patch - while exactly what is needed to make str8/str equality
checks return False - breaks a bunch of tests due to PyString_* still
being used elsewhere when it should be using PyUnicode.
The second patch modifies structmember.c to use PyUnicode_* where
Changes by Thomas Lee:
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1263
__
___
Python-bugs-list mailing list
Unsubscribe:
Thomas Lee added the comment:
Oops - use unicode-string-eq-false-r3.patch, not
unicode-string-eq-false-r2.patch.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1263
__Index: Objects/unicodeobject.c
New submission from Christian Heimes:
This is a *preliminary* patch for __file__ and co_filename which decodes
char* / PyString using the FS default encoding. I'm still working on it.
--
components: Interpreter Core
files: py3k_file_fsenc.patch
messages: 56345
nosy: tiran
severity:
Changes by Guido van Rossum:
--
assignee: - gvanrossum
nosy: +gvanrossum
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1261
__
___
Python-bugs-list mailing list
Changes by Guido van Rossum:
--
assignee: - gvanrossum
nosy: +gvanrossum
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1260
__
___
Python-bugs-list mailing list
Changes by Guido van Rossum:
--
assignee: - gvanrossum
nosy: +gvanrossum
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1263
__
___
Python-bugs-list mailing list
Guido van Rossum added the comment:
There are tons of situations where such an exception will be
suppressed, ofr better or for worse. I don't think this one deserves
such a radical approach.
On 10/11/07, atsuo ishimoto [EMAIL PROTECTED] wrote:
atsuo ishimoto added the comment:
Codecs would
Changes by Guido van Rossum:
--
nosy: +gvanrossum
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1265
__
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Thorben:
attached file makes python 2.5.1 segfault
--
components: Library (Lib)
files: curses-01.py
messages: 56348
nosy: Thorben
severity: critical
status: open
title: segfault in curses when calling redrawwin() before refresh()
type: crash
versions: Python 2.5
Thomas Heller added the comment:
IMO os.uname() is preferable.
Committed as SVN rev 58415 in trunk.
Thanks.
--
assignee: - theller
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1203
Changes by Martin v. Löwis:
--
keywords: +patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1263
__
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Martin v. Löwis:
--
keywords: +patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1264
__
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brett Cannon:
--
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue756576
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Brett Cannon:
If Py3K is executed without importing site, it fails horribly. This is
because site.py sets __builtins__.open, sys.stdout, sys.stderr, and
sys.stdin.
The setting of sys.stderr is especially bad as exception printing
requires sys.stderr, otherwise it reports
Changes by Gregory P. Smith:
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1261
__
___
Python-bugs-list mailing list
Unsubscribe:
Guido van Rossum added the comment:
Patch updated. It now implements the is*() methods for PyBytes. It
moves common code into a shared bytes_ctype.c and .h file so that
stringobject.c and bytesobject.c can share as much as possible.
Did you move this into the stringlib subdirectory? That's
New submission from Christian Heimes:
The array module is using a different typecode for unicode array
depending on UCS2 or UCS4:
#define Py_UNICODE_SIZE 4
#if Py_UNICODE_SIZE = 4
#define Py_UNICODE_WIDE
#endif
#ifdef Py_UNICODE_WIDE
#define PyArr_UNI 'w'
#define PyArr_UNISTR w
#else
#define
Gregory P. Smith added the comment:
Patch updated. It now implements the is*() methods for PyBytes. It
moves common code into a shared bytes_ctype.c and .h file so that
stringobject.c and bytesobject.c can share as much as possible.
Did you move this into the stringlib subdirectory?
Changes by Gregory P. Smith:
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1261
__
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gregory P. Smith:
--
nosy: -gps
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1261
__
___
Python-bugs-list mailing list
Unsubscribe:
Neal Norwitz added the comment:
What platform are you on? I can reproduce this with 2.5.1+ and trunk on
Ubuntu. I can reproduce with a trivial C program that does the same
thing. This could be a bug in the curses implementation. Or it could
be misuse of the API. I don't know enough to
Neal Norwitz added the comment:
Gregory, could you take a look at this?
--
assignee: - gregory.p.smith
components: +Extension Modules -Library (Lib)
nosy: +gregory.p.smith, nnorwitz
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1233
Neal Norwitz added the comment:
Martin, it looks like you made some changes in rev 46064. Can you
suggest anything?
--
assignee: - loewis
components: +Extension Modules
nosy: +loewis, nnorwitz
__
Tracker [EMAIL PROTECTED]
29 matches
Mail list logo