On 24 Aug, 18:20, n...@cam.ac.uk wrote:
This obviosuly proves you wrong:
Er, no, it doesn't. I suggest that you read what I said more
carefully - and the Fortran standard. As I said, you can kludge
them up, and that is precisely one such kludge -
You said we have to kludge them up as
Hello everyone,
I was wondering if anyone here has had any experience in running
Python in a virtualized server environment?
The reason I'm asking is the recent thing I noticed when running my
server application (written in Python + Twisted);
The memory of the server application seems to only
I'm trying to get the csv module (Python 2.6) to write data records
like Excel. The excel dialect isn't doing it. The problem is in
writing None values. I want them to result in just sequential commas
- ,, but csv treats None specially, as the doc says,
To make it as easy as possible to
On Mon, Aug 24, 2009 at 05:03:28PM +, Steven D'Aprano wrote:
On Mon, 24 Aug 2009 11:21:46 -0500, Derek Martin wrote:
since the old syntax is prevalent both within and without the
Python community, making the change is, was, and always will be a
bad idea.
Octal syntax isn't prevalent
Let's say I have a list accessed by two threads, one removing list
items via del myList[index] statement the other iterating through
the list and printing out the items via for item in myList:
statement. Am I right to say this -won't- generate exceptions because
the list iterator is not concerned
sturlamolden sturlamol...@yahoo.no wrote:
You also said we can only interop with
length-1 character strings. My kludge was valid Fortran and works with
strings of any length up to some sane limit that you can specify.
There might be a confusion here (and I'm not even sure on whose part) on
a
Peter Waller wrote:
Okay, I got fed up with there not being any (obvious) good examples of
how to do bash-like brace expansion in Python, so I wrote it myself.
Here it is for all to enjoy!
If anyone has any better solutions or any other examples of how to do
this, I'd be glad to hear from them.
7stud wrote:
python 3.1 won't let me
explicitly encode my unicode string
Sure it does. But encoding a non-ASCII string to ASCII will necessarily fail.
and python 3.1 implicitly does
the encoding with the wrong codec.
That's not a Python problem, though. Your terminal is configured for
On Aug 24, 12:19 pm, Stefan Behnel stefan...@behnel.de wrote:
7stud wrote:
python 3.1 won't let me
explicitly encode my unicode string
Sure it does. But encoding a non-ASCII string to ASCII will necessarily fail.
As you should be able to see in the python 3.1 example I posted, I did
not
I want the file pointer set to 100 and overwrite everything from there
curl -C 100 -T upload2.wsgi http://192.168.2.17/appwsgi/wsgi/upload2.wsgi
-v
w+ overwrites my file completely
r+ overwrites nothing
a+ only makes my file bigger
import os
def application(environ, response):
In article 1j4y84p.v5docbtueccmn%nos...@see.signature,
Richard Maine nos...@see.signature wrote:
Only character strings of length 1 are interoperable, as the term
interoperable is defined in the Fortran standard. However, that does
not mean that only character strings of length 1 will work with
gravityzoo-dmo wrote:
Hello everyone,
I was wondering if anyone here has had any experience in running
Python in a virtualized server environment?
The reason I'm asking is the recent thing I noticed when running my
server application (written in Python + Twisted);
The memory of the server
Ronn Ross wrote:
On Mon, Aug 24, 2009 at 11:18 AM, Ronn Ross ronn.r...@gmail.com wrote:
On Mon, Aug 24, 2009 at 10:43 AM, Albert Hopkins mar...@letterboxes.orgwrote:
On Mon, 2009-08-24 at 10:35 -0400, Ronn Ross wrote:
I need to read a binary file. When I open it up in a text
On 24 Aug, 20:55, n...@cam.ac.uk wrote:
Precisely. And the kludge does NOT work under all circumstances,
which is why I said that it doesn't work very well.
Do you have an example?
Consider, for example:
SUBROUTINE Fred (X) BIND(C)
CHARACTER*(*) :: X
END SUBROUTINE Fred
Esmail ebo...@hotmail.com writes:
What is your favorite tool to help you debug your
code? I've been getting along with 'print' statements
but that is getting old and somewhat cumbersome.
Beyond print statements, I use pdb a lot. Winpdb (www.winpdb.org) is
even better, but is kind of
In comp.lang.fortran n...@cam.ac.uk wrote:
(snip)
Precisely. And the kludge does NOT work under all circumstances,
which is why I said that it doesn't work very well.
Consider, for example:
SUBROUTINE Fred (X) BIND(C)
CHARACTER*(*) :: X
END SUBROUTINE Fred
In article 7abee4bb-b18a-4680-817b-7e76aed40...@c2g2000yqi.googlegroups.com,
sturlamolden sturlamol...@yahoo.no wrote:
Precisely. =A0And the kludge does NOT work under all circumstances,
which is why I said that it doesn't work very well.
Do you have an example?
I gave you one. Also see
I want the file pointer set to 100 and overwrite everything from there
[snip]
def application(environ, response):
query=os.path.join(os.path.dirname(__file__),'teemp')
range=environ.get('HTTP_RANGE','bytes=0-').replace
('bytes=','').split(',')
offset=[]
for r in range:
En Mon, 24 Aug 2009 14:40:24 -0300, Derek Martin c...@pizzashack.org
escribió:
Why is it so hard for you to accept that intelligent people can
disagree with you, and that what's right for you might be bad for
others?
Ask the same question yourself please.
--
Gabriel Genellina
--
I'm developing a program that will use web services, which I have never
used before.
There are several tutorials out there that advise you to get the WSDL
and then call a method (such as wsdl2py) that inspects the wsdl and
automagically generates the python classes and methods you need for
On Aug 24, 9:37 pm, Tim Chase python.l...@tim.thechases.com wrote:
I want the file pointer set to 100 and overwrite everything from there
[snip]
def application(environ, response):
query=os.path.join(os.path.dirname(__file__),'teemp')
John Gordon wrote:
I'm developing a program that will use web services, which I have never
used before.
Web services in general, or some Microsoft interface?
John Nagle
--
http://mail.python.org/mailman/listinfo/python-list
In article h6upc9$4...@naig.caltech.edu,
glen herrmannsfeldt g...@ugcs.caltech.edu wrote:
Consider, for example:
SUBROUTINE Fred (X) BIND(C)
CHARACTER*(*) :: X
END SUBROUTINE Fred
CHARACTER(LEN=100) :: string
CALL Fred(string(40:60))
CALL Fred(string(5:50))
This
On Aug 24, 11:30 am, JKPeck jkp...@gmail.com wrote:
I'm trying to get the csv module (Python 2.6) to write data records
like Excel. The excel dialect isn't doing it. The problem is in
writing None values. I want them to result in just sequential commas
- ,, but csv treats None specially, as
On 24 Aug, 21:24, n...@cam.ac.uk wrote:
You might also like to consider the converse problem: how to write
a Fortran function that takes a C string of arbitrary length and
uses it.
That's what the code I showed you does.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Aug 24, 2009 at 04:40:14PM -0300, Gabriel Genellina wrote:
En Mon, 24 Aug 2009 14:40:24 -0300, Derek Martin
c...@pizzashack.org escribió:
Why is it so hard for you to accept that intelligent people can
disagree with you, and that what's right for you might be bad for
others?
Ask
Hello,
It seems like this should be easy to do... change the background color
of the Pmw optionmenu. I have not been able to find this. Anyone have
a hint or know how to do this?
Thanks,
Jonathan
--
http://mail.python.org/mailman/listinfo/python-list
On 24 Sie, 16:56, John Machin sjmac...@lexicon.net wrote:
On Aug 25, 12:46 am, Tim Golden m...@timgolden.me.uk wrote:
Dave Angel wrote:
You still haven't gotten rid of those illegal colons in the filename.
They're not legal in Windows, as has been pointed out a couple of times
in
John Gordon schrieb:
I'm developing a program that will use web services, which I have never
used before.
There are several tutorials out there that advise you to get the WSDL
and then call a method (such as wsdl2py) that inspects the wsdl and
automagically generates the python classes and
I can't figure out a way to programatically set the encoding for
sys.stdout. So where does that leave me?
You should be setting the terminal encoding administratively, not
programmatically.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Richard Maine nos...@see.signature wrote in message
news:1j4y84p.v5docbtueccmn%nos...@see.signature...
There might be a confusion here (and I'm not even sure on whose part) on
a picky but important detail of wording. I have seen multiple people
confused by this one before. In fact, some
JKPeck wrote:
I'm trying to get the csv module (Python 2.6) to write data records
like Excel. The excel dialect isn't doing it. The problem is in
writing None values. I want them to result in just sequential commas
- ,, but csv treats None specially, as the doc says,
To make it as easy
On 24 Sie, 22:34, ryniek rynie...@gmail.com wrote:
On 24 Sie, 16:56, John Machin sjmac...@lexicon.net wrote:
On Aug 25, 12:46 am, Tim Golden m...@timgolden.me.uk wrote:
Dave Angel wrote:
You still haven't gotten rid of those illegal colons in the filename.
They're not legal in
I am working on a project that will require building and querying large
graph objects (initially 8M nodes, 30-40M edges; eventually 40M nodes,
100M edges). NetworkX seems to be the most popular, but I am concerned
that a dict representation for nodes would use too much memory -- my
initial
James Van Buskirk not_va...@comcast.net wrote:
Richard Maine nos...@see.signature wrote in message
news:1j4y84p.v5docbtueccmn%nos...@see.signature...
One might plausibly regard this as a kludge, but it is a kludge that is
part of the Fortran standard and is guaranteed to work with all
This works for a simple binary file, but the actual file I'm trying to
read is give throwing an error that the file cannot be found. Here is the
name of the my file:
2009.08.02_06.52.00_WA-1_0001_00_0662_0.jstars
Should python have trouble reading this file name or extension?
I'm having
Before you flame me, I know that what I'm trying to do is beyond evil.
But I nonetheless want to do it. Feel free to rant if you must. :)
I have a package that I want to install into another package. For
example, I have the packages pya and pyb.
pya is guaranteed to be installed before pyb is, so
VanL schrieb:
I am working on a project that will require building and querying large
graph objects (initially 8M nodes, 30-40M edges; eventually 40M nodes,
100M edges). NetworkX seems to be the most popular, but I am concerned
that a dict representation for nodes would use too much memory --
Pavel Panchekha schrieb:
Before you flame me, I know that what I'm trying to do is beyond evil.
But I nonetheless want to do it. Feel free to rant if you must. :)
I have a package that I want to install into another package. For
example, I have the packages pya and pyb.
pya is guaranteed to be
You may try the Python bindings for the Boost Graph Library, the graph
you talk about may fit in 2GB of a 32 bit OS too (this is the first
link I have found, it's a lot of time I don't use those graph
bindings):
http://banyan.usc.edu/log/c_cpp/boost-graph-library-python-bindings
Bye,
bearophile
On 24 Aug, 14:05, Mel mwil...@the-wire.com wrote:
James Harris wrote:
On 24 Aug, 02:19, Max Erickson maxerick...@gmail.com wrote:
[ ... ]
int('100', 3)
9
int('100', 36)
1296
This is fine typed into the language directly but couldn't be entered
by the user or read-in from or
sturlamolden sturlamol...@yahoo.no (s) wrote:
s On 24 Aug, 13:21, Piet van Oostrum p...@cs.uu.nl wrote:
But os.fork() is not available on Windows. And I guess refcounts et al.
will soon destroy the sharing.
s Well, there is os.fork in Cygwin and SUA (SUA is the Unix subsytem in
s Windows
On Aug 24, 5:37 pm, VanL van.lindb...@gmail.com wrote:
Can anybody who has worked with large graphs before give a recommendation?
when using large graphs another limitation may come from the various
graph algorithm run times. Most likely you will need to squeeze out as
much as possible and a
You shouldn't want either a colon or a pipe symbol in the filename
string (not counting the drive letter prefix).
A single colon gives you surprising behavior, and two will give you
Invalid Argument. See inline responses.
ryniek wrote:
On 24 Sie, 22:34, ryniek rynie...@gmail.com wrote:
On 25 Aug, 01:26, Piet van Oostrum p...@cs.uu.nl wrote:
That's because it doesn't use copy-on-write. Thereby losing most of its
advantages. I don't know SUA, but I have vaguely heard about it.
SUA is a version of UNIX hidden inside Windows Vista and Windows 7
(except in Home and Home Premium),
On Mon, 24 Aug 2009 16:23:06 -0700, James Harris wrote:
Sure but while I wouldn't normally want to type something as obscure as
32rst into a file of data I might want to type 0xff00 or similar. That
is far clearer than 65280 in some cases.
My point was that int('ff00', 16) is OK for the
On Mon, 24 Aug 2009 12:40:24 -0500, Derek Martin wrote:
On Mon, Aug 24, 2009 at 05:03:28PM +, Steven D'Aprano wrote:
On Mon, 24 Aug 2009 11:21:46 -0500, Derek Martin wrote:
since the old syntax is prevalent both within and without the Python
community, making the change is, was, and
Ben Finney wrote:
So, different representations of literals are parsed as separate
literals, then concatenated. To have the behaviour you describe, the
case needs to be made separately that digit concatenation should not be
consistent with the established string literal parsing behaviour.
I
On Aug 24, 7:25 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Mon, 24 Aug 2009 16:23:06 -0700, James Harris wrote:
Sure but while I wouldn't normally want to type something as obscure as
32rst into a file of data I might want to type 0xff00 or similar. That
is far
I have several thousand photographs that I need to quickly classify,
all by myself. After extensive searches, I have been unable to find
anything to my liking, so desire to write something myself. I'm
thinking about displaying a photo and waiting for keystrokes to tag
it; 'i' for interior, 'e'
On Mon, Aug 24, 2009 at 11:49 AM, Stephen Hansenapt.shan...@gmail.com wrote:
P.S. I have no idea why I'm pumping Dabo so much in this though I've never
used it!
I've used in fairly regularly for about 2 years now. I haven't had to
write that ugly wxPython code for so long that every time I see
samwyse samw...@gmail.com writes:
My big question is, what's the
best way to display the photos. I've used PIL in the past, but IIRC
it uses an external program. Pygame is the next obvious choice, but
like PIL it requires an add-in. That leaves Tkinter. Has anyone used
it to display .JPG
On 25 Aug, 03:51, Peter Decker pydec...@gmail.com wrote:
I've used in fairly regularly for about 2 years now. I haven't had to
write that ugly wxPython code for so long that every time I see
examples on their mail list I wanna barf.
I prefer wxFormBuilder. GUIs should be designed visually
On Aug 25, 5:41 am, John Gordon gor...@panix.com wrote:
File /usr/lib/python2.3/site-packages/suds/client.py, line 59
@classmethod
^
SyntaxError: invalid syntax
If memory serves me correctly, decorators were introduced in
python2.4. That would account for your SyntaxError.
--
Hi python-community,
I would like to ask you if someone know any open source softphone wrote
entirely in Python. The thing is that I want to write a honeyphone but
starting from a softphone. Sorry if you think that I haven't googled
enough.
Regards,
Rodrigo.
--
Dear all,
I'm but a layman so do not take offence at this maybe over simple
question.
This is something which is done often in FEM methods, and the alike.
I have matrix A of 3x3 elements, and B, of the same number of
elements, 3x3.
What would be the most obvious way to assemble a matrix
On Aug 24, 2:41 pm, Martin v. Löwis mar...@v.loewis.de wrote:
I can't figure out a way to programatically set the encoding for
sys.stdout. So where does that leave me?
You should be setting the terminal encoding administratively, not
programmatically.
The terminal encoding has always
On Aug 23, 8:14 pm, Esben von Buchwald find@paa.google wrote:
I thought that this code would do the trick, but it obviously doesn't
help at all, and i can't understand why...
def doCallback(self):
if self.process_busy==False:
self.process_busy=True
The ninth PyWeek challenge starts this weekend, running between Sunday
30th August to Sunday 6th September (00:00UTC to 00:00UTC)
The PyWeek challenge invites entrants to write a game in one week from
scratch either as an individual or in a team. Entries must be developed
in Python, during the
Steven D'Aprano wrote:
On Mon, 24 Aug 2009 09:14:25 -0500, Derek Martin wrote:
Assuming I'm right about that, then the use of a leading 0 to represent
octal actually predates the prevalence of using 0 in dates by almost two
decades. And while using leading zeros in other contexts is familiar
ryniek wrote:
On 24 Sie, 22:34, ryniek rynie...@gmail.com wrote:
On 24 Sie, 16:56, John Machin sjmac...@lexicon.net wrote:
On Aug 25, 12:46 am, Tim Golden m...@timgolden.me.uk wrote:
Dave Angel wrote:
You still haven't gotten rid of those illegal colons in the filename.
They're not legal
You should be setting the terminal encoding administratively, not
programmatically.
The terminal encoding has always been utf-8. It was not set
programmatically.
It seems to me that python 3.1's string handling is broken.
Apparently, in python 3.1 I am unable to explicitly set the
You can also use Windows Forms with IronPython
http://www.ironpython.info/index.php/Contents#Windows_Forms
--
http://mail.python.org/mailman/listinfo/python-list
I'm especially concerned about the lack of controls, the lack of
updates (lots of controls in wxWidgets are 1.0 deadware),
I use wxPython. No lack of controls there, and most are up to
date. Which lots in wxWidgets are you thinking of?
I need controls for business apps like access to
On Mon, Aug 24, 2009 at 10:26 PM, sturlamoldensturlamol...@yahoo.no wrote:
On 25 Aug, 03:51, Peter Decker pydec...@gmail.com wrote:
I've used in fairly regularly for about 2 years now. I haven't had to
write that ugly wxPython code for so long that every time I see
examples on their mail list
Ryniek90 rynie...@gmail.com wrote:
Sorry, but i don't know where those pipes came from : P
The proper path is C:\\Users\\Ryniek's
WinSe7en\\MyNewGGBackup(2009-08-23 14:59:02).tar.bz2
and that string literal is \U, without any pipes :)
The truth is that script works on linux (ubuntu) but not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Stefan Behnel stefan...@behnel.de
on Monday 24 August 2009 09:00
wrote in comp.lang.python:
Daniel Molina Wegener wrote:
unicode objects are encoded into the
encoding that the XML document encoding has, and as you say, the whole
XML document
In article
e5e2ec2e-2b4a-4ca8-8c0f-109e5f4eb...@v23g2000pro.googlegroups.com,
7stud bbxx789_0...@yahoo.com wrote:
On Aug 24, 2:41 pm, Martin v. Löwis mar...@v.loewis.de wrote:
I can't figure out a way to programatically set the encoding for
sys.stdout. So where does that leave me?
On Aug 24, 8:01 pm, Paul Rubin http://phr...@nospam.invalid wrote:
samwyse samw...@gmail.com writes:
My big question is, what's the
best way to display the photos. I've used PIL in the past, but IIRC
it uses an external program. Pygame is the next obvious choice, but
like PIL it
On Aug 24, 1:30 pm, JKPeck jkp...@gmail.com wrote:
I'm trying to get the csv module (Python 2.6) to write data
records like Excel. The excel dialect isn't doing it. The
problem is in writing None values. I want them to result
in just sequential commas - ,, but csv treats None specially,
as
devaru ajoys...@gmail.com wrote:
I am new to Python language. I want to capture(either in database or a
file) the conversation in IRC.
Please suggest me some simple IRC library or code snippet for this.
I recommend the circuits[1] library, which contains a sample irc bot
[2]. You'll want to
On Aug 24, 5:00 pm, Peter Otten __pete...@web.de wrote:
If I understand you correctly the csv.writer already does
what you want:
w.writerow([1,None,2])
1,,2
just sequential commas, but that is the special treatment.
Without it the None value would be converted to a string
and the line
You can also at gevent
http://pypi.python.org/pypi/gevent
On Aug 23, 10:02 pm, Phillip B Oldham phillip.old...@gmail.com
wrote:
I've been taking a look at the multitude of coroutine libraries
available for Python, but from the looks of the projects they all seem
to be rather quiet. I'd like
John Gordon wrote:
I'm developing a program that will use web services, which I have never
used before.
There are several tutorials out there that advise you to get the WSDL
and then call a method (such as wsdl2py) that inspects the wsdl and
automagically generates the python classes and
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, except lobbying for wxFormBuilder for anyone who still
doesn't know of it. :)
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 24, 8:21�pm, Mel mwil...@the-wire.com wrote:
Mensanator wrote:
[ ... ]
If you want your data file to have values entered in hex, or oct, or even
unary (1=one, 11=two, 111=three, =four...) you can.
Unary? I think you'll find that Standard Positional Number
Systems are not
Daniel Molina Wegener wrote:
Stefan Behnel stefan...@behnel.de wrote:
Daniel Molina Wegener wrote:
When the object is restored, by using pyxser.unserialize:
pyobj = pyxser.unserialize(obj = xmldocstr, enc = utf-8)
But this is XML, right? What do you need to pass the encoding for at this
Stefan Behnel wrote:
for all byte
strings, regardless of their encoding (since you can't even know if they
represent encoded text at all).
Hmm, having written that, I guess it's actually best to encode byte strings
as base64 instead. Otherwise, null bytes and other special byte values
won't
Joe us3...@web.de added the comment:
Because, I don't need/want an installation. I only need the files whith
its directory structure.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6767
New submission from steve21 steve872929...@yahoo.com.au:
The documentation and implementation disagree.
Documentation:
Module curses.wrapper
Convenience function to ensure proper terminal setup and resetting
on application entry and exit.
...
15.10. curses.wrapper — Terminal handler for
New submission from Mintaka mint...@post.cz:
On page
http://docs.python.org/dev/3.0/library/codecs.html#standard-encodings
(and on the pages for older versions too)
in the table with review, is missing higly used alias utf-8
On that row is only:
Codec Aliases Languages
utf_8 U8,
Marc-Andre Lemburg m...@egenix.com added the comment:
From the quoted page:
Notice that spelling alternatives that only differ in case or use a
hyphen instead of an underscore are also valid aliases.
--
nosy: +lemburg
resolution: - invalid
status: open - closed
Mintaka mint...@post.cz added the comment:
True, but this one is much more used then others. So frequently, that
look like other names are aliases. Maybe it is good reason to mention it
explicitly.
--
___
Python tracker rep...@bugs.python.org
Nicolas Dumazet nicd...@gmail.com added the comment:
I'm including a patch which replaces send by sendall in the examples in
both socket and socketserver.
--
keywords: +patch
nosy: +nicdumz
Added file: http://bugs.python.org/file14776/socket.patch
Martin v. Löwis mar...@v.loewis.de added the comment:
Ah, for that, run msiexec /a pythonXY.msi TARGETDIR=K:\. This just
unpacks the MSI file, without installing anything. See
http://www.python.org/download/releases/2.4/msi/
--
___
Python tracker
Colin Alston colin.als...@gmail.com added the comment:
I also hit upon this issue and IMHO returning False in a permission
denied scenario is less than obvious behaviour.
It also means I have no way to catch this edge case in my own code
immediately, I have to implement far larger logic to
New submission from Piotr Foltyn piotr.fol...@displaylink.com:
The sample code presented below produces error (screenshot available in
attachment) on Windows 7 RC x64 with latest version of Python 2.6
installed. Both 32bit and 64bit versions of Python 2.6 are affected by
this issue. Python 3
Martin v. Löwis mar...@v.loewis.de added the comment:
Kristjan, can you take a look?
--
assignee: - krisvale
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6769
___
New submission from Nicolas Dumazet nicd...@gmail.com:
I had a bad time understanding what happens in Mac OS X after a shutdown
call: after calling shutdown(SH_WR) on side A, a corresponding
shutdown(SH_RD) on side B would raise a socket.error: socket is not
connected.
It is quite surprising
New submission from Nicolas Dumazet nicd...@gmail.com:
README shows http://www.python.org/community/lists.html as an URL for
mailing list details, but it should be
http://www.python.org/community/lists/
Attaching a patch.
--
assignee: georg.brandl
components: Documentation
files:
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Gregory, please revert your change (74463).
There is no extra data after the response, since such data can only
be generated as a result of a new request.
Your change has disabled the HTTP/1.1 keepalive capability, causing
test
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Thanks, that's a silly bug. fixed in revision 74543.
Perhaps we need a https regression test in the test suite.
--
___
Python tracker rep...@bugs.python.org
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Any news on this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6499
___
___
Vlastimil Brom vlastimil.b...@gmail.com added the comment:
I'd like to add some detail to the previous msg91473
The current behaviour of the character properties looks a bit
surprising sometimes:
regex.findall(ur\p{UppercaseLetter}, uQW\p{UppercaseLetter}as)
[u'Q', u'W', u'U', u'L']
Mark Dickinson dicki...@gmail.com added the comment:
If Python functions are inconsistent then I think they should either
be
made consistent, or if that's not possible they should be clearly
documented as being inconsistent.
I think 'inconsistent' is a bit strong for what happens here. In
Tim Peters tim.pet...@gmail.com added the comment:
I wasn't keen to add the 2-argument log() extension either. However, I
bet it would help if the docs for that were changed to explain that
log(x, base) is just a convenient shorthand for computing
log(x)/log(base), and therefore may be a little
Stephen Fairchild signupaddr...@bethere.co.uk added the comment:
On further reading it seems my objections only apply to new style classes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6761
R. David Murray rdmur...@bitdance.com added the comment:
FYI, all special methods are (now) looked up on the type for new style
classes. Your suggested rewrite makes things more confusing, IMO
(partly because to make it accurate it would need to be something like
type(x).__call__(x, *args,
R. David Murray rdmur...@bitdance.com added the comment:
For some reason the 3.2 docs don't contain the sentence you reference,
but they do have the same mistake in section 3.4.4. Which is even more
of a mistake in 3.x, since there are only new style classes there.
--
versions: +Python
New submission from Nicolas Dumazet nicd...@gmail.com:
test_distutils, test_zipfile, test_gzip and test_zimport are not
completely safe when zlib module is not available.
I've uploaded a patch on Rietveld which solves the issue here:
http://codereview.appspot.com/111041
Those are my first steps
101 - 200 of 226 matches
Mail list logo