Roger Serwy roger.se...@gmail.com added the comment:
+1
The proposed patch works as described.
I do agree with Marco that IDLE does need some more QA.
--
nosy: +serwy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13506
Thorsten Simons t...@snomis.de added the comment:
Gentlemen,
thank you for your contribution - the information about the Samba fix solved
the problem!
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Petri Lehtinen pe...@digip.org:
--
resolution: works for me - invalid
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13471
___
Ned Deily n...@acm.org added the comment:
#10364 covers point 7 (make .py default added extension on save)
--
dependencies: +IDLE: make .py default added extension on save
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
New submission from Ned Deily n...@acm.org:
Since AFAIK Apple does not currently ship a version of liblzma with Mac OS X,
the OS X installer build script should be modified to build and link a version
in support of the new lzma module (Issue6715).
Mac/BuildScript/build-installer.py
Ned Deily n...@acm.org added the comment:
I've opened Issue13507 to track adding liblzma to the OS X installer builds.
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13097
___
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Right, alloca() could be replaced by some malloc(), but is it really useful?
After all, when a C function calls back to Python, all arguments needs to be
pushed to the stack anyway.
--
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9116
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Just to clarify, no decision has yet been made on *whether*
the cdecimal work should be integrated into py3k;
we'll consult python-dev on this once we've got a working branch
and performance information.
So, what is the status
python_hu nari...@163.com added the comment:
Thank Amaury,you are right.
So python2.7 share library compile finished,and python2.7 works,and then
I write a test program,to test libpython2.7.so share library,but it dumped!
code:
---
#include stdio.h^M
#include Python.h^M
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berkerpeksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13504
___
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
dlopen(/usr/local/lib/python2.6/lib-dynload/time.so, 2);
You are trying to open a .so from another Python installation.
It won't work: it is certainly linked to another Python VM, which is not
initialized.
--
Mark Dickinson dicki...@gmail.com added the comment:
Does Python really need yet another multiprecision library?
It's not really another library: it's a reimplementation of the existing
decimal library in C. The decimal library is *hugely* valuable to the
financial world, but its slowness
Changes by Sébastien Sablé sa...@users.sourceforge.net:
--
nosy: +sable
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11732
___
___
Per Øyvind Karlsen peroyv...@mandriva.org added the comment:
Ah, I thought that he had reused most of the original C code in _lzmamodule.c
not replaced by python code, but I see that not being the case now (only slight
fragments;).
Oh well, I thought that I'd still earned a note with some
Changes by Sébastien Sablé sa...@users.sourceforge.net:
--
nosy: +sable
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7833
___
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Oh well, I thought that I'd still earned a note with some slight credit
at least
I completely agree. Sometimes people get credit for simple bug fixes (count me
among them) so the author of the first working implementation deserves
Roger Serwy roger.se...@gmail.com added the comment:
#2704 covers point 1 (In the shell window, if you click anywhere but on the
current line and move the cursor there, the window stops handling key strokes.)
#3851 covers point 1.1) Pressing the Home key moves the cursor before the
prompt,
New submission from Loïc Minier l...@dooz.org:
Hi,
This bug was originally reported at
https://bugs.launchpad.net/bugs/898172
ctypes/utils.py provides a find_library function which amongst other things
will scan the ldconfig -p output on linux to find libraries by name. It
applies some
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13508
___
___
Changes by Loïc Minier l...@dooz.org:
--
keywords: +patch
Added file: http://bugs.python.org/file23817/ctypes-arm.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13508
___
Loïc Minier l...@dooz.org added the comment:
While I'm at it, find_library also tries creating temp files when running gcc
and other issues mention trouble running gcc or propose running ld:
http://bugs.python.org/issue9998
http://bugs.python.org/issue5289
IMHO, calling binutils/gcc is
Éric Araujo mer...@netwok.org added the comment:
Nadeem: Instead of duplicating the list of archiving/compression modules in
each doc, what about only linking to the shutil doc for archives and the
archiving.rst file? (I can make the patch, just wanted feedback first)
--
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Not meaning to sound petty, but wouldn't it be common etiquette to
retain some original copyright notice from original code intact..?
It seemed to me that Nadeem had rewritten everything from scratch. Is
there any code of yours in the
Éric Araujo mer...@netwok.org added the comment:
distutils2/packaging now just uses the shutil functions. I’ll make a patch for
shutil after tarfile is updated.
--
assignee: tarek - eric.araujo
components: +Library (Lib) -Distutils2
title: add xz compression support to distutils - add
Éric Araujo mer...@netwok.org added the comment:
Python now has an lzma module. Lars, do you have the time to update your patch
or should I do it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5689
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Instead of duplicating the list of archiving/compression modules in
each doc, what about only linking to the shutil doc for archives and
the archiving.rst file?
Sure, go ahead. I actually hadn't realized that each section of the
library
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5411
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Thanks. Here’s another take: I think the wording is better, but it’s longer.
I removed the reference to sys.stdin, which you don’t print to: I haven’t
checked if the doc for the input function should talk about the encoding too.
--
Brian Curtin br...@python.org added the comment:
Again, rather than work off of the default branch and duplicate effort, can you
work off of the vs2010 branch on http://hg.python.org/sandbox/vs2010port/?
--
___
Python tracker rep...@bugs.python.org
Sébastien Sablé sa...@users.sourceforge.net added the comment:
I have started working on python default branch.
My patch queue is available here:
https://bitbucket.org/sablefr/py3kvs2010/
The result is the following so far:
323 tests OK.
8 tests failed:
test_distutils test_fileio
Darren Dale dsdal...@gmail.com added the comment:
Here is a new patch addressing comments raised in review. It supersedes
previous patch submissions.
--
Added file: http://bugs.python.org/file23819/abc_descriptor.patch
___
Python tracker
Ben Wolfson wolf...@gmail.com added the comment:
All three patches look different to me.
Yeah, I verified that later; I'm not sure what made me think otherwise except
that I eyeballed them sloppily. (It's still true that they'd need to target a
different file for 3.3 now.)
--
Éric Araujo mer...@netwok.org added the comment:
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -400,6 +400,7 @@
---
- Issue #6715: Add a module 'lzma' for compression using the LZMA
algorithm.
+ Thanks to Per Øyvind Karlsen for the initial implementation.
The entry in
Stefan Krah stefan-use...@bytereef.org added the comment:
Binary versus decimal
-
There is already gmpy and bigfloat, based on the heavily optimized GMP
library,
for example. Is it a license issue? Can't we reuse GMP/MPFR to offer a
Decimal API?
_decimal is a PEP-399
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
what about a mention in lzmamodule.c?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Éric Araujo mer...@netwok.org added the comment:
I actually hadn't realized that each section of the library docs had a
sub-index page like that
That’s multiple-entry navigation :) You can jump to a module page, or use the
index, or use the search, or browse and see the sub-indexes.
As the
New submission from Jason Roberts jason.robe...@duke.edu:
Historically (i.e. Python 2.6.1 and earlier) bdist_wininst would run the post
install script at both installation and uninstallation. The script would be
invoked with a -install argument on installation and a -remove argument on
Changes by Brian Curtin br...@python.org:
--
components: +Windows
nosy: +brian.curtin
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13509
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +brian.curtin, jasonjroberts
stage: - test needed
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13276
Éric Araujo mer...@netwok.org added the comment:
Thanks for the diagnosis. Please contribute to the existing bug report.
--
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - distutils bdist_wininst created installer does not run the
Jason Roberts jason.robe...@duke.edu added the comment:
Sorry, I opened issue13509 after somehow not finding this one. Here is my text
from issue13509. Thanks for looking at this problem...
Historically (i.e. Python 2.6.1 and earlier) bdist_wininst would run the post
install script at both
Antoine Pitrou pit...@free.fr added the comment:
The entry in Misc/ACKS, Doc/whatsnew/3.3.rst and the commit message
should be enough. Lately I’ve noticed some attributions in NEWS, but
it’s usually not done (as redundant).
I generally add attributions in NEWS since that's where most people
Éric Araujo mer...@netwok.org added the comment:
(2.6 and 3.1 don’t get bug fixes anymore.)
--
title: distutils bdist_wininst created installer does not run the
postinstallation script on uninstalling - bdist_wininst-created installer does
not run the postinstallation script when
Stefan Krah stefan-use...@bytereef.org added the comment:
Mark Dickinson rep...@bugs.python.org wrote:
The only problem from my perspective is getting someone to find time to
review such a massive patch. I've been wondering whether we could get away
with some kind of 'statistical' review:
Antoine Pitrou pit...@free.fr added the comment:
If I'm interpreting this
http://mail.python.org/pipermail/python-dev/2011-August/113240.html
dialogue correctly, a complete audit down to the last line isn't
always necessary.
It is also helped by the fact you are a core developer and we
New submission from Peter Otten __pete...@web.de:
I've been looking at code on the tutor mailing list for some time, and
for line in file.readlines(): ...
is a common idiom there. I suppose this is because the readlines() method is
easily discoverable while the proper way (iterate over the
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eric.araujo, ezio.melotti
stage: - needs patch
versions: +Python 2.7, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13510
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
We've been wanting this for a long time.
Strong +1 from me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7652
___
New submission from Ray rpq...@hotmail.com:
For ./configure, --includedir and --libdir both cannot handle multiple
packages.
e.g.
/configure --includedir=/home/user/.local/sqlite3-3.7.9/include
--includedir=/home/user/.local/readline-6.2/include
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I can help with the review. Is http://bugs.python.org/review/7652/show a good
starting point? I already have some comments.
--
nosy: +amaury.forgeotdarc
___
Python tracker
Ray rpq...@hotmail.com added the comment:
I should mention, I had to modify setup.py in order for the export line in my
original post to work on my linux machine.
--
keywords: +patch
Added file: http://bugs.python.org/file23821/setup.py.diff
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2c05b8a6cdd1 by Antoine Pitrou in branch '3.2':
Issue #1040439: better document how to compile and link an embedded Python
interpreter.
http://hg.python.org/cpython/rev/2c05b8a6cdd1
New changeset 528abe272856 by
Ray rpq...@hotmail.com added the comment:
I think mentioning that you can export CFLAGS and LDFLAGS would be particularly
useful. I was able to compile some of the missing packages that were deemed
'missing' at the end of 'make' by updating setup.py and having CFLAGS and
LDFLAGS point to the
Antoine Pitrou pit...@free.fr added the comment:
I think mentioning that you can export CFLAGS and LDFLAGS would be
particularly useful. I was able to compile some of the missing
packages that were deemed 'missing' at the end of 'make' by updating
setup.py and having CFLAGS and LDFLAGS
Stefan Krah stefan-use...@bytereef.org added the comment:
Antoine Pitrou rep...@bugs.python.org wrote:
It is also helped by the fact you are a core developer and we trust you to
be here to do maintenance :)
Sure. The specification doesn't really change, so the work will hopefully
be limited.
Stefan Krah stefan-use...@bytereef.org added the comment:
Raymond Hettinger rep...@bugs.python.org wrote:
We've been wanting this for a long time.
Strong +1 from me.
Thank you, Raymond!
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
(Actually, that's a part of why decimal.py is slow---it's
using Python's *binary* integers to store *decimal* coefficients,
so that even simple addition is now a quadratic operation,
thanks to the binary - decimal conversions
Stefan Krah stefan-use...@bytereef.org added the comment:
Amaury Forgeot d'Arc rep...@bugs.python.org wrote:
I can help with the review. Is http://bugs.python.org/review/7652/show a
good starting point? I already have some comments.
Yes, that would be great. Apart from two or three changes
Changes by Stefan Krah stefan-use...@bytereef.org:
Added file: http://bugs.python.org/file23822/bba956250186.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7652
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Stefan Krah rep...@bugs.python.org wrote:
Yes, that would be great. Apart from two or three changes that I still
need to push patch set 4 is the latest version.
Hmm, no. I'll create a slightly newer patch from Oct. 1st.
--
Changes by Nebelhom nebel...@googlemail.com:
--
nosy: +Nebelhom
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13504
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
After a bit of testing, my idea was flawed, as str() doesn't accept an encoding
parameter in 2.x: `str(u'foo', 'latin1')` simply raises a TypeError.
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
This current line is
Read and return a list of lines from the stream. hint can be specified to
control the number of lines read: no more lines will be read if the total size
(in bytes/characters) of all lines so far exceeds hint.
I would like
Nick Coghlan ncogh...@gmail.com added the comment:
Something else such docs could cover is how to manage remote Hg repos such that
the Create Patch button does the right thing.
Basically, you need to make sure an appropriate CPython version is found in the
ancestors of the tip your working
Changes by Nebelhom nebel...@googlemail.com:
Added file: http://bugs.python.org/file23823/sqlite_code_update.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13491
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6cde416ef03b by Nadeem Vawda in branch 'default':
Credit Per Øyvind Karlsen for the initial implementation of the lzma module
(issue #6715).
http://hg.python.org/cpython/rev/6cde416ef03b
--
Nadeem Vawda nadeem.va...@gmail.com added the comment:
As the docs for zlib, gzip, bz2, lzma, zipfile and tarfile are in the
archiving subsection, there’s already a link to the subsection index,
so I just removed the “See also zlib, etc.” lines (except for the link
from zlib to gzip). I
New submission from Vincent Danen vda...@linsec.ca:
A bug was reported in python's distutils in that ~/.pypirc was created
insecurely by first creating and writing user/password information to the file,
then chmod'ing it to 0600.
Perhaps the file should be created (empty), chmod'd, and then
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10364
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
Gregory's patches to sanitize threading's lock should have fixed this
The subprocess hang still occurs something, it just happened:
Philip Jenvey pjen...@underboss.org added the comment:
Something along these lines (untested) should do it. 2.6 and 3.x need the fix
as well
--
keywords: +patch
nosy: +pjenvey
Added file: http://bugs.python.org/file23824/pypirc-secure.diff
___
Philip Jenvey pjen...@underboss.org added the comment:
It probably still needs to catch OSErrors which my patch doesn't do
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13512
___
Meador Inge mead...@gmail.com added the comment:
On Wed, Nov 30, 2011 at 6:20 AM, Amaury Forgeot d'Arc
rep...@bugs.python.org wrote:
Right, alloca() could be replaced by some malloc(), but is it really useful?
After all, when a C function calls back to Python, all arguments needs to be
Changes by Meador Inge mead...@gmail.com:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13097
___
___
Python-bugs-list
New submission from Meador Inge mead...@gmail.com:
The current IOBase documentation [1] reads:
IOBase (and its subclasses) support the iterator protocol, meaning that an
IOBase object can be iterated over yielding the lines in a stream. Lines are
defined slightly differently depending on
Meador Inge mead...@gmail.com added the comment:
I am skeptical that such a note will help. The iterator behavior is clearly
pointed out in the Python Tutorial [1] and in the IOBase documentation [2]. I
suspect this bad code pattern is just being copied and pasted from other
sources without
Ezio Melotti ezio.melo...@gmail.com added the comment:
FWIW I've seen several persons using for line in file.readlines(): ... or
even while 1: line = file.readline(). IMHO it's a good idea to document that
without sizehint, it's equivalent to list(file) and that for line in file:
... can be
Meador Inge mead...@gmail.com added the comment:
Ilya, I agree. Thanks for the test patch. These two patches look OK to me.
Georg OK with you?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13120
New submission from Paul Sladen pyt...@paul.sladen.org:
The Python Imaging Library does not support handling of UTF-8 'iTXt' key:value
chunks in PNG files:
http://www.w3.org/TR/PNG/#11iTXt
Such support is necessary for successful extraction of key:value pairs of UTF-8
encoded data, stored
Ezio Melotti ezio.melo...@gmail.com added the comment:
You should report this to the PIL bug tracker. PIL is not part of the Python
standard library.
--
nosy: +ezio.melotti
resolution: - invalid
stage: - committed/rejected
status: open - closed
Paul Sladen pyt...@paul.sladen.org added the comment:
Thank you Ezio. I could not see a separate bug tracker listed on:
http://www.pythonware.com/products/pil/
could you help me by providing a link to where it /should/ be filed correctly
for PIL itself.
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
You could try submitting your patch to the image-sig ML
(http://mail.python.org/mailman/listinfo/image-sig).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13514
New submission from Nick Coghlan ncogh...@gmail.com:
This issue proposes that we adopt and apply some standard practices when
documenting modules that have potential security implications and other
cross-cutting errors that may affect multiple interfaces within the module.
Accordingly, the
85 matches
Mail list logo