[issue15295] Document PEP 420 namespace packages

2012-07-23 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


--
nosy: +larry, ncoghlan

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15295
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15295] Document PEP 420 namespace packages

2012-07-23 Thread Nick Coghlan

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 default import mechanisms)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15295
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15431] Cannot build importlib.h on Windows

2012-07-23 Thread Amaury Forgeot d'Arc

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 probably necessary to implement a 
similar behavior in a new build project:

Modules/_freeze_importlib: Modules/_freeze_importlib.o 
$(LIBRARY_OBJS_OMIT_FROZEN)
$(LINKCC) $(PY_LDFLAGS) -o $@ Modules/_freeze_importlib.o 
$(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)

Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py 
Modules/_freeze_importlib.c
$(MAKE) Modules/_freeze_importlib
./Modules/_freeze_importlib \
$(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h

--
components: Build, Windows
messages: 166209
nosy: amaury.forgeotdarc, brian.curtin
priority: high
severity: normal
status: open
title: Cannot build importlib.h on Windows
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15431
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14578] importlib doesn't check Windows registry for paths

2012-07-23 Thread Amaury Forgeot d'Arc

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5819] Add PYTHONPREFIXES environment variable

2012-07-23 Thread Christopher Dunn

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15408] os.fork/os.popen behaviour change between 2.7 and 3.2

2012-07-23 Thread Richard Oudkerk

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 method is *not* invoked when the wrapper is garbage collected.  
However, the set of dead pids cannot accumulate since dead pids get collected 
whenever os.popen()/subprocess.Popen() is used.

The old behaviour is only an advantage in a refcounted implementation of Python 
like CPython.  I am not sure that fixing the current behaviour is necessary.

Simply adding to the wrapper class a __del__() method which invokes close() 
will not work.  (One could instead use a weakref callback, but that is 
non-trivial.)

--
versions: +Python 3.3 -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15408
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13837] test_shutil fails with symlinks enabled under Windows

2012-07-23 Thread Atsuo Ishimoto

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15432] gzip.py: mtime argument only since python 2.7

2012-07-23 Thread Geir Ove Myhr

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 included in 
Python 2.6.5.

--
assignee: docs@python
components: Documentation
messages: 166214
nosy: docs@python, gomyhr
priority: normal
severity: normal
status: open
title: gzip.py: mtime argument only since python 2.7
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15432
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15408] os.fork/os.popen behaviour change between 2.7 and 3.2

2012-07-23 Thread Walter Dörwald

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7578] Behavior of operations on a closed file object is not documented correctly

2012-07-23 Thread Antoine Pitrou

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15433] argparse usage line is wrong

2012-07-23 Thread Reinis Ivanovs

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
 usage: example.py [-h] [-bar [BAR [BAR ...]]] foo

Trying to actually follow the usage instructions produces this error:

 $ example.py -bar x y z
 error: too few arguments

Reversing the argument order works however:

 $ example.py z -bar x y

So the usage instructions are clearly wrong.

--
components: Library (Lib)
messages: 166217
nosy: reinis
priority: normal
severity: normal
status: open
title: argparse usage line is wrong
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15433
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Stefan Krah

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 in sys.path. I'm not sure if this isolated example is 
terribly useful:


$ pwd
/home/stefan/tmp
$ ls distutils/command/
__init__.py  xyz.py
$ cat distutils/command/__init__.py

distutils_all = ['xyz']
__import__('distutils.command',globals(),locals(),distutils_all)

$ cat distutils/command/xyz.py
$
$ python3.2 distutils/command/__init__.py
$
$ /home/stefan/usr/bin/python3.3 distutils/command/__init__.py
Traceback (most recent call last):
  File distutils/command/__init__.py, line 3, in module
__import__('distutils.command',globals(),locals(),distutils_all)
ImportError: No module named 'distutils.command.xyz'
$

--
components: Interpreter Core
messages: 166218
nosy: brett.cannon, pitrou, skrah
priority: high
severity: normal
status: open
title: __import__() problem in 3.3
type: behavior
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Stefan Krah

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/
__init__.py  xyz.py
$ ls distutils/command/
__init__.py  xyz.py
$ 
$ cat a/b/__init__.py 

