On Thu, 27 Aug 2009 11:15:59 -0700 (PDT), Bakes ba...@ymail.com wrote:
If I were using the code:
(?Pdata[0-9]+)
to get an integer between 0 and 9, how would I allow it to register
negative integers as well?
(?Pdata-?[0-9]+)
--
To email me, substitute nowhere-spamcop, invalid-net.
--
On Thu, 27 Aug 2009 13:12:07 -0700 (PDT) vsoler
vicente.so...@gmail.com wrote:
On Aug 27, 9:42 pm, Andreas Waldenburger use...@geekmail.invalid
wrote:
[snip what I wrote]
Thank you for your answers. Let me however make some comments:
1- the csv file was generated with Excel 2007; no
vsoler wrote:
On Aug 27, 9:42 pm, Andreas Waldenburger use...@geekmail.invalid
wrote:
On Thu, 27 Aug 2009 21:36:28 +0200 Andreas Waldenburger
use...@geekmail.invalid wrote:
[snip]
Might I humbly suggest
sheet = list(spamReader) # ?
Oh, and while I'm humbly suggesting:
spam_reader instead
On Aug 27, 6:16 am, Emanuele D'Arrigo man...@gmail.com wrote:
Greetings everybody,
let's say I have a Class C and I'd like to verify if it implements
Interface I. If I is available to me as a class object I can use
issubclass(C, I) and I can at least verify that I is a superclass of
C. There
On Aug 27, 5:13 am, jvpic jv...@free.fr wrote:
Hi,
Learning Python, I understand the mechanism of : closure, __new__,
descriptors, decorators and __metaclass__, but I interrogate myself on
the interest of those technics ?
May somebody explain me the interest ?
I assume you are asking, Why
Terry Reedy wrote:
David House wrote:
2009/8/27 Terry Reedy tjre...@udel.edu:
reply-all may send duplicate messages to the author. Not sure of this
list.
I'm fairly sure Mailman deals with that.
Nope. I got a duplicate sent to my mailbox, which I hate.
In particular, because there is no
In article d2921dc3-646c-49f3-8dd6-228bbc649...@k30g2000yqf.googlegroups.com,
Phil phil...@gmail.com wrote:
My interest in Python 3.1 was actually to develop a framework. Again,
I can feel the flames. :) I understand there are enough frameworks but
I actually have no applications that I wish to
Is there telnet client in python?
i want to write NetHack telnet GUI app)
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Aug 27, 2009 at 2:06 PM, Darvinnbdar...@gmail.com wrote:
Is there telnet client in python?
i want to write NetHack telnet GUI app)
http://docs.python.org/library/telnetlib.html
Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list
This seems like a real simple newbie question but how can a person
unencode a string? In Perl I use something like: $part=~ s/\%([A-Fa-
f0-9]{2})/pack('C', hex($1))/seg;
If I have a string like Word1%20Word2%20Word3 I want to get Word1
Word2 Word3. Would also like to handle special characters
On 09:06 pm, nbdar...@gmail.com wrote:
Is there telnet client in python?
i want to write NetHack telnet GUI app)
The Python stdlib has a module named telnetlib which offers rudamentary
telnet support. Twisted includes twisted.conch.telnet which implements
a much more complete telnet
In article mailman.541.1251404574.2854.python-l...@python.org,
Terry Reedy tjre...@udel.edu wrote:
David House wrote:
2009/8/27 Terry Reedy tjre...@udel.edu:
reply-all may send duplicate messages to the author. Not sure of
this list.
I'm fairly sure Mailman deals with that.
Nope. I got a
Ryniek90 rynie...@gmail.com (R) wrote:
R Hahah right. My fault. Must remember to read documentation so many times
R until I find the solution. Thanks, now works fine. :-)
And, by the way, how come the traceback refers to
File backuper.py, line 197, in module
-
Tkinter and IDLE Shortfalls
-
*The following is an assessment of Tkinter as i have experienced it.
Even with all the problems i list below i strongly believe Tkinter is
a great starter GUI toolkit and we (the
I'm working on a program where I wish to define the default value of a
method as a value that was set in __init__. I get a compilation error
saying that self is undefined.
As always a code snippet helps :-)
class foo:
def __init__(self, maxvalue):
self.maxvalue = maxvalue
On Thu, Aug 27, 2009 at 2:37 PM, seanacaiskccnos...@glenevin.com wrote:
I'm working on a program where I wish to define the default value of a
method as a value that was set in __init__. I get a compilation error
saying that self is undefined.
As always a code snippet helps :-)
class foo:
On Thu, Aug 27, 2009 at 2:10 PM, jakecjacobsonjakecjacob...@gmail.com wrote:
This seems like a real simple newbie question but how can a person
unencode a string? In Perl I use something like: $part=~ s/\%([A-Fa-
f0-9]{2})/pack('C', hex($1))/seg;
If I have a string like Word1%20Word2%20Word3
On Thu, Aug 27, 2009 at 11:37 PM, seanacaiskccnos...@glenevin.com wrote:
I'm working on a program where I wish to define the default value of a
method as a value that was set in __init__. I get a compilation error
saying that self is undefined.
As always a code snippet helps :-)
class foo:
On Aug 27, 7:15 pm, Bakes ba...@ymail.com wrote:
If I were using the code:
(?Pdata[0-9]+)
to get an integer between 0 and 9, how would I allow it to register
negative integers as well?
-?
--
http://mail.python.org/mailman/listinfo/python-list
Haha. While I don't disagree with you, I seem to be under the
impression that you think I haven't been reading the web where nearly
every blog post complains about the abundance of Python frameworks.
The thing is, most of the frameworks being commented on in such a way
are 'microframeworks' that
jakecjacobson wrote:
This seems like a real simple newbie question but how can a person
unencode a string? In Perl I use something like: $part=~ s/\%([A-Fa-
f0-9]{2})/pack('C', hex($1))/seg;
If I have a string like Word1%20Word2%20Word3 I want to get Word1
Word2 Word3. Would also like to
On Aug 27, 9:42 pm, Jonathan Gardner jgard...@jonathangardner.net
wrote:
Have you heard of duck typing?
Yes.
Ignore all those things and rely on human (aka natural language)
documentation. That is, if you want to see if a class will work for an
interface, go read the docs on the interface
jakecjacobson wrote:
This seems like a real simple newbie question but how can a person
unencode a string? In Perl I use something like: $part=~ s/\%([A-Fa-
f0-9]{2})/pack('C', hex($1))/seg;
If I have a string like Word1%20Word2%20Word3 I want to get Word1
Word2 Word3. Would also like to
On Aug 27, 3:09 pm, Emanuele D'Arrigo man...@gmail.com wrote:
Apologies, my fault,
No apology is necessary.
I didn't explain that humans are out of the loop
entirely. It's only at runtime that the program obtains the class
object that might or might not conform to an expected interface. In
On Aug 27, 3:09 pm, Emanuele D'Arrigo man...@gmail.com wrote:
On Aug 27, 9:42 pm, Jonathan Gardner jgard...@jonathangardner.net
wrote:
Have you heard of duck typing?
Yes.
I was just wondering then if this has been somewhat dealt with and has
been wrapped in a neat package, set of
On Aug 27, 5:44 pm, Chris Rebert c...@rebertia.com wrote:
On Thu, Aug 27, 2009 at 2:37 PM, seanacaiskccnos...@glenevin.com wrote:
I'm working on a program where I wish to define the default value of a
method as a value that was set in __init__. I get a compilation error
saying that self is
On Thu, Aug 27, 2009 at 4:05 PM,
Kresokkumnotthi...@thatsearchenginesguglsemail.com wrote:
I am writing an application that essentially calculates set of numbers,
say N1, N2, ..., where they can be calculated by several different
algorithms. (One should be able to choose the algorithm at run
On Aug 27, 2:26 pm, Piet van Oostrum p...@cs.uu.nl wrote:
Mensanator mensana...@aol.com (M) wrote:
M On Aug 26, 4:59 pm, Piet van Oostrum p...@cs.uu.nl wrote:
Mensanator mensana...@aol.com (M) wrote:
M That's my point. Since the common usage of binary is for
M Standard Positional Number
I use a python-based program called 'meld' which worked fine until my latest
Fedora11/KDE4.3 update; it now gives me the following error:
prompt meld
/usr/lib/python2.6/site-packages/gtk-2.0/glib/_glib.so: undefined
symbol: PyUnicodeUCS4_DecodeUTF8
Meld requires pygtk 2.8.0 or
Hi all,
I've been messing with this for a couple hours now but can't make it work.
Basically I have a Tkinter GUI that creates a child process via
subprocess.Popen, and I would like to capture the child process's output to
display it in a Text widget in the GUI. Relevant snippets:
def
Miles Kaufmann mile...@umich.edu writes:
On Aug 26, 2009, at 1:11 PM, kj wrote:
I think I understand the answers well enough. What I *really*
don't understand is why this particular feature of Python (i.e.
that functions defined within a class statement are forbidden from
seeing other
Chris Rebert:
It sounds like you're describing the Strategy Pattern
(http://en.wikipedia.org/wiki/Strategy_pattern).
To have objects callable like functions, just implement the __call__
special method in your class(es):
Please, can't you just use a bit of functional-style programming? Like
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
Leading zeroes in decimal numbers are *very* common in dates and times.
In banking too, according to someone at work today.
Mel.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Aug 27, 2009 at 5:34 PM, Deep_Feelingsdoctore...@gmail.com wrote:
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
We lack Sun and Microsoft's massive marketing departments. :)
Cheers,
Chris
--
http://blog.rebertia.com
--
Deep_Feelings wrote:
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
Fewer needed?
--
http://mail.python.org/mailman/listinfo/python-list
Deep_Feelings wrote:
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
Perhaps because we value QUALITY over QUANTITY ...
Gary Herron
--
http://mail.python.org/mailman/listinfo/python-list
On 08/26/2009 11:51 PM, Martin v. Löwis wrote:
[...]
But regardless, the significant question is, what is
the reason for having ord() (and unichr) not work for
surrogate pairs and thus not usable with a large number
of unicode characters that Python otherwise supports?
See PEP
Terry Reedy tjre...@udel.edu writes:
In particular, because there is no indication that it is an exact
duplicate of what I will also find on the list itself. Please use
reply instead of reply-all.
Better: If you don't want to reply to the author directly, and you don't
want to reply to
On Fri, Aug 28, 2009 at 9:49 AM, kj no.em...@please.post wrote:
Miles Kaufmann mile...@umich.edu writes:
...because the suite
namespace and the class namespace would get out of sync when different
objects were assigned to the class namespace:
class C:
x = 1
def foo(self):
On Wed, Aug 26, 2009 at 4:47 PM, David C Ullrichdullr...@sprynet.com wrote:
On Mon, 24 Aug 2009 22:22:20 -0700, sturlamolden wrote:
On 25 Aug, 05:56, Peter Decker pydec...@gmail.com wrote:
I use the Dabo Class Designer to visually design my forms. So what's
you're point? :)
Nothing,
On Aug 27, 1:15 pm, Bakes ba...@ymail.com wrote:
If I were using the code:
(?Pdata[0-9]+)
to get an integer between 0 and 9, how would I allow it to register
negative integers as well?
With that + sign in there, you will actually get an integer from 0 to
9...
-- Paul
--
On Aug 28, 3:46 am, Chris Rebert c...@rebertia.com wrote:
On Thu, Aug 27, 2009 at 5:34 PM, Deep_Feelingsdoctore...@gmail.com wrote:
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
We lack Sun and Microsoft's massive marketing
kj wrote:
But this unfortunate situation is already possible, because one
can already define
class C:
x = 1
def foo(self):
print C.x
print self.x
How is this a problem? There is no ambiguity between the global scope and
the local from within foo.
From within foo
On Thu, Aug 27, 2009 at 10:12 PM, Esam Qanadeelydoctore...@gmail.com wrote:
On Aug 28, 3:46 am, Chris Rebert c...@rebertia.com wrote:
On Thu, Aug 27, 2009 at 5:34 PM, Deep_Feelingsdoctore...@gmail.com wrote:
python got relatively fewer numbers of developers than other high
level languages
On Aug 27, 2009, at 4:49 PM, kj wrote:
Miles Kaufmann mile...@umich.edu writes:
Guido's design justifications:
http://mail.python.org/pipermail/python-dev/2000-November/010598.html
Ah! Clarity! Thanks! How did you find this? Did you know of
this post already? Or is there some special
On Aug 27, 7:34 pm, Deep_Feelings doctore...@gmail.com wrote:
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
Ugh? Well maybe if you put some deep_thoughts into this conundrum you
may reveal the answer to your self. Python is an
On Fri, Aug 28, 2009 at 1:27 PM, Miles Kaufmann mile...@umich.edu wrote:
You're right, of course. If I had been thinking properly, I would have
posted this:
... the suite namespace and the class namespace would get out of sync when
different objects were assigned to the class namespace:
On Fri, Aug 28, 2009 at 1:48 PM, Xavier Ho cont...@xavierho.com wrote:
Class already provides some kind of scoping/namespace, that is the locals()
method for the class. What is pypothetical about this, if you could
elaborate?
Obviously that was supposed to be hypothetical. Oops.
--
Hey
I'm a Python noob
So far so good!
I've written the following:
num1 = raw_input('Enter the first number: ')
num2 = raw_input('Enter the second number: ')
op = raw_input('Select one of the following [+-*/]: ')
print 'The answer is: ', int(num1), eval(op), int(num2)
On Fri, Aug 28, 2009 at 1:52 PM, Duke Normandin dukeofp...@ml1.net wrote:
How do I convert the contents of op from a string to an actual
arithmetic operator? eval() does not seem to be the answer. TIA!
Maybe you were looking for
print eval(num1 + op + num2) # it's a little ugly string
On Aug 27, 10:52 pm, Duke Normandin dukeofp...@ml1.net wrote:
How do I convert the contents of op from a string to an actual
arithmetic operator? eval() does not seem to be the answer. TIA!
Try this..
op = '+'
one = '1'
two = '2'
one+op+two
'1+2'
eval(one+op+two)
3
you could also use
num1 = raw_input('Enter the first number: ')
num2 = raw_input('Enter the second number: ')
op = raw_input('Select one of the following [+-*/]: ')
print 'The answer is: ', int(num1), eval(op), int(num2)
How do I convert the contents of op from a
On Aug 28, 6:44 am, Mark Lawrence breamore...@yahoo.co.uk wrote:
vsoler wrote:
On Aug 27, 9:42 pm, Andreas Waldenburger use...@geekmail.invalid
1- the csv file was generated with Excel 2007; no prompts for what the
separator should be; Excel has used ; by default, without asking
anything
Duke Normandin dukeofp...@ml1.net writes:
Hey
I'm a Python noob
So far so good!
I've written the following:
num1 = raw_input('Enter the first number: ')
num2 = raw_input('Enter the second number: ')
op = raw_input('Select one of the following [+-*/]: ')
print 'The answer is:
On Fri, Aug 28, 2009 at 2:35 PM, Ben Finney
ben+pyt...@benfinney.id.auben%2bpyt...@benfinney.id.au
wrote:
import operator
op_funcs = {
'+': operator.add,
'-': operator.sub,
'*': operator.mul,
'/': operator.div,
}
num_1 = int(raw_input('Enter
r wrote:
As long as Java
can be complied strait to machine code
I think you meant compared here.
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
who cares if a language is compiled or interpreted as long as it runs
and perform the function.
second thing is : even if java is faster than python , unless you are
making performance critical operations : who cares? computers are
getting faster all the time and languages like python or ruby are
i meant fast enough for most (but not all) applications
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 27, 11:35 pm, Ben Finney ben+pyt...@benfinney.id.au wrote:
In general, ‘eval’ on unsanitised input is not the answer.
Yes i agree.
I would use the following approach:
Abviously the OP is a python baby noob and casting your irrational
fear (and many others irrational fears) of eval at
Deep_Feelings doctore...@gmail.com wrote:
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
How do you know, and why does it matter?
By the way, .NET is not a language. I assume you meant C#.
--
Tim Roberts, t...@probo.com
Emanuele D'Arrigo wrote:
On Aug 27, 9:42 pm, Jonathan Gardner jgard...@jonathangardner.net
wrote:
Have you heard of duck typing?
Yes.
Ignore all those things and rely on human (aka natural language)
documentation. That is, if you want to see if a class will work for an
On Aug 28, 8:27 am, Tim Roberts t...@probo.com wrote:
Deep_Feelings doctore...@gmail.com wrote:
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
How do you know, and why does it matter?
By the way, .NET is not a language. I
On Aug 27, 7:34 pm, Deep_Feelings doctore...@gmail.com wrote:
python got relatively fewer numbers of developers than other high
level languages like .NET , java .. etc why ?
Oh, and why on god's green would you ever compare Java (*puke*) and
Python in the same breath? You say Python is a
Yuv Gre ubershme...@gmail.com added the comment:
Use case - 'hashing' a counter for example like video ID's in youtube.
One could use a regular int internally and publish a shorter 62-base id
for links.
Guido said on http://mail.python.org/pipermail/python-dev/2006-
January/059923.html
I
New submission from Ayman ayman.alsair...@gmail.com:
in ftplibs.storlines, a call is done on what should be a Text stream:
fp.readline()
This would work in pre 3.x as it returns bytes but now that readlines
returns a string, the call at lines 477 would fail:
File C:\Python31\lib\ftplib.py,
RonnyPfannschmidt ronny.pfannschm...@gmx.de added the comment:
its even worse
python3:
import pickle
pickle.dumps(b'', protocol=2)
b'\x80\x02c__builtin__\nbytes\nq\x00]q\x01\x85q\x02Rq\x03.'
python2.6:
import pickle
pickle.loads('\x80\x02c__builtin__\nbytes\nq\x00]q\x01\x85q\x02Rq\x03.')
Marc-Andre Lemburg m...@egenix.com added the comment:
Ryan McGuire wrote:
New submission from Ryan McGuire python@enigmacurry.com:
Opening a UTF-8 encoded file with unix newlines (\n) on Win32:
codecs.open(whatever.txt,r,utf-8).read()
replaces the newlines (\n) with CR+LF (\r\n).
fugounashi fugounashi+pyt...@gmail.com added the comment:
thanks for looking into it
this should do it:
#! /usr/bin/python
import locale
locale.setlocale(locale.LC_ALL, '')
code = locale.getpreferredencoding()
import curses
def main(stdscr):
stdscr.erase()
stdscr.move(0, 0)
for i
Ryan McGuire python@enigmacurry.com added the comment:
Uploading a doctest for this.
The tests are successful on Linux using Python 2.6
They fail on Win32 with Python 2.6
--
Added file: http://bugs.python.org/file14788/codecs_bug.py
___
Python
Antoine Pitrou pit...@free.fr added the comment:
The problem with trying to solve the following issue:
a bytes instance from python3 is pickled as custom class in
protocols 3
is that if we pickle bytes from Python 3 as a 2.x str in protocol = 2,
unpickling it using Python 3 will yield a str
RonnyPfannschmidt ronny.pfannschm...@gmx.de added the comment:
unpickle of any non-ascii string from python2 will break
the only way out would be to ensure text strings and a single defined
encoding (at that point storing unicode strings in any case seems more
practical)
also byte-strings
Ezio Melotti ezio.melo...@gmail.com added the comment:
I just did a quick test about making the sidebar collapsible.
Add these lines at the end of default.css to see how the page might look
like with the sidebar collapsed:
/* collapse the sidebar */
div.sphinxsidebar {
/* border: 3px solid
Ezio Melotti ezio.melo...@gmail.com added the comment:
Attached a screenshot of the result.
I also made the top bar fixed as described in #4965, so it's always
visible even if the user scrolled till the middle of the page (this is
not related to this issue and will be addressed in #4965 though).
Ezio Melotti ezio.melo...@gmail.com added the comment:
Another screenshot that shows the page with and without the sidebar,
with a photoshopped / button.
--
Added file: http://bugs.python.org/file14790/visible-vs-hidden.gif
___
Python tracker
Art Gillespie agill...@gmail.com added the comment:
The problem appears to be that the gzip module simply doesn't support
universal newlines yet.
I'm currently working on the zipfile module's universal newline support
(issue6759) so if nobody else is working on this, I'll do it.
I'm not sure
Changes by Jean-Paul Calderone exar...@divmod.com:
Added file: http://bugs.python.org/file14791/os-popen-list.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5329
___
Jean-Paul Calderone exar...@divmod.com added the comment:
Attached os-popen-list.patch which includes all of the earlier
os-popen.diff and adds tests which fail without this patch and pass with
it. They also pass on Python 2.5. The patch is against the Python 2.6
maintenance branch, but
Ezio Melotti ezio.melo...@gmail.com added the comment:
Not yet, the machine I was using to work on this is currently broken and
I couldn't test the new test_docxmlrpc yet. Once I've fixed the machine
and tried it I'll let you know.
--
___
Python
Georg Brandl ge...@python.org added the comment:
Fixed in r74555, thanks!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6787
___
RonnyPfannschmidt ronny.pfannschm...@gmx.de added the comment:
in case the actual behavior is not supposed to change
how about a way to declare one wants exact 1:1 mapping between py2py3,
so strbytes and unicodestr will work for sure
something like load/dump(..., encoding=bytes) just crossed
Mark Dickinson dicki...@gmail.com added the comment:
I'm hoping 182 weeks of clarity could help iron this issue out.
:-)
I really think should bring this up on the python-ideas mailing list[1];
it's much more likely to get resolved one way or the other if you do.
[1]
Changes by Gregory P. Smith g...@krypto.org:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6508
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
Andrew - do you still feel responsible for curses?
--
assignee: - akuchling
nosy: +akuchling, georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6243
Martin v. Löwis mar...@v.loewis.de added the comment:
how about a way to declare one wants exact 1:1 mapping between py2py3,
so strbytes and unicodestr will work for sure
In a sense, that's already possible. Inherit from _Pickler/_Unpickler,
and replace the dispatch dict with a different
New submission from Jake McGuire j...@youtube.com:
As of Python 2.6 you can no longer pass an array to
httplib.HTTPConnection.send.
Issue1065257 added code to httplib to attempt to determine whether a
file-like object was passed to certain methods (e.g. send), and to
stream the data if so.
andrew cooke and...@acooke.org added the comment:
Came here wondering how best to solve this myself.
I already subclass the request handler to do client validation (password
etc) and it stuck me that a simpler solution would be to use thread
local storage.
This avoids having to modify
R. David Murray rdmur...@bitdance.com added the comment:
That method of array.array has been deprecated since 1.5.1 according to
the docs. Too bad nobody finished the job and removed it.
Perhaps array.array could be special cased in the relevant code until
the method can actually be removed.
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Committed this much more harmless patch to the trunk as revision 74556
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6275
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also issue #4787
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6745
___
___
Trundle andy-pyt...@hammerhartes.de added the comment:
Yes, it uses a version of ncurses which supports wide characters, I
checked that.
I agree that using bytes instead may not be the preferred solution in
Python 3. The point is, currently, it is broken if the user does not
use an utf-8
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
After a short discussion on python-dev
(http://mail.python.org/pipermail/python-dev/2009-August/091069.html)
there were no objections. On python-ideas there were no responses.
Commited as revision 74558
--
resolution:
STINNER Victor victor.stin...@haypocalc.com added the comment:
I don't really understand because your example, umlaut3x.py, works
correctly on my computer (py3k, ubunty jaunty).
The point is, currently, it is broken if the user
does not use an utf-8 environment.
So the problem is that the
Trundle andy-pyt...@hammerhartes.de added the comment:
Of course it works for you. As you stated in issue #4787, your locale
is 'fr_FR.UTF-8'.
And I don't want Python to guess my terminal's encoding. I want Python
to respect my locale. Which is 'de...@euro', and not utf-8.
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
Here is a first patch to add a method setcharset() to the window class.
Using my patch, you can fix your example by adding the line:
screen.setcharset(your charset)
before addstr().
It's an initial hack to fix the issue. Next
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
title: development docs waste a lot of horizontal space on left nav bar - Make
the left sidebar in the doc collapsible
Added file: http://bugs.python.org/file14793/sidebar.js
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
Attached a first attempt to make the sidebar collapsible.
The sidebar.js file is the JS script I did, the sidebar.zip file
contains a couple of pages taken from the doc with the sidebar scripts
already included in a script.
If you want to
101 - 197 of 197 matches
Mail list logo