Hi,
I am trying to use python for file processing.
Suppose I have a file like this:
I want to build a Hashmap between the line begin_QOS_statistics and
end_QOS_statistics
and for each line I want to put the first text as the key of the hash
table and the second text as the value.
Received RTCP
On 8/25/07, Tommy Nordgren [EMAIL PROTECTED] wrote:
Do anyone on this list know of a Python module for generating DocBook
programlisting elements for programming language source code
merked with special comments.
I want to write a programming book, and want to mark significant
lines in the
On Sun, 26 Aug 2007 06:05:11 +, [EMAIL PROTECTED] wrote:
I am trying to use python for file processing.
Suppose I have a file like this:
I want to build a Hashmap between the line begin_QOS_statistics and
end_QOS_statistics
and for each line I want to put the first text as the key of the
Devraj wrote:
My application uses MySQL as a backend and am using the MySQL/Python
bindings. Are there any libraries that provide a database abstraction
layer like Activerecords for Python?'
SQLObject
SQLAclhemy
DejaVu
Storm
Google for Python ORM you may find more!
EuGeNe --
depython [http://www.depython.net depython online service] could decompile
python bytecodes. Depython online service supports Python versions
from 2.4up to
2.5.You can freely test its function online.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks
On Aug 26, 5:26 pm, EuGeNe Van den Bulke
[EMAIL PROTECTED] wrote:
Devraj wrote:
My application uses MySQL as a backend and am using the MySQL/Python
bindings. Are there any libraries that provide a database abstraction
layer like Activerecords for Python?'
SQLObject
SQLAclhemy
In message [EMAIL PROTECTED], Sean Davis
wrote:
I have a VERY large file that I would
like to load a line at a time, do some manipulations on it, and then
make it available to as a file-like object for use as input to a
database module (psycopg2) that wants a file-like object (with read
and
In message [EMAIL PROTECTED], Andreas Lobinger wrote:
Anyone any idea where the error is produced?
Do you want to try adding an EndElementHandler as well, just to get more
information on where the error might be happening?
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 23 Aug 2007 12:27:10 -0700, Tobiah wrote:
sed s/.htm/.php/g $each /tmp/$$
This line should be:
sed s/\.htm$/.php/g $each /tmp/$$
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 26, 12:58 pm, Clover [EMAIL PROTECTED] wrote:
When trying to do some things on my Mac (starting Lyx, compiling Latex
via TextMate) I get this error:
python: execv:
/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python:
No such file or directory
On Saturday, Aug 25th 2007 at 22:14 -0700, quoth Alex Martelli:
=Steven W. Orr [EMAIL PROTECTED] wrote:
= * Also, I'd like to understand what the difference is between
= nclass = new.classobj(name,(D1,),globals())
= vs.
= def classfactory():
= class somename(object):
=
Marc 'BlackJack' Rintsch wrote:
On Sun, 26 Aug 2007 06:05:11 +, [EMAIL PROTECTED] wrote:
I am trying to use python for file processing.
Suppose I have a file like this:
I want to build a Hashmap between the line begin_QOS_statistics and
end_QOS_statistics
and for each line I want to
Good day all,
I was wondering if anyone was using the latest
wxpython on FreeBSD 6. I just installed it yesterday
as well as wxGlade. wxGlade doesn't function properly
- it does not display any controls. I then tried some
simple examples from the web and half of them don't
work.
Anyone aware of
Sorry to interrupt the regular programming here .
As has been reported on some websites the
maintainer of kinterbasdb David Rushby has died
last month after a diving accident.
Kinterbasdb is the python wrapper around the Firebird
database api and an excellent opensource project.
The hope is ,
On Aug 26, 6:48 am, Paul McGuire [EMAIL PROTECTED] wrote:
On Aug 25, 8:15 pm, Paul McGuire [EMAIL PROTECTED] wrote:
On Aug 25, 4:57 am, mosscliffe [EMAIL PROTECTED] wrote:
I have 4 text files each approx 50mb.
yawn 50mb? Really? Did you actually try this and find out it was a
Hallöchen!
I have a module parser.py in the same directory as the main module.
In the main module, I import parser. On Linux, this works as
expected, however on Windows, it imports the stdlib parser module.
sys.path[0] points to the directory of my parser.py in both cases.
What went wrong here?
Steven W. Orr [EMAIL PROTECTED] wrote:
...
=accepts whatever dictionary you give it (so you can, though shouldn't,
=do strange things such as pass globals()...:-).
In fact, I wanted to make a common routine that could be called from
multiple modules. I have classes that need to be
On Sun, 26 Aug 2007 07:55:39 -0400, Steven W. Orr wrote:
In fact, I wanted to make a common routine that could be called from
multiple modules. I have classes that need to be created from those
multiple modules. I did run into trouble when I created a common routine
even though I passed
Hi,
to extend my skills, I am learning python. I have written small
program which computes math expression like 1+2*sin(y^10)/cos(x*y)
and similar, so far only + - * / ^ sin con tan sqrt are supported. But
my program is quite inextensible, I have to change the code to add new
functions... Could
=== What is PyPE? ===
PyPE (Python Programmers' Editor) was written in order to offer a
lightweight but powerful editor for those who think emacs is too much
and idle is too little. Syntax highlighting is included out of the box,
as is multiple open documents via tabs.
Beyond the basic
On Sun, 26 Aug 2007 15:56:08 +, neptundancer wrote:
Hi,
to extend my skills, I am learning python. I have written small
program which computes math expression like 1+2*sin(y^10)/cos(x*y) and
similar, so far only + - * / ^ sin con tan sqrt are supported. But my
program is quite
Hi
I am halfway to a first release of a new GUI library for python. It
will be cross platform and follows the Swing philosophy of user
experience and interface fidelity above but it doesn't look like
windows! (aside: neither does office 2007 or windowsmediaplayer).
The library is built on top of
Thanks a lot for comments! I am going to fix the source according to
your advices ;)
Nep
On Aug 26, 6:32 pm, Steven D'Aprano [EMAIL PROTECTED]
THIScybersource.com.au wrote:
On Sun, 26 Aug 2007 15:56:08 +, neptundancer wrote:
Hi,
to extend my skills, I am learning python. I have
Gerdus van Zyl [EMAIL PROTECTED] wrote:
Please reply and let your thoughts be known. Is there a need for a new
GUI library for python?
I think there's no real point in answering this question. You developed
a new toolkit because, I'm guessing, you are not fully satisfied by the
current ones. In
On Aug 26, 5:56 pm, [EMAIL PROTECTED] wrote:
Hi,
to extend my skills, I am learning python. I have written small
program which computes math expression like 1+2*sin(y^10)/cos(x*y)
and similar, so far only + - * / ^ sin con tan sqrt are supported. But
my program is quite inextensible, I have
Michele Simionato wrote:
On Aug 26, 5:56 pm, [EMAIL PROTECTED] wrote:
Hi,
to extend my skills, I am learning python. I have written small
program which computes math expression like 1+2*sin(y^10)/cos(x*y)
and similar, so far only + - * / ^ sin con tan sqrt are supported. But
my
On Aug 26, 7:40 pm, Michele Simionato [EMAIL PROTECTED]
wrote:
On Aug 26, 5:56 pm, [EMAIL PROTECTED] wrote:
Hi,
to extend my skills, I am learning python. I have written small
program which computes math expression like 1+2*sin(y^10)/cos(x*y)
and similar, so far only + - * / ^ sin con
Gerdus van Zyl a écrit :
Seems very promising.
But I'm afraid with the Swing-like interface, i.e : did you use the same
widget positionning ?
--
http://mail.python.org/mailman/listinfo/python-list
import random
constant_array =
red = blue = grey = black = 0
r1 = r2 = r3 = r4 = 1
blu1 = blu2 = blu3 = blu4 = 2
g1 = g2 = g3 = g4 = 3
bla1 = bla2 = bla3 = bla4 = 4
single_players =
[r1,r2,r3,r4,blu1,blu2,blu3,blu4,bla1,bla2,bla3,bla4,g1,g2,g3,g4]
_red = [1,1,1,1]
#print random.randint(0,10
#red
On 26 Aug, 15:45, vasudevram [EMAIL PROTECTED] wrote:
On Aug 26, 6:48 am, Paul McGuire [EMAIL PROTECTED] wrote:
On Aug 25, 8:15 pm, Paul McGuire [EMAIL PROTECTED] wrote:
On Aug 25, 4:57 am,mosscliffe[EMAIL PROTECTED] wrote:
I have 4 text files each approx 50mb.
yawn 50mb?
But I'm afraid with the Swing-like interface, i.e : did you use the same
widget positionning ?
Not sure what you mean, but each parent widget is responsible for
rendering and positioning the children. Can use layout managers, two
currently absolute and simple flow. ( In the screenshot, the
I am writing a daemon process that reads data from the serial port /
dev/ttyS0. I am using pyserial the method for setting up a daemon
described in Chris' Python Page (http://homepage.hispeed.ch/py430/
python/) on an Ubuntu linux pc.
Everything works great EXCEPT...
in the daemon script, there
On Aug 24, 1:21 pm, Jack [EMAIL PROTECTED] wrote:
Jason Evans [EMAIL PROTECTED] wrote in message
http://www.canonware.com/Parsing/
Thanks Jason. Does Parsing.py support Unicode characters (especially CJK)?
I'll take a look.
Parsers typically deal with tokens rather than individual
paul wrote:
If I put these back in and try to run the daemon, the script fails
when I try to connect to the serial port, with this error:
serial.serialutil.SerialException: Could not open port: [Errno 13]
Permission denied: '/dev/ttyS0'
Did you check the permissions on this file? Often you
Just to let anyone know who runs across this post, winpdb from (http://
www.digitalpeers.com/pythondebugger/) solved my issue.
--Chris
--
http://mail.python.org/mailman/listinfo/python-list
Gerdus van Zyl wrote:
I am halfway to a first release of a new GUI library for python. It
will be cross platform and follows the Swing philosophy of user
experience and interface fidelity above but it doesn't look like
windows! (aside: neither does office 2007 or windowsmediaplayer).
The
On Aug 26, 5:20 pm, Bjoern Schliessmann usenet-
[EMAIL PROTECTED] wrote:
paul wrote:
If I put these back in and try to run the daemon, the script fails
when I try to connect to the serial port, with this error:
serial.serialutil.SerialException: Could not open port: [Errno 13]
Permission
On Aug 27, 1:36 am, Torsten Bronger [EMAIL PROTECTED]
wrote:
Hallöchen!
I have a module parser.py in the same directory as the main module.
In the main module, I import parser. On Linux, this works as
expected, however on Windows, it imports the stdlib parser module.
sys.path[0] points to
Hallöchen!
John Machin writes:
On Aug 27, 1:36 am, Torsten Bronger [EMAIL PROTECTED]
wrote:
I have a module parser.py in the same directory as the main
module. In the main module, I import parser. On Linux, this
works as expected, however on Windows, it imports the stdlib
parser module.
Would Muhammad, peace and blessings be upon him, want his followers to
kill in his name? I know that other prophets would not.
--
http://mail.python.org/mailman/listinfo/python-list
Good to know, thanks Paul.
!
Paul McGuire [EMAIL PROTECTED] wrote in message
Pyparsing was already mentioned once on this thread. Here is an
application using pyparsing that parses Chinese characters to convert
to English Python.
http://pypi.python.org/pypi/zhpy/0.5
-- Paul
--
Dear all,
I am releasing much of my work including SCF (Cross platform Smart Card
library Tools) to the GPL license.
If interested, go to http://www.SnakeCard.com/Source.html
I am moving the doc to doxygen and cleaning up the code, so what you'll
see there will change in the course of the
hg [EMAIL PROTECTED] writes:
I am releasing much of my work including SCF (Cross platform Smart
Card library Tools) to the GPL license.
If interested, go to http://www.SnakeCard.com/Source.html
Wow, that is great. I haven't found any low cost programmable cards
(no large quantity purchases
Thanks Json. There seem to be a few options that I can pursue. Having a hard
time
chooing one now :)
Jason Evans [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Aug 24, 1:21 pm, Jack [EMAIL PROTECTED] wrote:
Jason Evans [EMAIL PROTECTED] wrote in message
Paul Rubin wrote:
hg [EMAIL PROTECTED] writes:
I am releasing much of my work including SCF (Cross platform Smart
Card library Tools) to the GPL license.
If interested, go to http://www.SnakeCard.com/Source.html
Wow, that is great. I haven't found any low cost programmable cards
(no
On Aug 26, 5:52 am, Devraj [EMAIL PROTECTED] wrote:
Thanks
On Aug 26, 5:26 pm, EuGeNe Van den Bulke
[EMAIL PROTECTED] wrote:
Devraj wrote:
My application uses MySQL as a backend and am using the MySQL/Python
bindings. Are there any libraries that provide a database abstraction
virtually the only ones that feel the need to rub our nationality into
I'd always assumed (I never spent much time) that Germans were
another culture that had the habit of greeting groups on entrance.
Australians, English, and most of North America just don't have
that habit.
Steve.
Wildemar
On Behalf Of Mark
This line should be:
sed s/\.htm$/.php/g $each /tmp/$$
I think a more robust way to go about this would be:
(1) Use os.walk to walk through the directory
http://docs.python.org/lib/os-file-dir.html
(2) Use Beautiful Soup to extract the internal links from each file
On Behalf Of Jason Evans
Parsers typically deal with tokens rather than individual
characters, so the scanner that creates the tokens is the
main thing that Unicode matters to. I have written
Unicode-aware scanners for use with Parsing-based parsers,
with no problems. This is pretty
That looks good, and perhaps a difference operator
would be too simple to be useful anyway.
Steve.
Mikael Olofsson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
bambam wrote:
In this case it doesn't matter - my lists don't contain
duplicate elements this time - but I have
c = sorted(set(a)-set(b))
although for me :~( that is another step more obscure than
c = list(set(a)-set(b))
c.sort()
Bags don't seem to be built in to my copy of Python, and
although I'm interested in why lists don't support the difference
operation, I don't want to get away from standard
Ok, many environments are capable of cached evaluation
of functions without variable parameters so
range(5)
is cached, but
range(v) is re-evaluated every time. Is this defined
behaviour?
That is, is it defined what Python does for
for i in f()
I'm sure it must be, but I haven't seen
Lawrence D'Oliveiro wrote:
In message [EMAIL PROTECTED], Boris
Borcic wrote:
Lawrence Oluyede wrote:
stefano [EMAIL PROTECTED] wrote:
I need make some images using python but i'm lost :P
http://www.pythonware.com/products/pil/
If you want to do antialiased drawings into images,
you
En Sun, 26 Aug 2007 22:58:35 -0300, bambam [EMAIL PROTECTED] escribi�:
Ok, many environments are capable of cached evaluation
of functions without variable parameters so
range(5)
is cached, but
range(v) is re-evaluated every time. Is this defined
behaviour?
The range builtin
bambam wrote:
That is, is it defined what Python does for
for i in f()
I'm sure it must be, but I haven't seen it yet. If I have
a user defined function returning a range, is it defined
that the range function is called on every loop? If I
have a function returning a range taking a
Thank you, I have been through the tutorial several times, I guess
I'm just not smart enough. Perhaps I have been led astray by what
I read here?
My code started like this:
for i in range(self.parent.GetPageCount()):
I was asked:
Does page count change? i.e. is it necessary to retrieve it in
Thank you, I have been through the tutorial several times, I guess
I'm just not smart enough. Python is quite different from the
languages I am familiar with.
My code sample started like this:
for i in range(self.parent.GetPageCount()):
I was asked:
Does page count change? i.e. is it necessary
in arcgis , arcgisscripting is a dll file
there is a script as following:
import arcgisscripting
gp = arcgisscripting.create()
why can the script run?
how can we setup a dll file as a module?
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 26, 8:05 pm, Ryan Ginstrom [EMAIL PROTECTED] wrote:
On Behalf Of Jason Evans
Parsers typically deal with tokens rather than individual
characters, so the scanner that creates the tokens is the
main thing that Unicode matters to. I have written
Unicode-aware scanners for use with
Is it safe to write
A = [x for x in A if x in U]
or is that undefined? I understand that the slice operation
can be used to make a temporary copy, so I could write
A=[x for x in A[:] if x in U]
but I've just copied that without any understanding.
Steve.
bambam [EMAIL PROTECTED] wrote in
Paul McGuire wrote:
On Aug 26, 8:05 pm, Ryan Ginstrom [EMAIL PROTECTED] wrote:
The only caveat being that since Chinese and Japanese scripts don't
typically delimit words with spaces, I think you'd have to pass the text
through a tokenizer (like ChaSen for Japanese) before using PyParsing.
En Fri, 24 Aug 2007 04:03:05 -0300, Mick Duprez [EMAIL PROTECTED]
escribi�:
I have a small problem. I get an error I don't know how to resolve,
any help would be much appreciated.
I'm using Python25 on winXP pro and the script from the link above.
Here's the error -
bambam [EMAIL PROTECTED] wrote:
Is it safe to write
A = [x for x in A if x in U]
or is that undefined? I understand that the slice operation
It's perfectly safe and well-defined, as the assignment rebinds the LHS
name only AFTER the RHS list comprehension is done.
Alex
--
Thank you. I didn't reply earlier because I was trying to get my
head around what you wrote, which was strange and foreign
to me.
It seems to me that the dictionary object you suggested is a
direct replacement for the function code, only more efficient
because the case table is internalised with
bambam [EMAIL PROTECTED] wrote:
...
Bags don't seem to be built in to my copy of Python, and
A bag is a collections.defaultdict(int) [[you do have to import
collections -- it's in the standard library, NOT built-in]].
Alex
--
http://mail.python.org/mailman/listinfo/python-list
En Tue, 21 Aug 2007 06:18:26 -0300, susanti marsol [EMAIL PROTECTED]
escribi�:
how to remove all number in our's document?
Can you be more specific?
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list
bambam [EMAIL PROTECTED] writes:
Is it safe to write
A = [x for x in A if x in U]
or is that undefined? I understand that the slice operation
can be used to make a temporary copy, so I could write
A=[x for x in A[:] if x in U]
but I've just copied that without any understanding.
You get a
Dear all,
I am releasing much of my work including SCF (Cross platform Smart Card
library Tools written in Python) to the GPL license.
If interested, go to http://www.SnakeCard.com/Source.html
I am moving the doc to doxygen and cleaning up the code, so what you'll
see there will change in
Dear all,
I am releasing much of my work including SCF (Cross platform Smart Card
library Tools written in Python) to the GPL license.
If interested, go to http://www.SnakeCard.com/Source.html
I am moving the doc to doxygen and cleaning up the code, so what you'll see
there will change in the
On Behalf Of Paul McGuire
On Aug 26, 8:05 pm, Ryan Ginstrom [EMAIL PROTECTED] wrote:
The only caveat being that since Chinese and Japanese scripts don't
typically delimit words with spaces, I think you'd have
to pass the
text through a tokenizer (like ChaSen for Japanese) before
class RedirectText:
def __init__(self,aWxTextCtrl):
self.out=aWxTextCtrl
def write(self,string):
wx.CallAfter(self.out.WriteText,string) #CallAfter
def flush(self):
pass
[david]
[david] wrote:
What am I doing wrong?
I'm trying to capture
hg [EMAIL PROTECTED] writes:
I am looking for a free subversion server resource to put the code
... if you know of any.
Does it have to be SVN? I think Savannah and Sourceforge both still
use CVS. I'm not sure what Launchpad uses. I guess if necessary I
could set up a subversion repo for you
hg [EMAIL PROTECTED] wrote:
...
I am looking for a free subversion server resource to put the code ...
if you know of any.
Check out code.google.com -- it has a hosting service for open source
code, too, these days (and it IS subversion).
Alex
--
Paul Rubin wrote:
hg [EMAIL PROTECTED] writes:
I am looking for a free subversion server resource to put the code
... if you know of any.
Does it have to be SVN? I think Savannah and Sourceforge both still
use CVS. I'm not sure what Launchpad uses. I guess if necessary I
could set up a
hg wrote:
Dear all,
I am releasing much of my work including SCF (Cross platform Smart Card
library Tools written in Python) to the GPL license.
If interested, go to http://www.SnakeCard.com/Source.html
I am moving the doc to doxygen and cleaning up the code, so what you'll see
there
Alex Martelli wrote:
hg [EMAIL PROTECTED] wrote:
...
I am looking for a free subversion server resource to put the code ...
if you know of any.
Check out code.google.com -- it has a hosting service for open source
code, too, these days (and it IS subversion).
Alex
Will look it up
Thank you.
Steve.
Alex Martelli [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
bambam [EMAIL PROTECTED] wrote:
Is it safe to write
A = [x for x in A if x in U]
or is that undefined? I understand that the slice operation
It's perfectly safe and well-defined, as the assignment
Thank you. I figured the set would probably be faster,
but the lists are small, and I'm concerned that the code
is going to look Byzantine if I keep swapping between
lists, sets and dictionaries :~).
At the moment there are no sets or dictionaries in the
entire code base I am working with. I'm
Grzegorz Adam Hankiewicz
added the comment:
Any progress report on this issue, please?
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1739648
Grzegorz Adam Hankiewicz
added the comment:
Any progress report on this issue, please?
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1760357
Senthil added the comment:
Can query strings be empty? I am unable to find an instance.
--
nosy: +orsenthil
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1014
__
___
Changes by Gregory Dudek:
--
components: Extension Modules
severity: normal
status: open
title: uudecoding (uu.py) does not supprt base64, patch attached
type: behavior
versions: Python 2.4
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1027
New submission from Gregory Dudek:
The uu.py library for uuencoding and uudecoding does not support base64
encodins. The patch addached here adds base64 decoding, but does not add
encoding support.
--
nosy: +dudek
__
Tracker [EMAIL PROTECTED]
New submission from Kurt B. Kaiser:
The control-spacebar binding is used in IDLE to
force open the completions window. It's causing
IDLE to exit with a utf8 decode error. Attached
is
a Tkinter cut-down
exhibiting the problem and a patch.
The cutdown runs ok on 2.6 but not on py3k because
Kurt B. Kaiser added the comment:
Heh, I see we have the same damn problem SF had: when a comment is
edited,
it doesn't re-wrap properly when submitted. You have to remove the
returns
manually after editing.
__
Tracker [EMAIL PROTECTED]
Kurt B. Kaiser added the comment:
Nope, you have to make sure not to type too wide.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1028
__
___
Python-bugs-list mailing list
Changes by Amaury Forgeot d'Arc:
--
components: Windows
files: winreg.diff
severity: normal
status: open
title: py3k: Adapt _winreg.c to the new buffer API
type: compile error
versions: Python 3.0
__
Tracker [EMAIL PROTECTED]
New submission from Amaury Forgeot d'Arc:
This patch is necessary to compile inside the PCBuild8 directory
--
components: Windows
files: vc2005.diff
messages: 55315
nosy: amaury.forgeotdarc
severity: normal
status: open
title: py3k: compilation with VC2005
type: compile error
versions:
Neal Norwitz added the comment:
Thanks for the patch. I tried to apply this patch, but almost
everything failed. Could you make sure to do a svn update and then
generate the patch?
The only part of the patch that applied cleanly was to rmpyc.py. That
was checked in as:
Committed revision
New submission from Alexandre Vassalotti:
In distutils.unixccompiler, there is a hack to passing correctly the -R
option to gcc (and a few other compilers). However, there is a small bug
that causes gcc to not be detected correctly if the compiler name
does not start with gcc (e.g.,
New submission from Neal Norwitz:
Thanks! I can't test this, but I applied the change. It makes sense to me.
Committed revision 57528.
--
assignee: - nnorwitz
nosy: +nnorwitz
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
Amaury Forgeot d'Arc added the comment:
Sorry, it's probably because I somehow converted the line endings.
Attached a new version of the patch.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1031
__
vc2005-2.diff
Changes by Alexandre Vassalotti:
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1032
__
___
Python-bugs-list mailing list
Unsubscribe:
Neal Norwitz added the comment:
Hmmm, the patch was out of date (I had already removed cPickle).
However, I don't think that was the reason for everything failing. I
manually applied the changes to the files and python version. Things
should be pretty good now. I didn't add the libraries.
Changes by Kurt B. Kaiser:
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1028
__
___
Python-bugs-list mailing list
Unsubscribe:
Kurt B. Kaiser added the comment:
Well, maybe someday Tk will send a multibyte unicode
character. Update the patch.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1028
__Index: Modules/_tkinter.c
Neal Norwitz added the comment:
I thought it might be line endings so I tried changing them, but that
didn't help. I couldn't apply the new version of the patch either. I'm
not sure if the problem is on your side or mine. :-(
I missed some files from the original checkin. The new one
Alexandre Vassalotti added the comment:
As far as I know, StringIO should not do any string transformations.
From PEP-3116 New I/O, last paragraph of the section Text I/O:
Another implementation, StringIO, creates a file-like TextIO
implementation without an underlying Buffered I/O object.
Amaury Forgeot d'Arc added the comment:
As far as I know, StringIO should not do any string transformations.
(Not sure if you agree with the patch or not)
That's why the current behaviour is not correct: When I write('\n'),
getvalue() currently returns '\r\n'.
Neal Norwitz added the comment:
I can confirm the problem and that your patch fixes the problem. Go
ahead and check it in. Thanks!
--
assignee: nnorwitz - kbk
nosy: +nnorwitz
resolution: - accepted
__
Tracker [EMAIL PROTECTED]
1 - 100 of 107 matches
Mail list logo