import sys
sys.path.insert(0, '/home/stefan/tmp')
print(sys.path)

distutils_all = ['xyz']
__import__('a.b',globals(),locals(),distutils_all)


$ cat distutils/command/__init__.py 

import sys
sys.path.insert(0, '/home/stefan/tmp')
print(sys.path)

distutils_all = ['xyz']
__import__('distutils.command',globals(),locals(),distutils_all)



$ /home/stefan/usr/bin/python3.3 a/b/__init__.py 
['/home/stefan/tmp', '/home/stefan/tmp/a/b', 
'/home/stefan/usr/lib/python33.zip', '/home/stefan/usr/lib/python3.3', 
'/home/stefan/usr/lib/python3.3/plat-linux', 
'/home/stefan/usr/lib/python3.3/lib-dynload', 
'/home/stefan/.local/lib/python3.3/site-packages', 
'/home/stefan/usr/lib/python3.3/site-packages']
['/home/stefan/tmp', '/home/stefan/tmp', '/home/stefan/tmp/a/b', 
'/home/stefan/usr/lib/python33.zip', '/home/stefan/usr/lib/python3.3', 
'/home/stefan/usr/lib/python3.3/plat-linux', 
'/home/stefan/usr/lib/python3.3/lib-dynload', 
'/home/stefan/.local/lib/python3.3/site-packages', 
'/home/stefan/usr/lib/python3.3/site-packages']



$ /home/stefan/usr/bin/python3.3 distutils/command/__init__.py 
['/home/stefan/tmp', '/home/stefan/tmp/distutils/command', 
'/home/stefan/usr/lib/python33.zip', '/home/stefan/usr/lib/python3.3', 
'/home/stefan/usr/lib/python3.3/plat-linux', 
'/home/stefan/usr/lib/python3.3/lib-dynload', 
'/home/stefan/.local/lib/python3.3/site-packages', 
'/home/stefan/usr/lib/python3.3/site-packages']
Traceback (most recent call last):
  File distutils/command/__init__.py, line 7, in module
__import__('distutils.command',globals(),locals(),distutils_all)
ImportError: No module named 'distutils.command.xyz'

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4713] Installing sgmlop causes xmlrpclib error

2012-07-23 Thread Bertrand Croq

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2012-07-23 Thread Jeremy Hylton

Changes by Jeremy Hylton jhyl...@gmail.com:


--
nosy: +Jeremy.Hylton

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11549
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15424] __sizeof__ of array should include size of items

2012-07-23 Thread Jesús Cea Avión

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15431] Cannot build importlib.h on Windows

2012-07-23 Thread Jeremy Kloth

Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com:


--
nosy: +jkloth

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15431
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Éric Araujo

É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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15433] argparse usage line is wrong

2012-07-23 Thread Anton Barkovsky

Changes by Anton Barkovsky swarmer...@gmail.com:


--
nosy: +anton.barkovsky

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15433
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14578] importlib doesn't check Windows registry for paths

2012-07-23 Thread Brett Cannon

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 insert it before PathFinder).

And to answer the question of what to pass in, technically it's the tail part 
of the name for full backwards-compatibility, but that's stupid as it creates 
an ambiguity e.g. a package named foo vs. a submodule named pkg.foo, so I say 
use the full name of the module when looking something up in the registry.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14578
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Stefan Krah

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 structure please see my previous message.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Brett Cannon

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Meador Inge

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Chris Jerdonek

Changes by Chris Jerdonek chris.jerdo...@gmail.com:


--
nosy: +cjerdonek

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Roundup Robot

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 #15402: Add a __sizeof__ method to struct.Struct.
http://hg.python.org/cpython/rev/3e7b517e1b68

New changeset 03063e718f5f by Meador Inge in branch 'default':
Issue #15402: Add a __sizeof__ method to struct.Struct.
http://hg.python.org/cpython/rev/03063e718f5f

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15402
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Meador Inge

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15433] argparse usage line is wrong

2012-07-23 Thread Chris Jerdonek

Changes by Chris Jerdonek chris.jerdo...@gmail.com:


--
nosy: +cjerdonek

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15433
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15417] Add support for csh and fish in venv activation scripts

