Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +larry, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15295
___
___
Python-bugs-list
Nick Coghlan ncogh...@gmail.com added the comment:
From the import-sig discussions, this wasn't just about documenting PEP 420,
it was about finally bringing the full import system specification into the
language reference. (Now that it doesn't need to be loaded with caveats about
the old
New submission from Amaury Forgeot d'Arc amaur...@gmail.com:
On Windows, the _freeze_importlib tool is not built, so it's not possible to
refresh the file Python/importlib.h, which makes development on the importlib
very difficult on Windows.
The Makefile contains the rules below, it's
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
importlib.h is not rebuilt on Windows, see issue15431.
--
dependencies: +Cannot build importlib.h on Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14578
Christopher Dunn cdunn2...@gmail.com added the comment:
I agree. venv solves this problem and more.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5819
___
Richard Oudkerk shibt...@gmail.com added the comment:
In Python 2.x, when the file object returned by popen() is garbage collected
the process is automatically waited on, collecting the pid of the process.
In Python 3.x a wrapper object is used whose close method wait on the pid.
This close
Atsuo Ishimoto ishim...@gembook.org added the comment:
Error in test_move_dangling_symlink is fixed by #9949
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13837
___
New submission from Geir Ove Myhr gom...@gmail.com:
In the gzip documentation (http://docs.python.org/library/gzip.html) a note
should be added that the mtime option was added in Python 2.7.
The patch which adds the option
(http://svn.python.org/view?view=revisionrevision=68319) is not
Walter Dörwald wal...@livinglogic.de added the comment:
So is this simply a documentation issue, or can we close the bug as won't fix?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15408
Antoine Pitrou pit...@free.fr added the comment:
Indeed.
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7578
New submission from Reinis Ivanovs da...@untu.ms:
I set a positional argument and an optional argument that accepts a list:
parser = argparse.ArgumentParser()
parser.add_argument('foo')
parser.add_argument('-bar', nargs='*')
The usage line I get from --help is this:
$ example.py --help
New submission from Stefan Krah stefan-use...@bytereef.org:
Using b127046831e2, I'm experiencing an import problem during the NumPy build.
I've reduced it to this scenario, which works in 3.2 but not in 3.3.
Note that in NumPy's setup.py, the equivalent of /home/stefan/tmp is
the first entry
Stefan Krah stefan-use...@bytereef.org added the comment:
It looks like distutils/command from the stdlib is searched first
despite the fact that the first path entry is '/home/stefan/tmp'.
If distutils/command is replaced with a/b, the import works:
$ pwd
/home/stefan/tmp
$
$ ls a/b/
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
Bertrand Croq bertrand.c...@gmail.com added the comment:
This bug still present in Python 2.7, the proposed patch works.
--
nosy: +bcroq
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4713
Changes by Jeremy Hylton jhyl...@gmail.com:
--
nosy: +Jeremy.Hylton
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11549
___
___
Python-bugs-list
Jesús Cea Avión j...@jcea.es added the comment:
With the precedent of issue #15402, I think that 2.7 and 3.2 should be fine.
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15424
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com:
--
nosy: +jkloth
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15431
___
___
Changes by Brett Cannon br...@python.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Could you explain what is it you’re trying to achieve?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
Changes by Anton Barkovsky swarmer...@gmail.com:
--
nosy: +anton.barkovsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15433
___
___
Brett Cannon br...@python.org added the comment:
I just wanted to say that Amaury's proof-of-concept looks right (although what
is returned by the registry isn't a fullname but a file path so I would at
least change that variable name and you wouldn't append this mat path finder
but instead
Stefan Krah stefan-use...@bytereef.org added the comment:
This is not a distutils issue. I want to know why this does not
throw an exception ...
python3.2 distutils/command/__init__.py
... while this raises ImportError:
~/usr/bin/python3.3 distutils/command/__init__.py
For the path
Brett Cannon br...@python.org added the comment:
It might be a runpy thing as Nick has been tweaking that lately to deal with
pkgutil issues.
And this is of course ignoring the fact that __import__ should never be called
directly over importlib.import_module().
--
nosy: +ncoghlan
Meador Inge mead...@gmail.com added the comment:
OK, I will commit this sometime today.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15402
___
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
nosy: +cjerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset dbe7f39ff341 by Meador Inge in branch '2.7':
Issue #15402: Add a __sizeof__ method to struct.Struct.
http://hg.python.org/cpython/rev/dbe7f39ff341
New changeset 3e7b517e1b68 by Meador Inge in branch '3.2':
Issue
Meador Inge mead...@gmail.com added the comment:
Thanks for the patch Serhiy!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15402
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
nosy: +cjerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15433
___
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I have no objection in principle to supporting additional shells, but do have
the following comments/questions:
1. Georg feels that this is a new feature he doesn't want to add to 3.3. IMO we
have to respect his judgement as RM, no matter
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +meador.inge
versions: +Python 3.2 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15424
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Argh. __init__.py was missing in the top directory. For some reason
Python 3.2 does not throw the error. Also, 3.3 does not raise in the
case of the a/b directory structure:
$ tree a
a
`-- b
|-- __init__.py
`-- xyz.py
$
Jesús Cea Avión j...@jcea.es added the comment:
We collide mid-air, Meador. I was just checking-in this :-). I have changed the
tests to actually verify the changes :-). Also added to Doc/ACKS.txt.
Could I suggest you to take care of issue #15424 too?.
--
resolution: fixed -
stage:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b1d85a44f149 by Jesus Cea in branch '2.7':
Better test for Issue #15402: Add a __sizeof__ method to struct.Struct
http://hg.python.org/cpython/rev/b1d85a44f149
New changeset 1911e192af0d by Jesus Cea in branch
Andrew Svetlov andrew.svet...@gmail.com added the comment:
1. I agree with you about exclusion from 3.3.
2. Hmm. Good question. For now virtualenv has support for cmd.exe, csh, fish,
bash/zsh and PowerShell.
I propose to add csh and fish to venv too.
If later somebody will push request for
New submission from Cédric Krier cedric.kr...@b2ck.com:
When a AttributeError is raised inside the get function of a property and if
the class has a __getattr__ method defined then this method is called.
It is strange behavior because when looking at the traceback it looks like
Python doesn't
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
inherit from `venv.EnvBuilder` and override `setup_scripts` method
pointing to new directory with desired activators as `path` parameter
for `self.install_scripts(...)`.
Yes, that's it. A third party tool would potentially do more than
Meador Inge mead...@gmail.com added the comment:
Hi Jesús,
I replied to python-dev, but the Doc/ACKS.txt changes aren't necessary and I
was OK with the way Serhiy submitted the tests.
--
___
Python tracker rep...@bugs.python.org
Changes by Steven Bethard steven.beth...@gmail.com:
--
resolution: - duplicate
superseder: - argparse optionals with nargs='+' can't be followed by
positionals
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15433
Changes by Steven Bethard steven.beth...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15433
___
___
Steven Bethard steven.beth...@gmail.com added the comment:
So Kotan's patch doesn't actually solve the original problem. Instead, it
inserts the workaround into the help message of the parser. I think this is
probably not the right fix. We should probably do two things:
(1) Right now: create
Brett Cannon br...@python.org added the comment:
The a/b case is legitimate in Python 3.3; namespace packages are delineated by
not defining an __init__.py file. Closing as invalid.
--
resolution: - invalid
status: open - closed
___
Python tracker
Steven Bethard steven.beth...@gmail.com added the comment:
And I guess Issue 9182 is the right place for (1).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9338
___
Anton Barkovsky swarmer...@gmail.com added the comment:
The issue is still there. I hope someone fixes it before the release.
--
nosy: +anton.barkovsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11466
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15295
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
AttributeError is how Python decides that __getattr__ should be called. I
believe this is working as designed.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
Richard Oudkerk shibt...@gmail.com added the comment:
A program which depends on the old behaviour would be broken on a
non-refcounted implementation of Python, so I would be inclined to say won't
fix.
However, I think the following patch would restore the old behaviour
diff -r a970054a93fb
Steven Bethard steven.beth...@gmail.com added the comment:
Ok, here's what I think needs to go into the documentation here:
(1) Add a separate section to the argparse docs about '--'. Give examples like
the ones in this issue, and show how '--' can solve them
(2) Cross-reference the section
Steven Bethard steven.beth...@gmail.com added the comment:
I've updated the patch for the current trunk. Should be ready to commit.
--
Added file: http://bugs.python.org/file26490/Issue13249-4.patch
___
Python tracker rep...@bugs.python.org
New submission from Serhiy Storchaka storch...@gmail.com:
__sizeof__ is not mentioned on page Doc/reference/datamodel.rst together with
other special methods. There is no __sizeof__ in index.
--
assignee: docs@python
components: Documentation
messages: 166245
nosy: docs@python,
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
Allowing dircmp() to accept a file comparison function is another option to
consider that may address more needs going forward. shallow=False could be
achieved by passing lambda a, b: filecmp.cmp(a, b, shallow=False).
--
Changes by Serhiy Storchaka storch...@gmail.com:
--
title: __sizeof__ is not documeneted - __sizeof__ is not documented
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15436
___
New submission from Chris Jerdonek chris.jerdo...@gmail.com:
This issue is to merge the Doc/ACKS and Misc/ACKS files as discussed here:
http://mail.python.org/pipermail/python-dev/2012-July/121096.html
--
assignee: docs@python
components: Documentation
keywords: easy
messages: 166247
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
I would be happy to prepare a patch. I can upload a script to this issue that
the committer can then run on the latest Misc/ACKS and Doc/ACKS.txt.
The script would preserve the ordering of Misc/ACKS. It would iterate through
the
Antoine Pitrou pit...@free.fr added the comment:
Georg, do you think this is ok for all 3 branches?
--
nosy: +georg.brandl, pitrou
versions: +Python 2.7, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
The patch that Meador committed is incorrect: METH_NOARGS functions still take
a PyObject* args argument, which will be NULL. I'm puzzled, as Serhiy's
original patch was correct.
As for the tests, I really wish there were tests that tested
Éric Araujo mer...@netwok.org added the comment:
This was indeed proposed once or twice before; I can’t search my archive right
now but I think I remember Georg saying that he was OK as long as the docs
displayed Misc/ACKS. This means checking the rst syntax of Misc/ACKS and using
the right
Martin v. Löwis mar...@v.loewis.de added the comment:
Also, I wonder why this loops over s_codes, instead of just looking at s_len+1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15402
Jesús Cea Avión j...@jcea.es added the comment:
Could you possibly write a patch for 2.7, 3.2 and 3.3?
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15436
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15437
___
___
Python-bugs-list mailing list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15437
___
Antoine Pitrou pit...@free.fr added the comment:
Why does the pure Python version of partial have to be so complicated?
I don't think the __class__, __setattr__ and __delattr__ are useful. As Raymond
said, only the core, documented functionality needs to be preserved, not
implementation
Jesús Cea Avión j...@jcea.es added the comment:
Ping!
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11824
___
___
Python-bugs-list
Marc Abramowitz msabr...@gmail.com added the comment:
I just verified -- the issue seems to be fixed for me on OS X 10.6.8 with
revision 00db71b3c5bd. Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15195
Meador Inge mead...@gmail.com added the comment:
On Mon, Jul 23, 2012 at 5:04 PM, Martin v. Löwis rep...@bugs.python.org wrote:
The patch that Meador committed is incorrect: METH_NOARGS functions
still take a PyObject* args argument, which will be NULL. I'm puzzled, as
Serhiy's original
Kevin Barry ta0k...@gmail.com added the comment:
Here is a patch that corrects the problem (quoted below and attached.) This
only corrects the problem when 'PyOS_ReadlineFunctionPointer' is set, e.g. you
must 'import readline', otherwise Python will defer to stdin/stdout with
Kevin Barry ta0k...@gmail.com added the comment:
I've attached a new example source file to demonstrate the fix.
Compile the attached program with (*after* patching and installing Python):
gcc `python-config --cflags` working2.c -o working2 `python-config --ldflags`
and run it with:
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
Attached is a script that seems to do the job (except for the rst formatting,
which can be added later. This was so that you can see by the diff what has
changed).
In the process of doing this, I found that Jeff McNeil is far out of
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
Attaching sample output of running the script.
--
keywords: +patch
Added file: http://bugs.python.org/file26494/issue-15437-sample-output.patch
___
Python tracker rep...@bugs.python.org
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11824
___
___
Python-bugs-list
Petri Lehtinen pe...@digip.org added the comment:
Thanks. The news entry should probably say 'From ' instead of 'From'.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15232
___
Serhiy Storchaka storch...@gmail.com added the comment:
Could you possibly write a patch for 2.7, 3.2 and 3.3?
No, not for documentation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15436
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10399
___
___
Python-bugs-list
73 matches
Mail list logo