Alf P. Steinbach wrote:
[...]
Of course most anyone else who'd hold the
rational opinion would not join the battlefield, because it clearly
wasn't and isn't about convincing or educating anyone, but I feel that
follow-ups to my articles should be answered.
In other words, you must have the
Alf P. Steinbach wrote:
* Steven D'Aprano:
On Fri, 12 Feb 2010 21:26:24 +0100, Alf P. Steinbach wrote:
Yes, I do count this as a personal attack and flaming.
The litmus test for that is that it says something very negative about
the person you're debating with.
As negative as accusing
Antoine Pitrou wrote:
It's just that assignment (=) means a different thing in Python than in
non-object languages (or fake-object languages such as C++ or PHP): it
rebinds instead of mutating in-place. If it mutated, you wouldn't have
the AssertionError.
It doesn't really have anything to
On Feb 12, 2010, at 7:21 PM, Echavarria Gregory, Maria Angelica wrote:
Dear group:
I am developing a program using Python 2.5.4 in windows 32 OS. The amount of
data it works with is huge. I have managed to keep memory footprint low, but
have found that, independent of the physical RAM of
Echavarria Gregory, Maria Angelica wrote:
Dear group:
I am developing a program using Python 2.5.4 in windows 32 OS. The amount of
data it works with is huge. I have managed to keep memory footprint low, but
have found that, independent of the physical RAM of the machine, python always
gives
Hola!
En Fri, 12 Feb 2010 14:34:33 -0300, Juan Carlos Rodriguez
jcqueved...@gmail.com escribió:
ImportError: No module named mptest
Hay una lista en castellano sobre Python:
http://python.org.ar/pyar/ListaDeCorreo
--
Gabriel Genellina
--
In article 4b743340$0$20738$426a7...@news.free.fr,
Bruno Desthuilliers bruno.42.desthuilli...@websiteburo.invalid wrote:
Ever read worst is better ?-)
Nope -- maybe you mean worse is better?
http://www.jwz.org/doc/worse-is-better.html
(Nitpicking because you need the correct term to search.)
On Fri, Feb 12, 2010 at 7:21 PM, Echavarria Gregory, Maria Angelica
m.echavarriagreg...@umiami.edu wrote:
Dear group:
I am developing a program using Python 2.5.4 in windows 32 OS. The amount of
data it works with is huge. I have managed to keep memory footprint low, but
have found that,
* Mark Lawrence:
Alf P. Steinbach wrote:
An extremely long thread dedicated to the notion that there are no
references in Python (which is blatantly false), coupled with personal
attacks on the one person arguing that there are. I could easily think
that you were having me on. Of course
In article gacdndfhymhxgu3wnz2dnuvz_q1i4...@wavecable.com,
jfabi...@yolo.com wrote:
Take a look at wxscheduler, and chandler.
You're joking about Chandler, right?
--
Aahz (a...@pythoncraft.com) * http://www.pythoncraft.com/
At Resolver we've found it useful to
En Fri, 12 Feb 2010 11:22:40 -0300, Aahz a...@pythoncraft.com escribió:
In article mailman.2422.1265961504.28905.python-l...@python.org,
Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
On 11 Feb 2010 21:18:26 -0800, a...@pythoncraft.com (Aahz) declaimed the
following in
Echavarria Gregory, Maria Angelica wrote:
Dear group:
I am developing a program using Python 2.5.4 in windows 32 OS. The amount of
data it works with is huge. I have managed to keep memory footprint low, but
have found that, independent of the physical RAM of the machine, python
always
En Fri, 12 Feb 2010 04:29:12 -0300, Arnaud Delobelle
arno...@googlemail.com escribió:
I posted an example of a decorator that does just this in this thread a
couple of days ago:
http://mail.python.org/pipermail/python-list/2010-February/1235742.html
Ouch! I didn't see your post, nor
En Fri, 12 Feb 2010 16:12:37 -0300, joao abrantes
senhor.abran...@gmail.com escribió:
noone knows if it's possible? i really need this..
On Thu, Feb 4, 2010 at 10:57 PM, joao abrantes
senhor.abran...@gmail.comwrote:
Hello everyone. For example i am using a screen resolution of 800x600
Hi all,
I am trying to get the some configuration file read in by Python, however,
after the read command it return a list with the filename that I passed in.
what is going on?
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type help, copyright,
read() does not return the config object
import ConfigParser
config = ConfigParser.SafeConfigParser()
config.read('S3Files.conf')
['S3Files.conf']
config.sections()
['main']
config.get('main', 'taskName')
'FileConfigDriver'
Regards,
Rolando Espinoza La fuente
www.rolandoespinoza.info
On
This entire thread has imploded like a neutron star into an infantile
debate that only Caddie Couric, Bill O Reilly, and everyone on PMS-NBC
can hold a candle to! The only post i enjoyed was Steve Howes!
From my unique perspective of not really knowing (or for that matter)
really caring about any
I'm trying to run two servers in the same program at once. Here are
the two:
class TftpServJ(Thread):
def __init__(self, ip, root, port=69, debug = False ):
Thread.__init__(self)
setup stuff here
def run(self):
try:
self.server.listen(self.ip,
dont call the .run() method, call the .start() method which is defined the
Thread class (and should NOT be overridden).
tftpserv.start()
xmlserv.start()
On Fri, Feb 12, 2010 at 10:57 PM, Jordan Apgar twistedphr...@gmail.comwrote:
I'm trying to run two servers in the same program at once.
* Jordan Apgar:
I'm trying to run two servers in the same program at once. Here are
the two:
class TftpServJ(Thread):
def __init__(self, ip, root, port=69, debug = False ):
Thread.__init__(self)
setup stuff here
def run(self):
try:
kj wrote:
=A0 x =3D '%s' % y
=A0 x =3D '%s' % z
=A0 print y
=A0 print z
=A0 print y, z
Bear in mind that most Python implementations assume the console
only handles ASCII. So print output is converted to ASCII, which
can fail. (Actually, all modern Windows and Linux systems support
On Feb 12, 6:41 pm, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Fri, 12 Feb 2010 10:41:40 -0300, Eknath Venkataramani
eknath.i...@gmail.com escribió:
I am trying to write a parser in pyparsing.
Help Me.http://paste.pocoo.org/show/177078/is the code and this is
input
kj wrote:
Some people have mathphobia. I'm developing a wicked case of
Unicodephobia.
I have read a *ton* of stuff on Unicode. It doesn't even seem all
that hard. Or so I think. Then I start writing code, and WHAM:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0:
On Feb 11, 4:10 am, Tim Golden m...@timgolden.me.uk wrote:
On 10/02/2010 22:55, T wrote:
Great suggestions once again - I did verify that it was at least
running the plink.exe binary when under LocalSystem by having the
service run plink.exe C:\plinkoutput.txt - this worked fine. And,
On Feb 11, 8:21 am, Martin P. Hellwig martin.hell...@dcuktec.org
wrote:
On 02/07/10 19:02, T wrote:
I have a script, which runs as a Windows service under the LocalSystem
account, that I wish to have execute some commands. Specifically, the
program will call plink.exe to create a reverse
On Fri, 12 Feb 2010 19:21:22 -0500, Echavarria Gregory, Maria Angelica
wrote:
I am developing a program using Python 2.5.4 in windows 32 OS. The amount
of data it works with is huge. I have managed to keep memory footprint
low, but have found that, independent of the physical RAM of the
I would really appreciate some help with this. I'm fairly new to
using classes...What am I doing wrong? All I get is a blank window. I
can't seem to figure out how to initialize this Progress Bar.
Thanks,
Jonathan
##file Meter.py
from Tkinter
* J Wolfe:
I would really appreciate some help with this. I'm fairly new to
using classes...What am I doing wrong? All I get is a blank window. I
can't seem to figure out how to initialize this Progress Bar.
Thanks,
Jonathan
##file Meter.py
Changes by Oren Held o...@held.org.il:
--
nosy: +Oren_Held
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7902
___
___
Python-bugs-list mailing
Katrine Whiteson katrinewhite...@gmail.com added the comment:
Hi,
I am having a related issue installing Tkinter (which I need to install
matplotlib).
I am running Mac OS X 10.4.11, and just installed Python 2.6.4 .
After several other fights, one remaining battle for me to get matlotlib
Zsolt Cserna zsolt.cse...@morganstanley.com added the comment:
This issue doesn't seem to cause any problems in our production code, however I
haven't tested it.
Btw what is the status of the solaris support? According to wiki page it should
be supported by python, in real it seems it's not
Ned Deily n...@acm.org added the comment:
If you have installed Python 2.6.4 using the python.org OS X installer, it was
linked with Tk 8.4, and will not use Tk 8.5. OS X 10.4 has an old version of
Tk 8.4; your best bet is to install the most recent Tcl/Tk 8.4 from ActiveState
Tcl/Tk.
New submission from Matt Joiner anacro...@gmail.com:
When reading from the fileobj passed in it's constructor, zipfile.ZipExtFile
passes a long into fileobj.read(). This is not normally an issue, except in
io.BytesIO, for which the source is in C, and throws TypeError for
type(bufsize) !=
Eric Smith e...@trueblade.com added the comment:
I agree that backporting the various parts needed to get this working would be
risky and shouldn't be done.
As for Solaris sure, I'm not sure. You might ask on python-dev. I get the
impression that few (if any) core developers have access to a
Katrine Whiteson katrinewhite...@gmail.com added the comment:
Thanks very much for your helpful and quick reply!
I installed Tcl8.4 from activestate, and had the same version
conflict error when I did the Tkinter test in Python. So I
uninstalled both Tcl8.4 and Tcl8.5 (I did sudo
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This was fixed with issue7249 and will be available with 2.6.5
--
nosy: +amaury.forgeotdarc
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
My feeling from watching bug reports is that Solaris is no less well supported
than other non-linux, non-windows platforms. When you look at the number of
open Solaris bug reports, also consider the number of open bug reports over
all.
R. David Murray rdmur...@bitdance.com added the comment:
I think Mark is correct. RFC 3986 says:
When authority is present, the path must either be empty or begin with a slash
(/) character. When authority is not present, the path cannot begin with two
slash characters (//).
I think it
Changes by Andrew Chong sledg...@hotmail.com:
--
nosy: sledge76
severity: normal
status: open
title: list of list created by *
versions: Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7917
New submission from Andrew Chong sledg...@hotmail.com:
This shows unexpected behavior.
data2 = [[]] * 4
print data2
[[], [], [], []]
data2[0] += [(0,1)]
print data2
[[(0, 1)], [(0, 1)], [(0, 1)], [(0, 1)]]
I added a tuple to only 0th list, but it got added to all the lists in the
global
Andrew Chong sledg...@hotmail.com added the comment:
But this works fine.
data = []
data += [[]]
data += [[]]
data += [[]]
data += [[]]
print data
[[], [], [], []]
data[0] += [(0,1)]
print data
[[(0, 1)], [], [], []]
--
___
Python
Florent Xicluna la...@yahoo.fr added the comment:
It is by design.
Please read the documentation:
http://docs.python.org/library/stdtypes.html#sequence-types-str-unicode-list-tuple-buffer-xrange
--
nosy: +flox
resolution: - invalid
___
Python
Changes by Florent Xicluna la...@yahoo.fr:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7917
___
___
Python-bugs-list
Florent Xicluna la...@yahoo.fr added the comment:
Fixed on trunk with r78136.
Before closing this issue, we may apply additional cleanup on regrtest:
- the sys.path hack is not needed anymore (no risk of relative imports)
- the hack for sys.argv[0] could be removed too, and use __file__
Changes by Florent Xicluna la...@yahoo.fr:
Removed file:
http://bugs.python.org/file16218/issue7712_regrtest_remove_hacks.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7712
___
Changes by Florent Xicluna la...@yahoo.fr:
Added file: http://bugs.python.org/file16219/issue7712_regrtest_rm_hacks.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7712
___
Stefan Krah stefan-use...@bytereef.org added the comment:
I can reproduce it almost always under these conditions:
System: Ubuntu Intrepid 64-bit, running on the actual hardware.
CPU: Core 2 Duo.
Load: At least one core maxed out by another process.
On an empty machine I haven't reproduced it
Antoine Pitrou pit...@free.fr added the comment:
Indeed, I forgot to mention that the Debian Lenny install I reproduce the bug
on is a single core (virtual) machine.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7805
Ronald Oussoren ronaldousso...@mac.com added the comment:
Katherine: how did you install Python, did you use the installer on the
python.org website or some other installer (or even by building from source)?
--
___
Python tracker
New submission from Oliver Jeeves ojee...@gmail.com:
When trying to build a python package for distribution, compile errors are
always ignored. The setup function will return successfully even if it was
unable to compile some modules due to, for example, indentation errors.
The specific
Shashwat Anand anand.shash...@gmail.com added the comment:
I don't see any issue here, runs perfectly fine on Mac OS X (Snow Leopard)
Shashwat-Anands-MacBook-Pro:test l0nwlf$ pwd
/Users/l0nwlf/python-svn/Lib/test
Shashwat-Anands-MacBook-Pro:test l0nwlf$ python2.7 test_posix.py
Shashwat Anand anand.shash...@gmail.com added the comment:
Seems fine to me, does not raise any errors. My OS is OS X Snow Leopard. I
checked it in python 2.5, 2.6, 2.7 too, no issues raised.
Shashwat-Anands-MacBook-Pro:test l0nwlf$ python2.6
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
Senthil Kumaran orsent...@gmail.com added the comment:
From the bug report, it look likes its specific to windows, not OS X.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7909
Senthil Kumaran orsent...@gmail.com added the comment:
What is the (Apple Inc. build 5646) (dot 1) vs normal (Apple Inc. build 5646). ?
While, ronald.oussoren did make a lot some changes recently (r78149 to
r78152).This fix could have been a side-effect of one of it, thought I could
not find
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
nul is a special dos device
_getfullpathname() correctly returns \\.\nul, but normpath() then simplifies it
to \\nul
I suggest that normpath() be changed to consider \\.\ as a special prefix, and
keep it intact when it appears at the
Michael Foord mich...@voidspace.org.uk added the comment:
I still see it on trunk (revision 78165). No idea what the (dot 1) means.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7900
___
Ned Deily n...@acm.org added the comment:
Ah, earlier you said you installed Python 2.6.4 but, in your most recent
message, it shows:
katrinewhiteson$ python
Python 2.6 (trunk:66714:66715M, Oct 1 2008, 18:36:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
I'm not sure what that
New submission from ricitron ricit...@mac.com:
I would like to be able to read in data that uses scientific notation with a D
instead of an E. This is possible on windows and other builds, but not on Mac
OSX.
example:
float('1.23D+04')
Traceback (most recent call last):
File stdin, line 1,
Eric Smith e...@trueblade.com added the comment:
str-float conversions have been reworked in 2.7 and 3.1. The 'D' exponent will
not on any platform starting with those versions.
So, this would be a non-platform specific feature request.
--
assignee: ronaldoussoren -
components:
Eric Smith e...@trueblade.com added the comment:
That was supposed to say:
The 'D' exponent will not work on any platform starting with those versions.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7919
Mark Dickinson dicki...@gmail.com added the comment:
Out of curiosity, where are your data coming from?
For Python, this seems like a needless complication. It should be simple
enough to replace the 'D's with 'E's prior to passing the strings to float.
I notice that some varieties of Lisp
ricitron ricit...@mac.com added the comment:
I am running python 2.5.4. While it works on linux and windows, it does not
work on mac.
Fortran doubles are output using the D notation. If I am importing a large
amount of data, I would rather not do a search and replace every time before
Stefan Krah stefan-use...@bytereef.org added the comment:
Confirm that 2.5 is the only troublesome version, but also when compiled from
source (Ubuntu 64-bit, 2.5.5).
--
nosy: +skrah
versions: +Python 2.5 -Python 2.6
___
Python tracker
Mark Dickinson dicki...@gmail.com added the comment:
Sorry, I'm -1 on this: outside Fortran, using 'E' for the exponent marker
seems to be near universal. It just doesn't seem worth adding the extra
complication to the Python code, or going through all the various places that
expect an 'e'
Mark Dickinson dicki...@gmail.com added the comment:
I would rather not do a search and replace every time before reading in the
data.
There's no need to do a search and replace *before* reading the data: read the
data first, then have Python do the replace for you before passing each
Eric Smith e...@trueblade.com added the comment:
Unless and until we implement 'd' exponents, we should add a test to make sure
they don't work. That they ever worked on any platform was a surprise.
--
Eric.
--
title: reading scientific notation using d instead of e on max osx -
mARK python.mblo...@xoxy.net added the comment:
The case which prompted this issue was a purely private set of URLs, sent to me
by a client but never sent to Amazon or anywhere else outside our systems
(though I'm sure many others have invented this particular scheme for their own
use). It
Changes by mARK python.mblo...@xoxy.net:
--
components: +Library (Lib) -Extension Modules
versions: +Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7904
___
Mark Dickinson dicki...@gmail.com added the comment:
Done in r78166 (trunk), r78167 (py3k).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7919
___
New submission from Andres Riancho andresrian...@users.sourceforge.net:
Buggy code:
if 'location' in headers:
newurl = headers.getheaders('location')[0]
elif 'uri' in headers:
newurl = headers.getheaders('uri')[0]
else:
return
New submission from Ville Skyttä ville.sky...@iki.fi:
http://docs.python.org/dev/library/sqlite3.html#sqlite3.Connection.executemany
The executemany() link in ... then calls the cursor’s executemany() method
... points to Connection.executemany (itself), it should point to
Cursor.executemany
Shashwat Anand anand.shash...@gmail.com added the comment:
In Python 2.7a3+, trunk:78165 the code is as follows: (note that there is a
segment of code to fix malformed URLs)
if 'location' in headers:
newurl = headers.getheaders('location')[0]
elif 'uri' in headers:
Ezio Melotti ezio.melo...@gmail.com added the comment:
I'm not sure it's safe to remove those hacks, they might be necessary in some
corner case.
I'll also port this to py3k before closing the issue.
--
___
Python tracker rep...@bugs.python.org
Meador Inge mead...@gmail.com added the comment:
Is anyone working on implementing these new struct modifiers? If not, then I
would love to take a shot at it.
--
nosy: +minge
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
2010/2/12 Meador Inge rep...@bugs.python.org:
Meador Inge mead...@gmail.com added the comment:
Is anyone working on implementing these new struct modifiers? If not, then I
would love to take a shot at it.
Not to my knowledge.
New submission from mike bayer mike...@zzzcomputing.com:
given the following Python 2 source file:
# -*- encoding: utf-8
print 'bien mangé'
It can be converted to Python 3 using 2's 2to3 tool:
classic$ 2to3 test.py
... omitted ...
--- test.py (original)
+++ test.py
Benjamin Peterson benja...@python.org added the comment:
Please try 2to3 from 2.7a3 or the 2to3 trunk.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7922
___
Benjamin Peterson benja...@python.org added the comment:
Sorry, I meant from the py3k branch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7922
___
mike bayer mike...@zzzcomputing.com added the comment:
yes, its handled:
WARNING: couldn't encode test.py's diff for your terminal
is that fix specific to 2to3 or is that just how print works in 3.2 ?
--
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
2010/2/12 mike bayer rep...@bugs.python.org:
mike bayer mike...@zzzcomputing.com added the comment:
yes, its handled:
WARNING: couldn't encode test.py's diff for your terminal
is that fix specific to 2to3 or is that just how print
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7922
___
Benjamin Peterson benja...@python.org added the comment:
You can just use the --no-diffs option, btw, to avoid this problem on earlier
versions.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7922
Shashwat Anand anand.shash...@gmail.com added the comment:
It seems they are basically the same thing, the version of GCC and the build of
OS X(latest in the case here). Was not able to figure out the (dot 1) stuff
though.
--
nosy: -loewis, michael.foord, orsenthil, ronaldoussoren
Eric Smith e...@trueblade.com added the comment:
I'm -1 on this, too. Closing.
--
resolution: - rejected
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7919
Senthil Kumaran orsent...@gmail.com added the comment:
please not remove the nosy list. ( I guess, you did it by accident).
let's wait for ronald's response.
--
nosy: +loewis, michael.foord, orsenthil, ronaldoussoren
___
Python tracker
Shashwat Anand anand.shash...@gmail.com added the comment:
Thanks for correcting it back. I did not even realized it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7900
___
Brian Curtin cur...@acm.org added the comment:
Here's a patch which corrects executemany, along with execute and
executescript. An explicit title is used, with a reference to the underlying
Cursor methods.
--
keywords: +needs review, patch
nosy: +brian.curtin
priority: - low
stage:
Changes by Shashwat Anand anand.shash...@gmail.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7920
___
___
Travis Oliphant oliph...@enthought.com added the comment:
On Feb 12, 2010, at 7:29 PM, Meador Inge wrote:
Meador Inge mead...@gmail.com added the comment:
Is anyone working on implementing these new struct modifiers? If
not, then I would love to take a shot at it.
That would be great.
Shashwat Anand anand.shash...@gmail.com added the comment:
5646 and 5646.1 are the builds of GCC by Apple. The various builds of gcc are
present on http://www.opensource.apple.com/source/gcc/
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin -
101 - 190 of 190 matches
Mail list logo