2012-07-23 Thread Vinay Sajip

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 how trivial the change might 
seem. It's more about the discipline of the process than it is about any one 
specific change.

2. Where do we draw the line in terms of support for (arbitrary) shells? Each 
activation script will potentially need maintenance into the future. It was 
originally envisaged that the stdlib code would add minimal support for 
activation scripts and that third-party tools would add support for additional 
shells and other value-adding features. The venv API design was intended to 
facilitate usage by third-party code.

--
versions: +Python 3.4 -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15417
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15424] __sizeof__ of array should include size of items

2012-07-23 Thread Jesús Cea Avión

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Stefan Krah

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

$ ~/usr/bin/python3.3 a/b/__init__.py   
['/home/stefan/tmp', '/home/stefan/tmp/a/b', 
'/home/stefan/usr/lib/python33.zip', '/home/stefan/usr/lib/python3.3', 
'/home/stefan/usr/lib/python3.3/plat-linux', 
'/home/stefan/usr/lib/python3.3/lib-dynload', 
'/home/stefan/.local/lib/python3.3/site-packages', 
'/home/stefan/usr/lib/python3.3/site-packages']


With the added __init__.py, also the (fake) distutils package is OK:


$ tree distutils/
distutils/
|-- __init__.py
`-- command
|-- __init__.py
`-- xyz.py


$ ~/usr/bin/python3.3 distutils/command/__init__.py
['/home/stefan/tmp', '/home/stefan/tmp/distutils/command', 
'/home/stefan/usr/lib/python33.zip', '/home/stefan/usr/lib/python3.3', 
'/home/stefan/usr/lib/python3.3/plat-linux', 
'/home/stefan/usr/lib/python3.3/lib-dynload', 
'/home/stefan/.local/lib/python3.3/site-packages', 
'/home/stefan/usr/lib/python3.3/site-packages']




Brett, if this all looks good to you, this issue can be closed. The
original NumPy build error must be due to something else.

Perhaps 3.3 should raise in the a/b case, too?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Jesús Cea Avión

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: committed/rejected - patch review
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15402
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Roundup Robot

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 '3.2':
Better test for Issue #15402: Add a __sizeof__ method to struct.Struct
http://hg.python.org/cpython/rev/1911e192af0d

New changeset b9a3ed1b14b9 by Jesus Cea in branch 'default':
MERGE: Better test for Issue #15402: Add a __sizeof__ method to struct.Struct
http://hg.python.org/cpython/rev/b9a3ed1b14b9

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15402
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15417] Add support for csh and fish in venv activation scripts

2012-07-23 Thread Andrew Svetlov

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 adding yet another shell support we can 
consider it. Personally I doubt if we will see many requests for that.

3. Which standard way to append new activation script in third-party tool? I 
see th only way: inherit from `venv.EnvBuilder` and override `setup_scripts` 
method pointing to new directory with desired activators as `path` parameter 
for `self.install_scripts(...)`.
Also that third-party tool have to reimplement functionality of `create` and 
`main` functions with setting up ArgumentParser. Doesn't look like trivial 
steps if you wish to just add single activation script.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15417
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15435] Strange behavior when AttributeError raise inside a property get function

2012-07-23 Thread Cédric Krier

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 find the property.

--
components: Interpreter Core
files: test.py
messages: 166234
nosy: ced
priority: normal
severity: normal
status: open
title: Strange behavior when AttributeError raise inside a property get function
type: behavior
Added file: http://bugs.python.org/file26489/test.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15435
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15417] Add support for csh and fish in venv activation scripts

2012-07-23 Thread Vinay Sajip

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 just custom 
scripts, and would presumably have its own command line parameters and handling 
code, reflecting the features it offers.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15417
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Meador Inge

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
http://bugs.python.org/issue15402
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15433] argparse usage line is wrong

2012-07-23 Thread Steven Bethard

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15433] argparse usage line is wrong

2012-07-23 Thread Steven Bethard

Changes by Steven Bethard steven.beth...@gmail.com:


--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15433
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9338] argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

