[issue14845] list() != []

2012-05-20 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

I will be happy to clarify the PEP when I get a chance.

--
assignee: docs@python -> rhettinger
priority: normal -> low

___
Python tracker 

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



[issue14861] Make ./python -m test work to run test suite in Python 2.7

2012-05-20 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

This is a new feature, not a bug fix, so it can't be added to 2.7.

Newcomers to CPython don't need to bother with 2.7 in general, which can reduce 
the combination in half. If they want to use something that works in all 
versions, they can use '-m test.regrtest'.

--
nosy: +loewis
resolution:  -> rejected
status: open -> closed

___
Python tracker 

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



[issue14861] Make ./python -m test work to run test suite in Python 2.7

2012-05-20 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

Follow-up: I still use 'python Lib/test/regrtest.py'. This works in all 
versions since Python 2.0 (with the right Python binary), and supports tab 
completion in the shell.

--

___
Python tracker 

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



[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset d7aff4423172 by Martin v. Löwis in branch '2.7':
Issue #8767: Restore building with --disable-unicode.
http://hg.python.org/cpython/rev/d7aff4423172

--
nosy: +python-dev

___
Python tracker 

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



[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

Thanks for the patch. I did the library patch without monkey-patching.

If there are further issues with this feature, please submit new bug reports. I 
won't consider the many test failures due to usage of Unicode literals in the 
test cases as bugs, as working around for the lack of Unicode literals is quite 
tedious, and would reduce readability.

--

___
Python tracker 

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



[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Martin v . Löwis

Changes by Martin v. Löwis :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue14426] date format problem in Cookie/http.cookies

2012-05-20 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset f457419552e3 by Senthil Kumaran in branch '2.7':
Fix for issue14426 - buildbots here I come
http://hg.python.org/cpython/rev/f457419552e3

New changeset f9d31d6977f1 by Senthil Kumaran in branch '3.2':
Fix for issue14426 - buildbots here I come
http://hg.python.org/cpython/rev/f9d31d6977f1

New changeset ca2a793d6c7b by Senthil Kumaran in branch 'default':
merge - Fix for issue14426 - buildbots here I come
http://hg.python.org/cpython/rev/ca2a793d6c7b

--

___
Python tracker 

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



[issue14857] Direct access to lexically scoped __class__ is broken in 3.3

2012-05-20 Thread Daniel Urban

Changes by Daniel Urban :


--
nosy: +durban

___
Python tracker 

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



[issue12370] Use of super overwrites use of __class__ in class namespace

2012-05-20 Thread Daniel Urban

Changes by Daniel Urban :


--
nosy: +durban

___
Python tracker 

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



[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Nick Coghlan

Changes by Nick Coghlan :


--
nosy: +pmoody

___
Python tracker 

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



[issue12760] Add create mode to open()

2012-05-20 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset ef406c4c6463 by Charles-François Natali in branch 'default':
Issue #12760: Add some mising documentation about the new `x` exclusive
http://hg.python.org/cpython/rev/ef406c4c6463

--

___
Python tracker 

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



[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Petri Lehtinen

Petri Lehtinen  added the comment:

Isn't 3.2 or 3.3 affected by this?

--

___
Python tracker 

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



[issue14822] Build unusable when compiled for Win 64-bit release

2012-05-20 Thread Kristján Valur Jónsson

Kristján Valur Jónsson  added the comment:

I am unable to reproduce.  Do you have a callastack?

--
nosy: +kristjan.jonsson

___
Python tracker 

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



[issue14862] fdopen not listed in__all__ of os.py

2012-05-20 Thread Petri Lehtinen

New submission from Petri Lehtinen :

>>> from os import *
>>> fdopen
Traceback (most recent call last):
  File "", line 1, in 
NameError: name 'fdopen' is not defined

--
components: Library (Lib)
keywords: easy
messages: 161196
nosy: petri.lehtinen
priority: normal
severity: normal
status: open
title: fdopen not listed in__all__ of os.py
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

___
Python tracker 

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



[issue14862] fdopen not listed in __all__ of os.py

2012-05-20 Thread Petri Lehtinen

Changes by Petri Lehtinen :


--
title: fdopen not listed in__all__ of os.py -> fdopen not listed in __all__ of 
os.py

___
Python tracker 

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



[issue8767] Configure: Cannot disable unicode

2012-05-20 Thread Stefano Taschini

Stefano Taschini  added the comment:

Understood and agreed.

--

___
Python tracker 

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



[issue14863] Update docs of os.fdopen()

2012-05-20 Thread Petri Lehtinen

New submission from Petri Lehtinen :

os.fdopen() is merely a very thin wrapper around the builtin open(). It should 
have a very minimal documentation of its own to minimize maintenance burden.

--
messages: 161198
nosy: petri.lehtinen
priority: normal
severity: normal
status: open
title: Update docs of os.fdopen()
versions: Python 3.2, Python 3.3

___
Python tracker 

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



[issue13682] Documentation of os.fdopen() refers to non-existing bufsize argument of builtin open()

2012-05-20 Thread Petri Lehtinen

Petri Lehtinen  added the comment:

The documentation of os.fdopen() should be fixed as a whole, see #14863.

--
resolution:  -> invalid
status: open -> closed
superseder:  -> Update docs of os.fdopen()

___
Python tracker 

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



[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 82a649047272 by Nick Coghlan in branch 'default':
Issue #14814: addition of the ipaddress module (stage 1 - code and tests)
http://hg.python.org/cpython/rev/82a649047272

--
nosy: +python-dev

___
Python tracker 

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



[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Nick Coghlan

Nick Coghlan  added the comment:

Stage 1 complete - the code and tests are in (along with the other 
miscellaneous updates to ACKS, NEWS and What's New).

Next steps are to convert the wiki page into a HOWTO and the docstrings into a 
module API reference. Georg offered to help with the first pass at the latter.

The module and its test suite were the main thing I really wanted in place for 
the alpha 4 deadline - with the frequent updates to the online docs, we have a 
bit more leeway with the timing.

--
nosy: +georg.brandl

___
Python tracker 

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



[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-20 Thread Kristján Valur Jónsson

Kristján Valur Jónsson  added the comment:

I'm able to reproduce this problem with the latest changes to PCBuild.
Are you saying that there are other projects like _ctypes that are not built?

I'm not able to see any different between _ctypes_test and _ctypes on the 
.vcxsproj level that would explain this, or in the sln.

Perhaps there is another bug in msbuild?

--
nosy: +kristjan.jonsson

___
Python tracker 

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



[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-20 Thread Kristján Valur Jónsson

Kristján Valur Jónsson  added the comment:

Hm, I see that this applies to _decimal, _testbuffer and xxlimited too.  When 
msbuild is invoked with MSBUILDEMITSOLUTION=1, it leaves a .metaproj file in 
place for those projects.

--

___
Python tracker 

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



[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-20 Thread Kristján Valur Jónsson

Kristján Valur Jónsson  added the comment:

Found the issue.  Manual dependencies in the .sln file had to be removed.

--

___
Python tracker 

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



[issue14821] _ctypes and other modules not built with msbuild on vs2010 solution

2012-05-20 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 2e96629c6dab by Kristján Valur Jónsson in branch 'default':
Issue 14821:
http://hg.python.org/cpython/rev/2e96629c6dab

--
nosy: +python-dev

___
Python tracker 

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



[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation

2012-05-20 Thread Guillaume

New submission from Guillaume :

In the logging module documentation, nothing tells the user how to undo or 
reset a call to logging.disable(lvl). From reading the code (python 2.6 
version) it seem the correct way to undo disable(lvl) is to call disable(0), 
but I think calling disable(NOTSET) would make more sense. The sentence I 
propose to add at the end of the paragraph about the disable() function is:

To undo the effect of a call to logging.disable(lvl), call 
logging.disable(logging.NOTSET).

(This is my first doc bug report, please feel free to tell me how to improve.)

--
assignee: docs@python
components: Documentation
messages: 161206
nosy: docs@python, guibog
priority: normal
severity: normal
status: open
title: Mention logging.disable(logging.NOTSET) to reset the command in logging 
module documentation
type: enhancement

___
Python tracker 

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



[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation

2012-05-20 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +vinay.sajip

___
Python tracker 

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



[issue4489] shutil.rmtree is vulnerable to a symlink attack

2012-05-20 Thread Hynek Schlawack

Hynek Schlawack  added the comment:

I’ve incorporated all the feedback (I hope).

I had to refactor the tests slightly, but we have 100% code coverage for both 
versions of rmtree. Speaking of: I’ve renamed the default version of rmtree to 
_default_rmtree and _safe_rmtree to _safe_fwalk_rmtree as we’ll need more _safe 
versions for OS X and Windows. Also, that way the default version isn’t lost.

(this time both docs and code are in one patch, sorry for the experiment)

This might not be the final patch though as I’m waiting on feedback for the 
backward compatibility question 
(). That 
might simplify the tests again a bit if we decide to "fake".

Have a nice Sunday everyone. :)

--
Added file: http://bugs.python.org/file25649/rmtree-with-fwalk-v2.diff

___
Python tracker 

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



[issue12370] Use of super overwrites use of __class__ in class namespace

2012-05-20 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis :


--
nosy: +Arfrever

___
Python tracker 

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



[issue14857] Direct access to lexically scoped __class__ is broken in 3.3

2012-05-20 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis :


--
nosy: +Arfrever

___
Python tracker 

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



[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation

2012-05-20 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 4973c90ce9e6 by Vinay Sajip in branch '2.7':
Fixes #14864: Added documentation on how to undo the effects of a 
logging.disable() call.
http://hg.python.org/cpython/rev/4973c90ce9e6

New changeset c30170a168b3 by Vinay Sajip in branch '3.2':
Fixes #14864: Added documentation on how to undo the effects of a 
logging.disable() call.
http://hg.python.org/cpython/rev/c30170a168b3

New changeset 76445d7e613f by Vinay Sajip in branch 'default':
Closes #14864: Added documentation on how to undo the effects of a 
logging.disable() call. Thanks to user Guillaume for the suggestion.
http://hg.python.org/cpython/rev/76445d7e613f

--
nosy: +python-dev
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue14864] Mention logging.disable(logging.NOTSET) to reset the command in logging module documentation

2012-05-20 Thread Vinay Sajip

Vinay Sajip  added the comment:

Guillaume, thank you, your wording was perfect!

--

___
Python tracker 

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



[issue14847] AttributeError: NoneType has no attribute 'utf_8_decode'

2012-05-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

Daniel, please try my snippets instead. Of course in Python3 str is the unicode 
string and has no decode() method...

--

___
Python tracker 

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



[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Ramchandra Apte

Ramchandra Apte  added the comment:

Looking at the code at 
http://code.google.com/p/ipaddress-py/source/browse/ipaddress.py I see a few 
classes which could benefit from functools.total_ordering.

--
nosy: +ramchandra.apte

___
Python tracker 

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



[issue12304] expose signalfd(2) in the signal module

2012-05-20 Thread Ross Lagerwall

Ross Lagerwall  added the comment:

Patch seems good (although it doesn't apply cleanly).

Why do you not provide a structure to decode the bytes? I thought relying on 
ctypes in the stdlib was not advised...

--
nosy: +rosslagerwall

___
Python tracker 

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



[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Ned Deily

Ned Deily  added the comment:

> Isn't 3.2 or 3.3 affected by this?

No, since the developer who made the original changes used sqlite3_int64 for 
2.7 (37c824c3efe8) but chose to hardwire the type to PyLong_AsLongLong for 3.x 
(2d16048b10cd).

--

___
Python tracker 

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



[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Ned Deily

Changes by Ned Deily :


--
Removed message: http://bugs.python.org/msg161213

___
Python tracker 

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



[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Ned Deily

Ned Deily  added the comment:

> Isn't 3.2 or 3.3 affected by this?

No, since the developer who made the original changes used sqlite3_int64 for 
2.7 (789a3ea97083) but chose to hardwire the type to PyLong_AsLongLong for 3.x 
(e67715b87131). [corrected ids]

--

___
Python tracker 

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



[issue14857] Direct access to lexically scoped __class__ is broken in 3.3

2012-05-20 Thread Meador Inge

Meador Inge  added the comment:

Ouch.  The '__class__' behavior is documented here too: 
http://docs.python.org/py3k/library/functions.html?highlight=__class__#super.  
Unfortunately I don't see any other documentation on the lexically scoped form 
of __class__.

As implied, cases like the following just don't work any longer:

>>> class X(object):
...def __init__(self):
...   super(__class__, self).__init__()
... 
>>> X()
Traceback (most recent call last):
  File "", line 1, in 
  File "", line 3, in __init__
NameError: global name '__class__' is not defined

This worked fine in 3.2.

--
nosy: +meador.inge

___
Python tracker 

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



[issue14443] Distutils test_bdist_rpm failure

2012-05-20 Thread Ross Lagerwall

Ross Lagerwall  added the comment:

The attached patch fixed the test for me on Fedora 16.

It was necessary for the `define` to be after the -ba switch.

I don't know why this wouldn't work on RHEL6 then...

--
keywords: +patch
Added file: http://bugs.python.org/file25650/distutils.patch

___
Python tracker 

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



[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-20 Thread Marc Abramowitz

Marc Abramowitz  added the comment:

Ned, thanks for applying this patch!

--

___
Python tracker 

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



[issue14862] fdopen not listed in __all__ of os.py

2012-05-20 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

While this is technically probably a bug, I'm -0 on fixing it in bugfix 
releases, as it has the risk of breaking working code.

--
nosy: +loewis

___
Python tracker 

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



[issue14862] fdopen not listed in __all__ of os.py

2012-05-20 Thread Meador Inge

Meador Inge  added the comment:

I think this came in when we moved os.fdopen and os.popen from native C code to 
Python code in http://hg.python.org/cpython/rev/1f7891d84d93.  This works fine 
in 2.7.  The same issue exist with os.popen, but that is deprecated.

--
nosy: +meador.inge
stage:  -> needs patch
versions:  -Python 2.7

___
Python tracker 

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



[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy

New submission from Terry J. Reedy :

In the doctest section, 25.2.3.5. Option Flags and Directives has examples of 
using #doctest: directives in the .rst source
'''
An example's doctest directives modify doctest's behavior for that single 
example.  Use ``+`` to enable the named behavior, or ``-`` to disable it.

For example, this test passes::

   >>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE
   [0,   1,  2,  3,  4,  5,  6,  7,  8,  9,
   10,  11, 12, 13, 14, 15, 16, 17, 18, 19]
'''
However, when converted to html or Window's help, the directive is removed. See 
for example

http://docs.python.org/py3k/library/doctest.html#option-flags-and-directives

This was reported on python-list for 2.7 and 3.? (.2 probably) by Steven 
D'Aprano and verified by me for 3.3.0 Win help. Vincent Vande Vyvre provided 
quote from 3.? .rst source and I verified it and several more following in 
3.3.0.

I presume the problem is that we now use the same directives to help doctest 
source examples for other modules and sphinx with our customizations does not 
know to leave these particular directives in the text after using them.

I searched issues for '#doctest' and did not see anything about removal.

--
assignee: docs@python
components: Documentation
messages: 161220
nosy: docs@python, eric.araujo, ezio.melotti, georg.brandl, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: #doctest: directives removed from doctest chapter examples
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

___
Python tracker 

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



[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

This is a somewhat recent reversion.

3.1.5 (a month ago)
http://docs.python.org/release/3.1.5/library/doctest.html#module-doctest
>>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE
[0,   1,  2,  3,  4,  5,  6,  7,  8,  9,
10,  11, 12, 13, 14, 15, 16, 17, 18, 19]

3.2.0
http://docs.python.org/release/3.2/library/doctest.html#module-doctest
>>> print(list(range(20))) 
[0,   1,  2,  3,  4,  5,  6,  7,  8,  9,
10,  11, 12, 13, 14, 15, 16, 17, 18, 19]

In Py 2, the same change happened between 2.7.2, released June 2011 after 
3.2.0, and 2.7.3. So some change was made for 3.2.0 but not ported to 2.7 until 
several months later, and never ported to 3.1 (or 2.6). I hope this helps.

--

___
Python tracker 

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



[issue1767933] Badly formed XML using etree and utf-16

2012-05-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

The patch needs some tests.
Also, it seems that ElementTree.write() will only accept files inheriting from 
io.IOBase, where a only a .write() method was expected before. Is it the case?

--

___
Python tracker 

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



[issue14673] add sys.implementation

2012-05-20 Thread Eric Snow

Eric Snow  added the comment:

FYI, the attached patches don't reflect the latest PEP.  I'll get an updated 
patch up in the next day or two.

--

___
Python tracker 

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



[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Sandro Tosi

Sandro Tosi  added the comment:

Hi Terry,
the same problem recently came up on docs@ and digging into it, it turned out 
that sphinx is currently ignoring doctest directives[1], but that it was fixed 
in sphinx 1.1[2].

[1] 
https://bitbucket.org/birkenfeld/sphinx/issue/169/strip-doctest-csomments-in-rendered-output
[2] https://bitbucket.org/birkenfeld/sphinx/changeset/d91bf8e465ef

It's likely the bug is visible on the active branches because recently they 
were updated to use the same sphinx version.

We can probably plan to update the sphinx we use for the doc - what do you 
think about it?

--
nosy: +sandro.tosi

___
Python tracker 

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



[issue4851] xml.dom.minidom.Element.cloneNode fails with AttributeError

2012-05-20 Thread Alexandre Zani

Alexandre Zani  added the comment:

This patch allows the cloning of elements that do not have a document owner.

If a node does not have a document owner, a new document owner is created for 
the clone.

--
keywords: +patch
Added file: http://bugs.python.org/file25651/orphan_node_clone.patch

___
Python tracker 

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



[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

To my mind, stripping is not ignoring ;-), but I understand what you mean, 
sphinx ignores as it pays attention and strips.

[2] is the commit for [1], and both are from 3 years ago, long before 3.2.0. 
Does the true-by-default ``trim_doctest_flags`` config value work on a file by 
file basis, so that it can just be added to doctest.rst?

I have no opinion of sphinx versions, which I am ignorant about. I just know 
that the mistaken stripping destroys the value of the examples, making the 
result very confusing.

--

___
Python tracker 

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



[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Devin Jeanpierre

Devin Jeanpierre  added the comment:

This is a duplicate of http://bugs.python.org/issue12947

--
nosy: +Devin Jeanpierre

___
Python tracker 

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



[issue12947] doctest directive examples in library/doctest.html lack the flags

2012-05-20 Thread Devin Jeanpierre

Changes by Devin Jeanpierre :


--
title: Examples in library/doctest.html lack the flags -> doctest directive 
examples in library/doctest.html lack the flags

___
Python tracker 

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



[issue12947] doctest directive examples in library/doctest.html lack the flags

2012-05-20 Thread Sandro Tosi

Changes by Sandro Tosi :


--
nosy: +sandro.tosi

___
Python tracker 

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



[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-20 Thread Éric Araujo

Éric Araujo  added the comment:

A few thoughts:

- If policies are intended to be expanded with the clone method, I think the 
classes (here Compat32) don’t need to be made public.

- IIUC the policy framework supersedes various arguments like manglefrom or 
max_line_length, right?  If so there could be a bit of doc explaining how to 
switch from old-style usage to new policy goodness.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-20 Thread Éric Araujo

Éric Araujo  added the comment:

Oh and a minor thing to avoid whitespace-only commits later: our rst docs use 
three-space indents.

--

___
Python tracker 

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



[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Éric Araujo

Éric Araujo  added the comment:

Great to get this in the standard library!

I noticed the ipaddress module contains an unnecessary shebang.  I also was 
under the impression that “Licensed to the PSF under a contributor agreement” 
was sufficient and the whole license text could be removed.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue14731] Enhance Policy framework in preparation for adding email6 policies as provisional

2012-05-20 Thread R. David Murray

R. David Murray  added the comment:

I checked the indent fix into the wrong branch in my repo.  It's in the other 
patch.  I could fix that if desired.

The reason for making the base class public is to allow subclassing.  Perhaps 
that is not needed for Compat32, though.

I don't think that the policy argument obsoletes the existing method options.  
It is easier to write:

  gen.flatten(msg, linesep='\r\n')

than it is to write

  gen.flatten(msg, policy=msg.policy.clone(linesep='\r\n'))

That is, when you want to make a change in just one method call, as opposed to 
globally, then the existing arguments are more convenient.

That said, a section in What's New describing when it might be a good idea to 
move to a global policy setting vs using the existing arguments may be 
worthwhile.

--

___
Python tracker 

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



[issue12947] doctest directive examples in library/doctest.html lack the flags

2012-05-20 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

The directives should normally be stripped, but not when they are intentionally 
given to teach their existence, syntax, and use, as in the doctest doc on 
directives.

I opened (and closed -- am trying to anyway) a duplicate, #14865. The problem 
of directive stripping started in 3.2.0 and subsequently 2.7.3 (after 2.7.2 in 
June 2011) and contiues in 3.3.0. Sandro Tosi noted

[1] 
https://bitbucket.org/birkenfeld/sphinx/issue/169/strip-doctest-csomments-in-rendered-output
[2] https://bitbucket.org/birkenfeld/sphinx/changeset/d91bf8e465ef
Issue and commit from June 2009.

My question is whether the added true-by-default ``trim_doctest_flags`` config 
value can just be added to doctest.rst? That would seem to be the point of 
having a settable config value, but I am ignorant of how sphinx works. I see 
that the patch does that, but also a lot more.

In any case, this is a nasty regression in the docs and should be fixed somehow 
before the next releases. It makes the examples actively confusing.

--
nosy: +terry.reedy

___
Python tracker 

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



[issue9554] test_argparse.py: use new unittest features

2012-05-20 Thread Radu Voicilas

Radu Voicilas  added the comment:

The patch is still valid - it applies ok. The only issues as mentioned by 
sandro.tosi are offsets and that it was generated inside Lib/

It would be worth having these changes applied.

--
nosy: +raduv

___
Python tracker 

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



[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

Thanks for discovering that. I did not search well enough.

--
resolution:  -> duplicate
stage: needs patch -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue14865] #doctest: directives removed from doctest chapter examples

2012-05-20 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
superseder:  -> doctest directive examples in library/doctest.html lack the 
flags

___
Python tracker 

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



[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-20 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
components: +Interpreter Core
stage:  -> patch review
type:  -> crash
versions: +Python 3.3

___
Python tracker 

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



[issue14757] INCA: Inline Caching meets Quickening in Python 3.3

2012-05-20 Thread Meador Inge

Changes by Meador Inge :


--
nosy: +meador.inge

___
Python tracker 

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



[issue12355] Crawler doesn't follow redirection

2012-05-20 Thread Radu Voicilas

Radu Voicilas  added the comment:

I can no longer reproduce the issue on tip. Here's the output I get trying to 
do c.get_releases('webob'):

$ ./python issue12355.py 
version has not been parsed: WebOb-0.8.3-py2.5
version has not been parsed: WebOb-0.9.1-py2.4
version has not been parsed: WebOb-0.8-py2.4
version has not been parsed: WebOb-0.8.4-py2.5
version has not been parsed: WebOb-0.8.4-py2.4
version has not been parsed: WebOb-0.8.5-py2.4
version has not been parsed: WebOb-0.9-py2.4
version has not been parsed: WebOb-0.8.5-py2.5
version has not been parsed: WebOb-0.9.1-py2.5
version has not been parsed: WebOb-0.8.3-py2.4
version has not been parsed: WebOb-0.8.1-py2.4
version has not been parsed: WebOb-0.8.2-py2.4
version has not been parsed: WebOb-0.9-py2.5
version has not been parsed: WebOb-0.8.2-py2.5
[103083 refs]

--
nosy: +raduv

___
Python tracker 

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



[issue1767933] Badly formed XML using etree and utf-16

2012-05-20 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Here is updated patch, with tests and support of objects with only 'write' 
method.

--
Added file: http://bugs.python.org/file25652/etree_write_utf16_2.patch

___
Python tracker 

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



[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

2012-05-20 Thread Zbyszek Jędrzejewski-Szmek

Zbyszek Jędrzejewski-Szmek  added the comment:

A new version of the tests: one for 'python -X faulthandler', one for 
'PYTHONFAULTHANDLER=1 python'. This one sets the environment properly for the 
second test, but is slightly more invasive.

Both tests fail without Antoine's patch, and both succeed when it is applied.

--
Added file: http://bugs.python.org/file25653/issue14854_faulthandler_tests.diff

___
Python tracker 

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



[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Sandro Tosi

Sandro Tosi  added the comment:

I'm attaching a very preliminary draft of the howto, any comment is welcome. Of 
course, it misses several references to the API doc; I'll see if I can beat 
Georg and post a preliminary version of that too :)

--
keywords: +patch
nosy: +sandro.tosi
Added file: http://bugs.python.org/file25654/issue14814-ipaddress-howto.diff

___
Python tracker 

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



[issue14674] Add link to RFC 4627 from json documentation

2012-05-20 Thread Chris Rebert

Chris Rebert  added the comment:

So, does the refactored patch need any further revising, or is it good to go?

--

___
Python tracker 

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



[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-20 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

I don't think it is a good idea to expand to the pop/popitem docs this way.  
The text is not about what pop/popitem does, it is about what another 
hypothetical method might do.  The text would be a distractor from the focused 
description of what pop/popitem actually do.  Also, it would face 
discoverability problems (there is no reason to think that someone who wants a 
nonmutating getfirst() method would think to look in the docs for a mutating 
method).

Also, the text talks about a general purpose programming technique (how to get 
the first element out of *any* iterable without removing it).  That belongs in 
a tutorial entry or a summary of idioms.

FWIW, the "several requests for set.get" haven't been serious requests 
accompanied by valid use cases.  Instead, they have mostly been toy discussions 
about all the ways you could do it ("for x in s: break",  "next(iter(s))", 
"x=s.pop(); s.add(x)").   The absence of get() or pick() in other language's 
set implementations suggest that there isn't a real need here.

That said, I don't think there is much of a downside to adding a sentence to 
the set.pop() docs.   It would be a waste though to also put it in dict.pop() 
and dict.popitem() where the question never seems to arise and where the docs 
already have issues with trying to over describe what can be done.

--

___
Python tracker 

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



[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-20 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

Raymond, I pretty much agree with your points and would be happy either with 
rejection or one simple sentence.  This idiom really belongs in a hypothetical 
how-to, such as 'Python iterators and generators'. The real use case for 
it=iter() followed by next(it) it to treat the first item of a collection 
specially before scanning the rest in a for loop.

--

___
Python tracker 

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



[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-20 Thread R. David Murray

Changes by R. David Murray :


Removed file: http://bugs.python.org/file25646/email6.patch

___
Python tracker 

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



[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-20 Thread R. David Murray

Changes by R. David Murray :


Added file: http://bugs.python.org/file25655/email6.patch

___
Python tracker 

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



[issue14836] Add next(iter(o)) to set.pop, dict.popitem entries.

2012-05-20 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
resolution:  -> rejected
status: open -> closed

___
Python tracker 

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



[issue2975] VS8 include dirs grow without bound

2012-05-20 Thread Scott Dial

Scott Dial  added the comment:

I was looking through old issues I had commented on and saw that my patch was 
never applied. The current tip of the codebase still has the redundant 
"removeDuplicates" function. Not a big deal, just a little extra noise in the 
code. Probably not worth opening a new ticket for it, but I'd thought I'd ping 
the nosies (Amaury).

--

___
Python tracker 

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



[issue1105770] null source chars handled oddly by tokenize

2012-05-20 Thread Alexandre Zani

Changes by Alexandre Zani :


--
nosy: +Alexandre.Zani

___
Python tracker 

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



[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-20 Thread Alexandre Zani

Changes by Alexandre Zani :


--
nosy: +Alexandre.Zani

___
Python tracker 

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



[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-20 Thread Nick Coghlan

Nick Coghlan  added the comment:

Review comments from Terry Reedy:
http://mail.python.org/pipermail/python-dev/2012-May/119548.html

The PEP review focused mainly on the API, Terry's comments focus on code 
readability and the docstrings.

--
assignee:  -> ncoghlan

___
Python tracker 

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



[issue4851] xml.dom.minidom.Element.cloneNode fails with AttributeError

2012-05-20 Thread Éric Araujo

Changes by Éric Araujo :


--
keywords: +needs review
stage: needs patch -> patch review
versions: +Python 3.3 -Python 3.1

___
Python tracker 

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



[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread ドミトリ ステパヌシキン

New submission from ドミトリ ステパヌシキン :

I trying to make minimal part of Python to work as part (static library) of my 
iOS application for internal scripting. I used configure under Mac OS X(10.7) 
and it was successful. Then I got compilable and linkable XCode project very 
fast.
The problem is, when I trying to use Python by 
Py_NoSiteFlag=1;
Py_Initialize();
it fails with error "Fatal Python error: exceptions bootstrapping error." 
inside _PyExc_Init().
I tried to debug it, but unfortunately I cant understand why it fails. May be 
bacause I noob in Python source, but anyway, I need to port it. Tried 2.7.3, or 
latest 3.x, it was the same result as above. Any solution or hint will be very 
helpful.

Best Regards

--
assignee: ronaldoussoren
components: Interpreter Core, Macintosh
messages: 161244
nosy: ronaldoussoren, ドミトリ.ステパヌシキン
priority: normal
severity: normal
status: open
title: 2.x,3.x iOS static build: Fatal Python error: exceptions bootstrapping 
error.
type: crash
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4

___
Python tracker 

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



[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread ドミトリ ステパヌシキン

Changes by ドミトリ ステパヌシキン :


--
versions:  -Python 3.1, Python 3.3, Python 3.4

___
Python tracker 

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



[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread ドミトリ ステパヌシキン

Changes by ドミトリ ステパヌシキン :


Added file: http://bugs.python.org/file25657/config.c

___
Python tracker 

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



[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread ドミトリ ステパヌシキン

ドミトリ ステパヌシキン  added the comment:

Call stack:
#00x300cba1c in __pthread_kill ()
#10x362e43ba in pthread_kill ()
#20x362dcbfe in abort ()
#30x00127d96 in Py_FatalError at 
/Users/mac_user/Downloads/Python-3.2.3/IOS/pythoncore/../../Python/pythonrun.c:2169
#40x00155328 in _PyExc_Init at 
/Users/mac_user/Downloads/Python-3.2.3/IOS/pythoncore/../../Objects/exceptions.c:2042
#50x00127ad4 in Py_InitializeEx at 
/Users/mac_user/Downloads/Python-3.2.3/IOS/pythoncore/../../Python/pythonrun.c:272
#60x0012846a in Py_Initialize at 
/Users/mac_user/Downloads/Python-3.2.3/IOS/pythoncore/../../Python/pythonrun.c:332
#70x000d6242 in testpython at 
/Users/mac_user/Downloads/Python-3.2.3/IOS/test/test/testmac.c:15
#80x000d618e in -[ViewController viewDidLoad] at 
/Users/mac_user/Downloads/Python-3.2.3/IOS/test/test/ViewController.m:23
#90x3283ff0e in -[UIViewController view] ()
#100x3283e2b4 in -[UIWindow addRootViewControllerViewIfPossible] ()
#110x3283a332 in -[UIWindow _setHidden:forced:] ()
#120x3283e28e in -[UIWindow _orderFrontWithoutMakingKey] ()
#130x3284cc60 in -[UIWindow makeKeyAndVisible] ()
#140x000d5ffe in -[AppDelegate 
application:didFinishLaunchingWithOptions:] at 
/Users/mac_user/Downloads/Python-3.2.3/IOS/test/test/AppDelegate.m:35
#150x3283e820 in -[UIApplication 
_callInitializationDelegatesForURL:payload:suspended:] ()
#160x32838b64 in -[UIApplication 
_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] ()
#170x3280d7d6 in -[UIApplication handleEvent:withNewEvent:] ()
#180x3280d214 in -[UIApplication sendEvent:] ()
#190x3280cc52 in _UIApplicationHandleEvent ()
#200x322b7e76 in PurpleEventCallback ()
#210x3113ba96 in 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#220x3113d83e in __CFRunLoopDoSource1 ()

--

___
Python tracker 

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



[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread ドミトリ ステパヌシキン

Changes by ドミトリ ステパヌシキン :


Added file: http://bugs.python.org/file25656/pyconfig.h

___
Python tracker 

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



[issue14866] 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread ドミトリ ステパヌシキン

Changes by ドミトリ ステパヌシキン :


Added file: http://bugs.python.org/file25658/Python-3.2.3.tar.bz2

___
Python tracker 

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



[issue14862] fdopen not listed in __all__ of os.py

2012-05-20 Thread Petri Lehtinen

Petri Lehtinen  added the comment:

> While this is technically probably a bug, I'm -0 on fixing it in bugfix
> releases, as it has the risk of breaking working code.

I don't feel strongly about in which release this should be fixed, but
can you give me an example of how it could break working code?

--

___
Python tracker 

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



[issue14611] inspect.getargs fails on some anonymous tuples

2012-05-20 Thread Éric Araujo

Changes by Éric Araujo :


--
keywords: +needs review
stage: needs patch -> patch review

___
Python tracker 

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



[issue9554] test_argparse.py: use new unittest features

2012-05-20 Thread Éric Araujo

Éric Araujo  added the comment:

Another one:

 except ArgumentParserError:
 err = sys.exc_info()[1]

This reeks of single-codebase-for-2.x-and-3.x and could probably be replaced by 
assertRaises or at least a regular except...as.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue14867] chm link missing from 2.7 download page

2012-05-20 Thread Nacsa Kristóf

New submission from Nacsa Kristóf :

The link `http://python.org/ftp/python/2.7.3/python273.chm` is missing from 
`http://python.org/download/releases/2.7.3/` although the checksum is listed 
and the file exists.

--
assignee: docs@python
components: Documentation, Installation, Windows
messages: 161248
nosy: Nacsa.Kristóf, docs@python
priority: normal
severity: normal
status: open
title: chm link missing from 2.7 download page
versions: Python 2.7

___
Python tracker 

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



[issue14867] chm link missing from 2.7 download page

2012-05-20 Thread Nacsa Kristóf

Changes by Nacsa Kristóf :


--
components:  -Installation, Windows
type:  -> enhancement

___
Python tracker 

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



[issue4849] instantiating and populating xml.dom.minidom.Element is cumbersome

2012-05-20 Thread Éric Araujo

Changes by Éric Araujo :


--
keywords: +easy
versions: +Python 3.3 -Python 3.2

___
Python tracker 

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