Alban Nona wrote:
Hi
So here is my problem:
I have my render files that are into a directory like this:
c:\log\renderfiles\HPO7_SEQ004_031_VDM_DIF_V001.0001.exr
c:\log\renderfiles\HPO7_SEQ004_031_VDM_DIF_V001.0002.exr
c:\log\renderfiles\HPO7_SEQ004_031_VDM_DIF_V001.0003.exr
BartC a écrit :
Steven D'Aprano st...@remove-this-cybersource.com.au wrote in
message news:4c6f8edd$0$28653$c3e8...@news.astraweb.com...
On Fri, 20 Aug 2010 17:23:23 +0200, Bruno Desthuilliers wrote:
I onced worked in a shop (Win32 desktop / accouting applications mainly)
where I was the
Hi Ppl,
Is there any python IDE or editor that has an ActiveX control which could be
embed in other Windows applications. I'm basically looking to write a
application that can show the indentations of python, change the color of
keywords etc on a application, which will save this python script
Hi Guys,
I am programming a web centric app in python for customer, which needs to click
a snap of the customer and forward the pic to the server via POST. I am not
very familiar with how I can achieve this. Any direction would be much
appreciated.
Regards,
Nav
--
On Thu, Aug 26, 2010 at 1:35 AM, Navkirat Singh navkir...@gmail.com wrote:
Hi Guys,
I am programming a web centric app in python for customer, which needs to
click a snap of the customer and forward the pic to the server via POST. I am
not very familiar with how I can achieve this. Any
On Aug 24, 11:05 pm, Alex Willmer a...@moreati.org.uk wrote:
On Aug 24, 5:33 pm, richie05 bal richie8...@gmail.com wrote:
i am starting to learn python and I am stuck with query I want to
generate with python
File looks something like this
TRACE: AddNewBookD {bookId 20, noofBooks 6576,
Hi group,
I've written a small application that puts images into a pdf document.
It works ok, but my problem is that the pdf-files become quite huge,
bigger than the original jpegs. The problem seems to arise because I
use PIL to resize the pictures - and the images seem to get
uncompressed in
Hi All,
From the docs of pkgutils.walk_packages:
'onerror' is a function which gets called with one argument (the
name of the package which was being imported) if any exception
occurs while trying to import a package. If no onerror function is
supplied, ImportErrors are caught
On Aug 26, 1:52 am, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
On Wed, 25 Aug 2010 14:57:33 -0700 (PDT), becky_s rda.se...@gmail.com
declaimed the following in gmane.comp.python.general:
px,py = p(mesolon, mesolat)
For my elucidation, what does that p(x,y) actually do?
Chris Withers wrote:
From the docs of pkgutils.walk_packages:
'onerror' is a function which gets called with one argument (the
name of the package which was being imported) if any exception
occurs while trying to import a package. If no onerror function is
supplied,
Bruno Desthuilliers bruno.42.desthuilli...@websiteburo.invalid writes:
BartC a écrit :
Steven D'Aprano st...@remove-this-cybersource.com.au wrote in
message news:4c6f8edd$0$28653$c3e8...@news.astraweb.com...
On Fri, 20 Aug 2010 17:23:23 +0200, Bruno Desthuilliers wrote:
I onced worked in a
Hey ! Thank you guys !
It help me a lot !
@Dennis (Gomes): Thanks ! I tried it it worked well but list me the whole
files :P (and finally crashed python...lol)
I looked at the Peter method and, Im really dumb to didnt tough about
defining a pattern like *_v001.0001.exr * like this, it sort me
Navkirat Singh navkir...@gmail.com wrote:
Hi Guys,
I am programming a web centric app in python for customer, which needs
to click a snap of the customer and forward the pic to the server via
POST. I am not very familiar with how I can achieve this. Any
direction would be much appreciated.
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST method.The
file (.jpeg) is encoded in bytes, I parse the bytes by decoding them to a
string. I wanted to know how i could write the file (now a string) as a jpeg
image on disk. When I try to encode the same string to a
On 26-Aug-2010, at 9:49 PM, garabik-news-2005...@kassiopeia.juls.savba.sk wrote:
Navkirat Singh navkir...@gmail.com wrote:
Hi Guys,
I am programming a web centric app in python for customer, which needs
to click a snap of the customer and forward the pic to the server via
POST. I am not
Navkirat Singh navkir...@gmail.com writes:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file (.jpeg) is encoded in bytes, I parse the bytes by
decoding them to a string.
Why?
--
John Bokma
On 26-Aug-2010, at 11:01 PM, John Bokma wrote:
Navkirat Singh navkir...@gmail.com writes:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file (.jpeg) is encoded in bytes, I parse the bytes by
decoding them to a string.
Why?
--
John Bokma
On 2010-08-26, Navkirat Singh navkir...@gmail.com wrote:
On 26-Aug-2010, at 11:01 PM, John Bokma wrote:
Navkirat Singh navkir...@gmail.com writes:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file (.jpeg) is encoded in bytes, I parse the bytes
Hi Navkirat,
On 2010-08-26 19:22, Navkirat Singh wrote:
I am programming a webserver, I receive a jpeg file with
the POST method.The file (.jpeg) is encoded in bytes, I
parse the bytes by decoding them to a string. I wanted to
know how i could write the file (now a string) as a jpeg
image on
So I found a way to do it, maybe some people could be interested:
listNames = []
for n in names:
listNames.append('_'.join(n.split('_')[:-1]))
#It will cut the last part of the file name convention
listNames = list(set(listNames)) #we Delete duplicates from the list, like
this we only have
I am sorry, maybe I was not elaborate in what I was having trouble with. I am
using a jpegcam library, which on my web page captures a webcam image and sends
it to the server via the POST method. On the Server side (python 3), I receive
this image as a part of header content in bytes (I know
On 26/08/2010 19:57, Navkirat Singh wrote:
I am sorry, maybe I was not elaborate in what I was having trouble
with. I am using a jpegcam library, which on my web page captures a
webcam image and sends it to the server via the POST method. On the
Server side (python 3), I receive this image as a
On Aug 25, 3:42 pm, Alexander Kapps alex.ka...@web.de wrote:
Ross Williamson wrote:
Hi All
Is there anyway in a class to overload the print function?
In Python = 2.x print is a statement and thus can't be
overloaded. That's exactly the reason, why Python 3 has turned
print into a
On Wed, 25 Aug 2010 07:31:03 -0700, Standish P wrote:
... so you want to render this in TeX ... ?
It was very thoughtful of you to repost the whole spammer text for the
benefit of those of us who have the spammer killfiled, and consequently
would not otherwise have been able to read it.
--
On 8/26/10 1:25 PM, Navkirat Singh wrote:
On 26-Aug-2010, at 11:01 PM, John Bokma wrote:
Navkirat Singhnavkir...@gmail.com writes:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file (.jpeg) is encoded in bytes, I parse the bytes by
decoding them to
On 27-Aug-2010, at 1:10 AM, Robert Kern wrote:
On 8/26/10 1:25 PM, Navkirat Singh wrote:
On 26-Aug-2010, at 11:01 PM, John Bokma wrote:
Navkirat Singhnavkir...@gmail.com writes:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file (.jpeg) is
On 27-Aug-2010, at 12:45 AM, MRAB wrote:
On 26/08/2010 19:57, Navkirat Singh wrote:
I am sorry, maybe I was not elaborate in what I was having trouble
with. I am using a jpegcam library, which on my web page captures a
webcam image and sends it to the server via the POST method. On the
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST method.The
file (.jpeg) is encoded in bytes, I parse the bytes by decoding them to a
string. I wanted to know how i could write the file (now a string) as a jpeg
image on disk. When I try to
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST method.The
file (.jpeg) is encoded in bytes, I parse the bytes by decoding them to a
string. I wanted to know how i could write the file (now a
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST method.The
file (.jpeg) is encoded in bytes, I parse the bytes by decoding them to a
string. I wanted to know how i could write the file (now a
I was able to figure this out on my own. First, to eliminate the
masked arrays, I used a combination of the where and compress
functions to remove any missing data from my 1-D arrays. Then, I used
the griddata function as described above. This did the trick.
--
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file (.jpeg) is encoded in bytes, I parse the bytes by
decoding them to a string. I wanted to
Navkirat Singh wrote:
O
snip
I am using Python3 and I receive a byte stream with a jpeg attached sent by the
web browser over a socket, which looks like this:
b': image/jpeg\r\nAccept: text/*\r\nReferer:
http://127.0.0.1:8001/\r\nAccept-Language: en-us\r\nAccept-Encoding: gzip,
On Aug 25, 4:05 am, Alex McDonald b...@rivadpm.com wrote:
Your example of writing code with
memory leaks *and not caring because it's a waste of your time* makes
me think that you've never been a programmer of any sort.
Windows applications are immune from memory leaks since programmers
can
On 27-Aug-2010, at 1:57 AM, MRAB wrote:
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file (.jpeg) is encoded in bytes, I parse the
On 27-Aug-2010, at 2:14 AM, Brad wrote:
On Aug 25, 4:05 am, Alex McDonald b...@rivadpm.com wrote:
Your example of writing code with
memory leaks *and not caring because it's a waste of your time* makes
me think that you've never been a programmer of any sort.
Windows applications are
Navkirat Singh navkir...@gmail.com writes:
I am using Python3 and I receive a byte stream with a jpeg attached sent
by the web browser over a socket, which looks like this:
b': image/jpeg\r\nAccept: text/*\r\nReferer:
http://127.0.0.1:8001/\r\nAccept-Language: en-us\r\nAccept-Encoding:
On 8/26/10 3:47 PM, Navkirat Singh wrote:
On 27-Aug-2010, at 1:57 AM, MRAB wrote:
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file
On 27-Aug-2010, at 1:57 AM, MRAB wrote:
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file (.jpeg) is encoded in bytes, I parse the
On 26/08/2010 21:47, Navkirat Singh wrote:
On 27-Aug-2010, at 1:57 AM, MRAB wrote:
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I receive a jpeg file with the POST
method.The file
On 27-Aug-2010, at 2:40 AM, Robert Kern wrote:
On 8/26/10 3:47 PM, Navkirat Singh wrote:
On 27-Aug-2010, at 1:57 AM, MRAB wrote:
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver,
On 27-Aug-2010, at 2:48 AM, MRAB wrote:
On 26/08/2010 21:47, Navkirat Singh wrote:
On 27-Aug-2010, at 1:57 AM, MRAB wrote:
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey guys,
I am programming a webserver, I
On 8/26/10 4:17 PM, Navkirat Singh wrote:
Here is what I needed to do:
a) Separate image content from header content of the byte stream received from
the web browser.
b) Save the image content to disk for further use.
Here is what I did. Following is just a snippet:
On 8/26/10 4:25 PM, Navkirat Singh wrote:
@Robert - Thanks a lot for your time :-) , I did know that the body starts after
the occurrence two CRLF sequences, but I was following RFC2616 as a guide, which
specifically mentions:
The presence of a message-body in a request is signaled by the
On 27-Aug-2010, at 2:58 AM, Navkirat Singh wrote:
On 27-Aug-2010, at 2:48 AM, MRAB wrote:
On 26/08/2010 21:47, Navkirat Singh wrote:
On 27-Aug-2010, at 1:57 AM, MRAB wrote:
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh
On 8/26/10 4:28 PM, Navkirat Singh wrote:
On 27-Aug-2010, at 2:48 AM, MRAB wrote:
On 26/08/2010 21:47, Navkirat Singh wrote:
On 27-Aug-2010, at 1:57 AM, MRAB wrote:
On 26/08/2010 21:14, Navkirat Singh wrote:
On 27-Aug-2010, at 1:32 AM, Dave Angel wrote:
Navkirat Singh wrote:
Hey
On 27-Aug-2010, at 3:02 AM, Robert Kern wrote:
On 8/26/10 4:17 PM, Navkirat Singh wrote:
Here is what I needed to do:
a) Separate image content from header content of the byte stream received
from the web browser.
b) Save the image content to disk for further use.
Here is what I
On 8/26/10 4:17 PM, Navkirat Singh wrote:
#-HERE IS WHERE I RECEIVE THE DATA
while True:
buff = socket.recv(8192)
byteStr +=buff
if not buff: break
Also, you probably shouldn't bother writing an HTTP server using raw
On 27-Aug-2010, at 3:04 AM, Robert Kern wrote:
On 8/26/10 4:25 PM, Navkirat Singh wrote:
@Robert - Thanks a lot for your time :-) , I did know that the body starts
after
the occurrence two CRLF sequences, but I was following RFC2616 as a guide,
which
specifically mentions:
The
On 27-Aug-2010, at 3:15 AM, Robert Kern wrote:
On 8/26/10 4:17 PM, Navkirat Singh wrote:
#-HERE IS WHERE I RECEIVE THE DATA
while True:
buff = socket.recv(8192)
byteStr +=buff
if not buff: break
Also, you probably shouldn't
On Thursday 26 August 2010, it occurred to Sathish S to exclaim:
Hi Ppl,
Is there any python IDE or editor that has an ActiveX control which could
be embed in other Windows applications. I'm basically looking to write a
application that can show the indentations of python, change the color
On 8/26/2010 5:28 PM, Navkirat Singh wrote:
b = b'asdf'
type(b)
class 'bytes'
s = b.split(':')
You are trying to split bytes with a string, which is impossible.
Split bytes with bytes, strings with strings.
Traceback (most recent call last):
File stdin, line 1, inmodule
TypeError: Type
On 27-Aug-2010, at 4:23 AM, Terry Reedy wrote:
On 8/26/2010 5:28 PM, Navkirat Singh wrote:
b = b'asdf'
type(b)
class 'bytes'
s = b.split(':')
You are trying to split bytes with a string, which is impossible.
Split bytes with bytes, strings with strings.
Traceback (most recent call
On 27-08-2010 00:22, Thomas Jollans wrote:
On Thursday 26 August 2010, it occurred to Sathish S to exclaim:
Hi Ppl,
Is there any python IDE or editor that has an ActiveX control which could
be embed in other Windows applications. I'm basically looking to write a
application that can show
It looks nice, but it's a shame it doesn't work on Windows. This
could
solve a lot of the problems I'm running into in my own attempt to
build a python Class implementation of an XML Validation object.
--
http://mail.python.org/mailman/listinfo/python-list
I have just gotten done building Python 3.1.2 on HPUX 11.31 Itanium
(IA64) using gcc 4.4.3, and have tried building cx_Oracle to go with
it. The build succeeds, but test and importing does not. I have tried
building Python with threads and without. The only exotic thing I do
with the configure for
Josh English, 27.08.2010 01:30:
solve a lot of the problems I'm running into in my own attempt to
build a python Class implementation of an XML Validation object.
How would object serialisation help here?
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
Senthil Kumaran orsent...@gmail.com added the comment:
I checked in a modified version of reset the retry count for respnse code !=401
in the following checkins:
r84323 (py3k)
r84324 (release21-maint)
r84325 (release31-maint)
Unfortunately, we wont be able to patch the 2.6.x release. You might
Changes by Senthil Kumaran orsent...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
Added file: http://bugs.python.org/file18648/basic_auth.patch
___
Python tracker rep...@bugs.python.org
Kay Hayen kayha...@gmx.de added the comment:
You didn't understand. Please tell me, how to decide if this is a unicode
literal or a str (2.x) literal:
value=Str(s='d')
It's just not possible. When I found a from __future__ import
unicode_literals in the code before, it means I should convert
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Indeed, with 3.1:
def f(x, y): pass
...
inspect.formatargspec(inspect.getargspec(f))
TypeError: object of type 'map' has no len()
--
nosy: +amaury.forgeotdarc
type: - behavior
___
Python
Göran Uddeborg goe...@uddeborg.se added the comment:
Although BIND_FIRST is still there, I could not reproduce the problem with
Python 3.1.2. If it is because something changed in Python, or that HP-UX has
fixed something, I don't know. I still don't see the point in specifying
BIND_FIRST
Florent Xicluna florent.xicl...@gmail.com added the comment:
Łukasz,
_closing is not necessary on FileIO instances. The class already declares an
__exit__ method which takes care of closing file.
import io
f = io.FileIO('/tmp/test_closing', 'wb')
f.closed
False
f.__exit__()
f.closed
Florent Xicluna florent.xicl...@gmail.com added the comment:
Patch.
--
keywords: +patch
Added file: http://bugs.python.org/file18649/issue9572_oserror.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9572
r84324 (release21-maint)
That should be release27-maint. :)
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Mads Kiilerich m...@kiilerich.com added the comment:
Senthil, can you tell us why this fix is correct - and convince us that it is
the Final Fix for this issue? Not because I don't trust you, but because this
issue has a bad track record.
Some comments/questions to this patch:
Why do 401
Giampaolo Rodola' g.rod...@gmail.com added the comment:
I agree with you that asyncore API model is far from being robust and I've
personally seen infinite recursion more than once if certain asyncore methods
aren't properly subclassed.
What I don't understand is what changes you are
Dwayne Bailey dwayne+pythonb...@translate.org.za added the comment:
This is causing a regression in our code.
Previously when we write out our INI file for an entry that has a value of None
we saw the following:
value = None
These are now stored as:
value
This is now causing a traceback in
New submission from Ronald Oussoren ronaldousso...@mac.com:
The attached file 'manifest-test.zip' is a small distutils project that
demonstrates a problem I have with the sdist command.
The archive contains a directory 'sandbox' that is not mentioned in MANIFEST.in
or anywhere in setup.py.
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
The correct call is more something like
``inspect.formatargspec(*inspect.getargspec(f))``, which should work for all
(Python) functions in Python 3. In Python 2, tuple unpacking was represented
using a nested list for the
Fred L. Drake, Jr. fdr...@acm.org added the comment:
Re-opening for investigation.
(The previous message really should have been a new issue.)
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7005
Changes by Fred L. Drake, Jr. fdr...@acm.org:
--
nosy: +lukasz.langa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7005
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
fromfd is already taken care of in 3.2. Otherwise, this looks like a good fix
once updated to trunk.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1552
Benjamin Peterson benja...@python.org added the comment:
I see that it's a problem, but there's nothing we can do about it now, so
you'll have to determine whether it was unicode literals or not based on
compile flags.
--
___
Python tracker
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1552
___
___
jan matejek jmate...@suse.cz added the comment:
this affects 2.7 as well. the problem was introduced by r78136 which skips out
of the directory containing newly built libpython2.7, so the linking command
cannot find it in -L. and fails (unless a systemwide libpython is already
present)
the
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1553375
___
___
Changes by Georg Brandl ge...@python.org:
--
assignee: - loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9682
___
___
Python-bugs-list
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
This functionality would be useful in format_exception(), too, so it might be
better to implement in format_exception_only(). This latter function formats
the exception part of a traceback, so it makes sense to implement it here.
I would
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
This also happens on later versions. Since 2.x is essentially frozen, this
feature request can't be implemented in 2.x, so recategorising as a Python 3.2
issue.
Here, a change in logging will either duplicate code in traceback.py or print
Ich Neumon ichneumo...@gmail.com added the comment:
Looks like this one needs reopening to me... I've recently had to parse out
attachments with the following Content-Type lines and no Content-Disposition
provided:
Content-Type: application/vnd.ms-excel; name=transactions.xls
It might not
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
Removed message: http://bugs.python.org/msg114972
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1553375
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
This functionality would be useful in format_exception(), too.
I prefer fullstack to full as it's clearer what the 'full' pertains to. An
alternative might be upperframes or allframes.
--
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9427
___
___
Andrey Vlasovskikh andrey.vlasovsk...@gmail.com added the comment:
On closer look your patch is also ignoring SystemExit. I think it's
beneficial to honor SystemExit, so a user could use this as a means to
replace the current process with a new one.
Yes, SystemExit should cancel all the
Changes by Andrey Vlasovskikh andrey.vlasovsk...@gmail.com:
--
nosy: +vlasovskikh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9205
___
___
Ich Neumon ichneumo...@gmail.com added the comment:
A slight update for my workaround for the above with the following code:
if not filename:
ct = part.get(Content-Type)
if ct:
m = re.compile('name=\?(\S+)\?').search(ct, 1)
if m: filename = m.group(1)
I've added ? operators
Georg Brandl ge...@python.org added the comment:
Fixed in r84326.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9689
___
Georg Brandl ge...@python.org added the comment:
Fixed in r84327.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9681
___
New submission from Ulrich Seidl ulrich.se...@muneda.com:
The following code leads to an UnicodeError in python 2.7 while it works fine
in 2.6 2.5:
# -*- coding: latin-1 -*-
import xml.etree.cElementTree as ElementTree
oDoc = ElementTree.fromstring(
'?xml version=1.0
Changes by Brian Curtin cur...@acm.org:
--
nosy: +flox
stage: - needs patch
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9692
___
R. David Murray rdmur...@bitdance.com added the comment:
Also, issue 7082 might be relevant here, since it fixed a bug in this fix.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1403349
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
IMO the code is not correct: how does ElementTree know which encoding is used
for the attribute value? Even 2.5 prints a different content when the script
is saved with a different encoding.
The line should look like:
oDoc.set(
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Brian, Tim, any comments on this wrt Windows or do you think this can be
closed? Could there be an impact on any other OS? I'll close if there's no
response, unless someone else feels fit to close this anyway.
--
nosy:
Mark Lawrence breamore...@yahoo.co.uk added the comment:
I don't believe that this can still be a problem.
--
nosy: +BreamoreBoy
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.2 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1078919
___
Mark Matusevich mark...@users.sourceforge.net added the comment:
This is what I got on computer with 512 MB RAM:
Mandriva Linux 2009.1
=
Python 2.6.1 (r261:67515, Jul 14 2010, 09:23:11) [GCC 4.3.2]
- Python process killed by operating system after 14
Microsoft
Mark Lawrence breamore...@yahoo.co.uk added the comment:
I'm assuming that the attached patches are simply out of date.
--
nosy: +BreamoreBoy
stage: unit test needed - needs patch
versions: +Python 3.2 -Python 2.7
___
Python tracker
Mark Lawrence breamore...@yahoo.co.uk added the comment:
@Éric can you please select the appropriate stage, component(s) or version(s)
as you see fit, thanks.
--
assignee: - tarek
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Mark Lawrence breamore...@yahoo.co.uk added the comment:
The consensus is that this should have gone into Python years ago.
--
nosy: +BreamoreBoy
stage: - patch review
versions: +Python 3.2 -Python 2.7
___
Python tracker rep...@bugs.python.org
1 - 100 of 187 matches
Mail list logo