2012-07-23 Thread Steven Bethard

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 a documentation patch which at least explains the current 
limitations of argparse parsing, and describes the '--' workaround. Probably 
this patch should add a separate section about '--', give an example like the 
one in this issue, and then cross-reference this section from nargs='?', 
nargs='*', nargs='+' and the Arguments containing - section.

(2) Longer term: create a code patch that implements the changes to the regular 
expression-based parsing like I've suggested.

--
title: argparse optionals with nargs='+' can't be followed by positionals - 
argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9338
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15434] __import__() problem in 3.3

2012-07-23 Thread Brett Cannon

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 rep...@bugs.python.org
http://bugs.python.org/issue15434
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9338] argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

2012-07-23 Thread Steven Bethard

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11466] getpass.getpass doesn't close tty file

2012-07-23 Thread Anton Barkovsky

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15295] Document PEP 420 namespace packages

2012-07-23 Thread Stefan Krah

Changes by Stefan Krah stefan-use...@bytereef.org:


--
nosy: +skrah

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15295
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15435] Strange behavior when AttributeError raise inside a property get function

2012-07-23 Thread R. David Murray

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
http://bugs.python.org/issue15435
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15408] os.fork/os.popen behaviour change between 2.7 and 3.2

2012-07-23 Thread Richard Oudkerk

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 Lib/os.py
--- a/Lib/os.py Mon Jul 16 18:30:03 2012 +0100
+++ b/Lib/os.py Mon Jul 23 19:12:38 2012 +0100
@@ -1004,6 +1004,13 @@
 # Helper for popen() -- a proxy for a file whose close waits for the process
 class _wrap_close:
 def __init__(self, stream, proc):
+# proc should be waited on when stream is garbage collected
+import weakref
+def callback(wr):
+proc._weakref = None   # break ref cycle
+proc.wait()
+proc._weakref = weakref.ref(stream, callback)
+proc.stdin = proc.stdout = None# proc must not keep stream alive
 self._stream = stream
 self._proc = proc
 def close(self):

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15408
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9182] document “--” as a way to distinguish option w/ narg='+' from positional argument in argparse

2012-07-23 Thread Steven Bethard

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 on '--' from nargs='?', nargs='*', nargs='+' 
and the Arguments containing - sections (and any other places where people 
are likely to run into the need for '--').

All of these changes should be on Doc/library/argparse.rst - I don't think we 
want to change the code at the moment.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9182
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13249] argparse.ArgumentParser() lists arguments in the wrong order

2012-07-23 Thread Steven Bethard

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
http://bugs.python.org/issue13249
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15436] __sizeof__ is not documeneted

2012-07-23 Thread Serhiy Storchaka

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, storchaka
priority: normal
severity: normal
status: open
title: __sizeof__ is not documeneted
versions: Python 2.7, Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15436
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12932] filecmp.dircmp does not allow non-shallow comparisons

2012-07-23 Thread Chris Jerdonek

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).

--
versions: +Python 3.4 -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12932
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15436] __sizeof__ is not documented

2012-07-23 Thread Serhiy Storchaka

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15437] Merge Doc/ACKS and Misc/ACKS

2012-07-23 Thread Chris Jerdonek

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
nosy: cjerdonek, docs@python
priority: normal
severity: normal
status: open
title: Merge Doc/ACKS and Misc/ACKS

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15437
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15437] Merge Doc/ACKS and Misc/ACKS

2012-07-23 Thread Chris Jerdonek

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 names in Doc/ACKS.txt and insert them in Misc/ACKS at the appropriate 
location.  Duplicates would not be inserted.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15437
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15437] Merge Doc/ACKS and Misc/ACKS

2012-07-23 Thread Antoine Pitrou

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
http://bugs.python.org/issue15437
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Martin v . Löwis

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 for *actual* 
values.

--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15402
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15437] Merge Doc/ACKS and Misc/ACKS

2012-07-23 Thread Éric Araujo

É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 include directive.

--
nosy: +eric.araujo

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15437
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Martin v . Löwis

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15436] __sizeof__ is not documented

2012-07-23 Thread Jesús Cea Avión

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15437] Merge Doc/ACKS and Misc/ACKS

2012-07-23 Thread Jesús Cea Avión

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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15437] Merge Doc/ACKS and Misc/ACKS

