Travis Oliphant added the comment:
This issue may be closed.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1268
__
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Guido van Rossum:
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1268
__
___
Python-bugs-list mailing list
Alexandre Vassalotti added the comment:
Christian wrote:
Alexandre's mangle loop doesn't do the same job as mine. Chars like _
and - aren't removed from the encoding name and the if clauses don't
catch for example UTF-8 or ISO-8859-1 only UTF8 or ISO8859-1.
That isn't true. My mangler does
Brett Cannon added the comment:
So the descriptor idea didn't work.
Another idea is to have the C code that relies on attributes on warnings
that are allowed to change have an initial check for warnings, and if
that fails to fall back on C code. That way the module can still be
completely
Changes by Georg Brandl:
--
versions: +Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1276
__
___
Python-bugs-list mailing list
Unsubscribe:
vila added the comment:
I'm planning to do a package for 2.3...
Any progress on that package ?
I'd like to do the same for python 2.4 and 2.5 as I have a need for it
for both versions.
I don't know what you call a package though, but I'm willing to learn :)
--
nosy: +vila
Matthias Kievernagel added the comment:
Moved my patch from Issue1643641 to this Issue.
(duplication was created when moving from SF bugs/patches)
Patch to be applied with 'patch -p0'
I have also attached a demo where you can test
all Text.edit_* functions.
Regards,
Matthias Kievernagel
Changes by Matthias Kievernagel:
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue961805
___
Python-bugs-list mailing list
Unsubscribe:
Matthias Kievernagel added the comment:
Moved my patch to Issue961805.
(duplication was created when moving from SF bugs/patches)
This issue should be closed down.
Regards,
Matthias Kievernagel
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1643641
Matthias Kievernagel added the comment:
Hint: There is also Issue1522587,
which contains a large patch
(by klappnase) for Tix.Grid addressing
xview/yview and several other issues.
I do not know if it fixes this issue exactly.
Can you take a look at it, ocean-city?
Regards,
Matthias Kievernagel
Changes by Matthias Kievernagel:
--
nosy: +mkiever
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1522587
_
___
Python-bugs-list mailing list
Unsubscribe:
Christian Heimes added the comment:
Alexandre Vassalotti wrote:
That isn't true. My mangler does exactly the same thing as your
original one.
However, I forgot to add Py_CHARMASK to the calls of tolower() and
isalnum() which would cause problems on platforms with signed char.
I wasn't
Guido van Rossum added the comment:
Only a few modules are involved in the bootstrap. The filename is
mostly used to display in the traceback. There is already a fallback
in the traceback-printing code that tries to look through sys.path for
a file matching the module if it can't open the
Christian Heimes added the comment:
Can this be closed now that Travis reverted his patch?
Yes, it can be closed.
By the way svn.python.org and the anon svn server are down the third
time this week. Something is wrong with the server.
Christian
__
Tracker
Alexandre Vassalotti added the comment:
I have a question for Alexandre related to frozen.c -- why is there a
mode line with an encoding involved in freezing hello.py?
For some reason which I don't know about, freeze.py tries to read all
the modules accessible from sys.path:
# collect
New submission from Bernd Wurst:
The factory-argument to the constructorof mailbox.Maildir is not
used as it should be.
First, it's default is set to rfc822.Message instead of MaildirMessage
and then, inside the module's code, MaildirMessage is hard-coded as a
message constructor.
If I need
Alexandre Vassalotti added the comment:
I thought of another way to implement PyUnicode_DecodeFSDefault. If
Py_FileSystemDefaultEncoding is set, decode with the codecs module,
otherwise use UTF-8 + replace. This works because when
Py_FileSystemDefaultEncoding is initialized at the end of
Christian Heimes added the comment:
Alexandre Vassalotti wrote:
Alexandre Vassalotti added the comment:
I thought of another way to implement PyUnicode_DecodeFSDefault. If
Py_FileSystemDefaultEncoding is set, decode with the codecs module,
otherwise use UTF-8 + replace. This works because
Christian Heimes added the comment:
Oh stop, the array module doesn't build for me (Ubuntu Linux, i386,
UCS-4 build, rev58458):
Modules/arraymodule.c: In function 'array_buffer_getbuf':
Modules/arraymodule.c:1815: error: 'Py_buffer' has no member named 'formats'
Please replace formats with
Christian Heimes added the comment:
Changes since updated_file_fsenc-5.patch:
* Fix for hard coded FS default encoding on Apple and Windows
* Added two notes to unicode_default_encoding and
Py_FileSystemDefaultEncoding
__
Tracker [EMAIL PROTECTED]
Bill Janssen added the comment:
See the SSL package on PyPI. Should work on 2.3, 2.4, and 2.5.
Bill
On 10/14/07, vila [EMAIL PROTECTED] wrote:
vila added the comment:
I'm planning to do a package for 2.3...
Any progress on that package ?
I'd like to do the same for python 2.4 and 2.5
Guido van Rossum added the comment:
Oh stop, the array module doesn't build for me (Ubuntu Linux, i386,
UCS-4 build, rev58458):
Modules/arraymodule.c: In function 'array_buffer_getbuf':
Modules/arraymodule.c:1815: error: 'Py_buffer' has no member named 'formats'
Please replace formats
Guido van Rossum added the comment:
This looks promising. I'm working on the freeze issue. Once I get that
working I'll check this in. Thanks Alexandre and Christian for all
your hard work!!!
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1272
Guido van Rossum added the comment:
The problem is the imp module, which modulefinder uses, does not
detect the encoding of the files from the mode-line. This causes
TextIOWrapper to crash when it tries to read modules using an encoding
other than ASCII or UTF-8. Here an example:
import
Christian Heimes added the comment:
UnicodeDecodeError: 'utf8' codec can't decode bytes in position
1428-1430: invalid data
I can't reproduce this. Can you open a separate issue?
It breaks for me with the same error message on Ubuntu Linux, i386,
UCS-4 build and locale de_DE.UTF-8.
Christian Heimes added the comment:
This looks promising. I'm working on the freeze issue. Once I get that
working I'll check this in. Thanks Alexandre and Christian for all
your hard work!!!
You're welcome. Does the patch qualify me for Misc/ACKS? :)
I'm going to work on the basestring
Christian Heimes added the comment:
I found two minor bugs in the fix. In Modules/posixmodule.c the tmpnam()
and tempnam() methods return a PyString instance. Please change line
5373 and 5431 to use PyUnicode_DecodeFSDefault().
Index: Modules/posixmodule.c
Guido van Rossum added the comment:
This looks promising. I'm working on the freeze issue. Once I get that
working I'll check this in. Thanks Alexandre and Christian for all
your hard work!!!
You're welcome. Does the patch qualify me for Misc/ACKS? :)
Yes, and also Alexandre. :-)
I'm
New submission from Christian Heimes:
imp.find_module() returns an io.TextIOWrapper instance first value. The
encoding of the TextIOWrapper isn't set from a -*- coding: Latin-1 -*- line.
import imp
imp.find_module(heapq)
(io.TextIOWrapper object at 0xb7c8f50c,
29 matches
Mail list logo