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 -
62 matches
Mail list logo