2012-07-23 Thread Ezio Melotti

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12428] functools test coverage

2012-07-23 Thread Antoine Pitrou

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 details.

Something else:

-from _thread import allocate_lock as Lock
+from thread import allocate_lock as Lock

The module is named _thread in 3.x, so this shouldn't have been changed (but 
admittedly it's thread in 2.x).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12428
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11824] freeze.py broken due to ABI flags

2012-07-23 Thread Jesús Cea Avión

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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15195] test_distutils fails when ARCHFLAGS is set on a Mac

2012-07-23 Thread Marc Abramowitz

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15402] Correct __sizeof__ support for struct

2012-07-23 Thread Meador Inge

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 patch was correct.

I almost committed the two-argument version with the 'unused' parameter, but
then I had the bright idea to look at how '__sizeof__' is implemented elsewhere
in the interpreter:

  static PyObject *
  list_sizeof(PyListObject *self);
  static PyObject *
  dict_sizeof(PyDictObject *mp);
  static PyObject *
  set_sizeof(PySetObject *so);

  etc ...

So I dropped the 'unused' parmeter for the 'struct' implementation:

   static PyObject *
   s_sizeof(PyStructObject *self);

I will happily fix it, but if it is wrong one place, then it is wrong
everywhere.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15402
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-07-23 Thread Kevin Barry

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 
'PyOS_StdioReadline'.


The patch:


--- Python-2.6.8/Parser/tokenizer.c 2012-04-10 11:32:11.0 -0400
+++ Python-2.6.8-patched/Parser/tokenizer.c 2012-07-23 19:56:39.645992101 
-0400
@@ -805,7 +805,7 @@
 return Py_CHARMASK(*tok-cur++);
 }
 if (tok-prompt != NULL) {
-char *newtok = PyOS_Readline(stdin, stdout, tok-prompt);
+char *newtok = PyOS_Readline(tok-fp? tok-fp : stdin, tok-fp? 
tok-fp : stdout, tok-prompt);
 if (tok-nextprompt != NULL)
 tok-prompt = tok-nextprompt;
 if (newtok == NULL)


Kevin Barry

--
keywords: +patch
status: open - pending
Added file: 
http://bugs.python.org/file26491/Python-2.6.8-Run_Interactive-fix.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14916
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-07-23 Thread Kevin Barry

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:

 ./working2 xterm -S/0  /dev/null  /dev/null

(The redirection shows that it works when stdin/stdout aren't a tty.)


I looked at the most-recent revision of tokenizer.c 
(http://hg.python.org/cpython/file/52032b13243e/Parser/tokenizer.c) and see 
that the change in my patch above hasn't been made already.

Kevin Barry

--
status: pending - open
Added file: http://bugs.python.org/file26492/working2.c

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14916
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15437] Merge Doc/ACKS and Misc/ACKS

2012-07-23 Thread Chris Jerdonek

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 order in 
Misc/ACKS, and possibly also Hugo Lopes Tavares and Xavier de Gaye, depending 
on what alphabetization rules should be used.

The script contains logic to collect the non-ascii characters that appear in 
people's names, so that non-ascii characters can be approximated by ascii 
characters for ordering purposes (which seems to be how it is done now in some 
cases).

In a subsequent comment, I will attach a diff that results from running the 
script, so you can see what effect it has on Misc/ACKS.

--
Added file: http://bugs.python.org/file26493/merge-acks.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15437
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15437] Merge Doc/ACKS and Misc/ACKS

2012-07-23 Thread Chris Jerdonek

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
http://bugs.python.org/issue15437
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11824] freeze.py broken due to ABI flags

2012-07-23 Thread Meador Inge

Changes by Meador Inge mead...@gmail.com:


--
nosy: +meador.inge

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11824
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15232] email.generator.Generator doesn't mangle From lines in MIME preamble

2012-07-23 Thread Petri Lehtinen

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15436] __sizeof__ is not documented

2012-07-23 Thread Serhiy Storchaka

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10399] AST Optimization: inlining of function calls

2012-07-23 Thread Eric Snow

Changes by Eric Snow ericsnowcurren...@gmail.com:


--
nosy: +eric.snow

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10399
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com