Sridhar Ratnakumar sridh...@activestate.com added the comment:
Thanks.
there is an install scheme in distutils that describes the exact layout
I figured that this is now exposed via the `sysconfig` module. There is also an
old install scheme in `distutils.command.install`, but it seems to be
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4753
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1777412
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1544339
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1659
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8406
___
___
Python-bugs-list
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2054
___
___
Python-bugs-list mailing list
Changes by Skip Montanaro s...@pobox.com:
--
assignee: skip.montanaro -
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5671
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1083
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4194
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1818
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4835
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue504152
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1759169
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8392
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2736
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4007
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
nosy: -skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1289118
___
___
Python-bugs-list
Changes by Skip Montanaro s...@pobox.com:
--
assignee: skip.montanaro -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1374063
___
___
Changes by Skip Montanaro s...@pobox.com:
--
assignee: skip.montanaro -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2623
___
___
Changes by Skip Montanaro s...@pobox.com:
--
assignee: skip.montanaro -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1659
___
___
Mark Dickinson dicki...@gmail.com added the comment:
One more reference:
http://msdn.microsoft.com/en-us/library/9dbwhz68(v=VS.80).aspx
gives essentially the same rules for MSVC. The alignment of the beginning of a
structure or a union is the maximum alignment of any individual member. Each
R. David Murray rdmur...@bitdance.com added the comment:
At some point I added test_roundtrip_quoteed_newlines to the csv unit tests,
and it passes both on trunk and py3k. I believe if there was a bug here it has
been fixed. I just backported the test to 2.6 in r81382, and it passes there
STINNER Victor victor.stin...@haypocalc.com added the comment:
Fix commited to py3k (r81364).
Ok, buildbots are happy: backported as r81383 in 3.1
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
Goplat mrnobo1...@yahoo.com added the comment:
Zipping up the Lib directory from the python source (1735 files) as a test, it
took on average 0.10 sec to read the zip before, 0.04 sec after.
(To test the time taken by zipimport isolated from other startup costs, instead
of actually getting
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
no, the input is not the same, there is ImportError: No module named site. I
have tree more questions:
- Do you have a file named: /sw_install/python-2.6.5/Lib/site.py
- what it the output when you type import sys; print sys.path
- is
STINNER Victor victor.stin...@haypocalc.com added the comment:
Ok, buildbots are happy: backported as r81383 in 3.1
My test doesn't work on Windows. We cannot delete a directory if it's the
current working directory: let's try r81384.
py3k commit is simpler because it uses support.test_cwd()
New submission from Terrence Cole terre...@zettabytestorage.com:
The documentation for symtable.SymbolTable
[http://docs.python.org/py3k/library/symtable.html] lists the function
has_import_start. This should be has_import_star, as listed in
help(symtable.SymbolTable).
I've attached a
New submission from Roman Gershman roma...@gmail.com:
The following code fails to parse the attached file:
#!/usr/bin/python3.1
if __name__ == '__main__':
f = open(c:\\1.txt, mode ='r', encoding='utf-8')
for line in f:
print (line)
--
components: Unicode
files: 1.txt
messages:
STINNER Victor victor.stin...@haypocalc.com added the comment:
$ hexdump -C 1.txt
ec 0d 0a |...|
0003
This file is *not* encoded to utf8.
--
nosy: +haypo
___
Python tracker
Giampaolo Rodola' g.rod...@gmail.com added the comment:
I like the approach of providing this feature as a single attribute instead of
two separate methods (set/get_options()).
For what it's worth, I took a look at the patch without actually trying it, and
it looks good overall, both tests and
Orlando Irrazabal oirr...@mendoza.gov.ar added the comment:
I answer your questions
- yes, i have a file named /sw_install/python-2.6.5/Lib/site.py
- the output for the commands import sys; print sys.path is:
['', '/sw_install/python-2.6.5/lib/python26.zip',
STINNER Victor victor.stin...@haypocalc.com added the comment:
I tested issue7384-5-py3k.patch on FreeBSD 8.0: it fixes the crash.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7384
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8760
___
___
Python-bugs-list mailing list
Benjamin Peterson benja...@python.org added the comment:
Thanks. Fixed in r81385.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8778
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +belopolsky, mark.dickinson
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1436346
___
Benjamin Peterson benja...@python.org added the comment:
The correct fix is to use tokenize.detect_encoding, if anyone wants to provide
a patch.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8774
STINNER Victor victor.stin...@haypocalc.com added the comment:
The correct fix is to use tokenize.detect_encoding,
if anyone wants to provide a patch.
done :-) Attached patch opens the file in binary mode to call
tokenize.detect_encoding() and then use the encoding to open the file a second
Benjamin Peterson benja...@python.org added the comment:
You should handle the case of encoding being None.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8774
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
assignee: - belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1436346
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8779
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
You should handle the case of encoding being None.
detect_encoding() never returns None for the encoding. If there is no cookie,
utf8 is returned by default.
--
___
Python tracker
Benjamin Peterson benja...@python.org added the comment:
2010/5/20 STINNER Victor rep...@bugs.python.org:
STINNER Victor victor.stin...@haypocalc.com added the comment:
You should handle the case of encoding being None.
detect_encoding() never returns None for the encoding. If there is no
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I think this should be rejected. The OP's premise was that t.timetuple()[7]
was unreadable, but in the modern python, the same can be written as
t.timetuple().tm_yday. The later is only slightly less readable than the
Antoine Pitrou pit...@free.fr added the comment:
I think this should be rejected. The OP's premise was that
t.timetuple()[7] was unreadable, but in the modern python, the same
can be written as t.timetuple().tm_yday.
Could I suggest such example be added to the documentation, though?
The
Jesús Cea Avión j...@jcea.es added the comment:
Ping...
We already missed the 2.7 boat. Any hope for 3.2?
--
assignee: - prescod
keywords: +needs review -patch
nosy: +prescod, skip.montanaro -Garen
priority: normal -
versions: +Python 3.2 -Python 2.7, Python 3.1
R. David Murray rdmur...@bitdance.com added the comment:
Holger, what do you think of this alternate patch that instead makes
getsourcefile smarter? It's a simpler patch and doesn't change the API, and
your tests (suitably modified) pass.
--
stage: - patch review
Added file:
R. David Murray rdmur...@bitdance.com added the comment:
The doc has been fixed; using lineterminator in reader has not been and is not
likely to be implemented (unless someone wants to come forward with a patch).
Processing files that use \r line endings does work; as indicated you use
Meador Inge mead...@gmail.com added the comment:
No problem! I have attached the updated patch.
I am starting on the 2.7 patch now.
--
Added file: http://bugs.python.org/file17424/issue-8748.2.patch
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
This is in fact a doc bug. The correct way to read a csv file in python3 is to
open it in text mode with newline=''. The docs have been updated to reflect
this.
--
nosy: +r.david.murray
resolution: - out of date
stage: needs
Changes by Brett Cannon br...@python.org:
Removed file: http://bugs.python.org/file16936/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2090
___
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8759
___
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: prescod -
keywords: +patch
nosy: +Garen -prescod, skip.montanaro
priority: - normal
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
Meador Inge mead...@gmail.com added the comment:
2.7 patch attached. The implementation is mostly the same as the 3.2 one, but
there is one quirk. Namely, 2.7 (and other 2.x's) has the following odd
behavior:
1j None
False
1j 1
Traceback (most recent call last):
File
101 - 157 of 157 matches
Mail list logo