[issue15873] "datetime" cannot parse ISO 8601 dates and times

2012-10-31 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 

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



[issue16378] venv.EnvBuilder docstring inconsistencies

2012-10-31 Thread Éric Araujo

Éric Araujo added the comment:

Tagging for the bug day.

--
keywords: +easy
nosy: +eric.araujo, vinay.sajip

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Raymond, did you mean to send that to another issue?

--

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Raymond Hettinger

Raymond Hettinger added the comment:

The text is now correct and matches the spec:  
http://speleotrove.com/decimal/daops.html#refremnear

The doctests should be expanded to show all of the examples listed in that 
document:

  remainder-near(’2.1’, ’3’)==>  ’-0.9’
  remainder-near(’10’, ’6’) ==>  ’-2’
  remainder-near(’10’, ’3’) ==>  ’1’
  remainder-near(’-10’, ’3’)==>  ’-1’
  remainder-near(’10.2’, ’1’)   ==>  ’0.2’
  remainder-near(’10’, ’0.3’)   ==>  ’0.1’
  remainder-near(’3.6’, ’1.3’)  ==>  ’-0.3’

--

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Raymond Hettinger

Raymond Hettinger added the comment:

I'm going to close this one.  It *really* would need a PEP before going 
forward.  There are many issues to consider:  being able to google for an 
exception message, doctest issues, maintainability issues, etc.

--
nosy: +rhettinger
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



[issue8743] set() operators don't work with collections.Set instances

2012-10-31 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
assignee: stutzbach -> rhettinger

___
Python tracker 

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



[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
assignee:  -> rhettinger
nosy: +rhettinger

___
Python tracker 

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



[issue14803] Add feature to allow code execution prior to __main__ invocation

2012-10-31 Thread Bradley Froehle

Changes by Bradley Froehle :


--
nosy: +bfroehle

___
Python tracker 

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



[issue16378] venv.EnvBuilder docstring inconsistencies

2012-10-31 Thread Bradley Froehle

New submission from Bradley Froehle:

Consider the docstring for venv.EnvBuilder::

By default, the builder makes the system (global) site-packages dir
available to the created environment.

By default, the creation process uses symlinks wherever possible.

It seems to suggest that the `system_site_packages` and `symlink` parameters 
both default to True, even though the default values for each are False.

The docstring for venv.create is similarly misleading.

--
assignee: docs@python
components: Documentation
messages: 174388
nosy: bfroehle, docs@python
priority: normal
severity: normal
status: open
title: venv.EnvBuilder docstring inconsistencies
versions: 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



[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset fbfaef0a9c00 by Benjamin Peterson in branch 'default':
point errors related to nonlocals and globals to the statement declaring them 
(closes #10189)
http://hg.python.org/cpython/rev/fbfaef0a9c00

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



[issue16366] _handleError not very informative

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d7b868cdd9bb by Vinay Sajip in branch 'default':
Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine Pitrou 
for the suggestion.
http://hg.python.org/cpython/rev/d7b868cdd9bb

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



[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Berker Peksag

Berker Peksag added the comment:

> Cannot reproduce that with Ubuntu 12.04.

+1.

Attached a reproducer.

--
nosy: +berker.peksag
Added file: http://bugs.python.org/file27819/reproducer.py

___
Python tracker 

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



[issue16374] ConfigParser: Passing a semicolon as a value

2012-10-31 Thread Michael Grünewald

Michael Grünewald added the comment:

Cannot reproduce that with Ubuntu 12.04. Python 2.7 returned ";" under both 
Windows 7 and Ubuntu 12.04.

Can you verify that there was no space before the semicolon? Otherwise the 
semicolon gets treated as the beginning of an inline comment.

--
nosy: +michaelgruenewald

___
Python tracker 

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



[issue16335] Integer overflow in unicode-escape decoder

2012-10-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

> MemoryError

It's because you need >4GB for source bytes + at least >8GB (>12GB on Windows) 
for temporary UCS2 string.

--

___
Python tracker 

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



[issue9742] Python 2.7: math module fails to build on Solaris 9

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

Reopening because I think I may have an easy solution.  Is there anyone who can 
reproduce the problem who could test the attached patch (against 2.7) to see if 
it solves the issue?

--
assignee:  -> mark.dickinson
resolution: out of date -> 
status: closed -> open
Added file: http://bugs.python.org/file27818/issue9742.patch

___
Python tracker 

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



[issue16335] Integer overflow in unicode-escape decoder

2012-10-31 Thread STINNER Victor

STINNER Victor added the comment:

I have 12 GB of RAM. Let's test.

$ ./python 
Python 3.4.0a0 (default:8573a86c11b5+, Oct 31 2012, 22:17:00) 
[GCC 4.6.3 20120306 (Red Hat 4.6.3-2)] on linux
>>> x=(b'\\N{WHITE SMILING FACE' + b'x' * 2**32 + b'}')
>>> len(x)
4294967318
>>> y=x.decode('unicode-escape')
Traceback (most recent call last):
  File "", line 1, in 
MemoryError

There is no crash, but it would be better to get a SyntaxError("(unicode error) 
'unicodeescape' codec can't decode bytes in position 0-6: unknown Unicode 
character name") instead.

I propose to only fix this issue in Python 3.4.

--

___
Python tracker 

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



[issue15441] test_posixpath fails on Japanese edition of Windows

2012-10-31 Thread STINNER Victor

STINNER Victor added the comment:

> If a file name was invalid byte character,
> os.chdir() raises UnicodeDecodeError() instead of WindowsError.

I believe this case is not handled correctly in Python 3.4 (version under 
development) thanks to my work on issue #15478.

Thanks for the report Atsuo Ishimoto! Don't hesitate to report other similar 
issue ;-)

--

___
Python tracker 

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



[issue15441] test_posixpath fails on Japanese edition of Windows

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b3434c1ae503 by Victor Stinner in branch 'default':
Issue #15441, #15478: Reenable test_nonascii_abspath() on Windows
http://hg.python.org/cpython/rev/b3434c1ae503

--

___
Python tracker 

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



[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b3434c1ae503 by Victor Stinner in branch 'default':
Issue #15441, #15478: Reenable test_nonascii_abspath() on Windows
http://hg.python.org/cpython/rev/b3434c1ae503

--

___
Python tracker 

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



[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-10-31 Thread STINNER Victor

STINNER Victor added the comment:

All issues should now be fixed.

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



[issue14894] distutils.LooseVersion fails to compare number and a word

2012-10-31 Thread Dwayne Litzenberger

Dwayne Litzenberger added the comment:

As far as a real-world example is concerned, if you're using git-describe to 
generate your version numbers, you can pretty easily end up with something like 
"ab25c6fe95ee92fac3187dcd90e0560ccacb084a".

--
nosy: +DLitz

___
Python tracker 

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



[issue8743] set() operators don't work with collections.Set instances

2012-10-31 Thread Andrew Svetlov

Changes by Andrew Svetlov :


--
nosy: +asvetlov

___
Python tracker 

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



[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6903f5214e99 by Victor Stinner in branch 'default':
Issue #15478: Use source filename in OSError, not destination filename
http://hg.python.org/cpython/rev/6903f5214e99

--

___
Python tracker 

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



[issue9742] Python 2.7: math module fails to build on Solaris 9

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

Looking back at the discussion, I think I got this bit wrong:

"the round function is needed, and used, in Objects/floatobject.c (that is, if 
PY_NO_SHORT_FLOAT_REPR is *not* defined;"

In fact, the round function is used if PY_NO_SHORT_FLOAT_REPR *is* defined, and 
is unused otherwise.  So indeed nothing from pymath.o is used in the rest of 
the Python core.

--

___
Python tracker 

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



[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 13ebaa36d87d by Victor Stinner in branch 'default':
Issue #15478: Use path_error() in more posix functions, especially in Windows
http://hg.python.org/cpython/rev/13ebaa36d87d

New changeset 9f696742dbda by Victor Stinner in branch 'default':
Issue #15478: Fix again to fix test_os on Windows
http://hg.python.org/cpython/rev/9f696742dbda

--

___
Python tracker 

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



[issue13659] Add a help() viewer for IDLE's Shell.

2012-10-31 Thread Roger Serwy

Roger Serwy added the comment:

The attached patch ("issue13659.patch") adds a configuration option for 
selecting the output of help() as being in the shell or in the pager. It is an 
enhancement against 3.4.

Another possibility involves adding a checkable menu item under "Options" or 
"Help" to enable/disable the help pager.

Please review.

--
stage: needs patch -> patch review
versions: +Python 3.4 -Python 3.3
Added file: http://bugs.python.org/file27817/issue13659.patch

___
Python tracker 

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



[issue16377] Fix bisect unittest

2012-10-31 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Thanks, Mark. I've missed it.

--

___
Python tracker 

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



[issue16377] Fix bisect unittest

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

(also in 2.7 :-)

--
nosy: +mark.dickinson

___
Python tracker 

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



[issue16377] Fix bisect unittest

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 8296b686c6de by Mark Dickinson in branch '2.7':
Issue #16377: fix missed test due to incorrect indentation in test_bisect.  
Thanks Yury Selivanov.
http://hg.python.org/cpython/rev/8296b686c6de

--

___
Python tracker 

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



[issue16377] Fix bisect unittest

2012-10-31 Thread Andrew Svetlov

Changes by Andrew Svetlov :


--
stage:  -> committed/rejected

___
Python tracker 

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



[issue16377] Fix bisect unittest

2012-10-31 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Fixed. Thanks, Yury.

--
components: +Library (Lib)
nosy: +asvetlov
resolution:  -> fixed
status: open -> closed
type:  -> enhancement
versions: +Python 3.2, Python 3.4

___
Python tracker 

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



[issue16377] Fix bisect unittest

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 838e2b19489e by Andrew Svetlov in branch '3.2':
Issue #16377: Fix bisect unittest.
http://hg.python.org/cpython/rev/838e2b19489e

New changeset f3dd84feeb58 by Andrew Svetlov in branch '3.3':
Merge issue #16377: Fix bisect unittest.
http://hg.python.org/cpython/rev/f3dd84feeb58

New changeset 016d1a1fd601 by Andrew Svetlov in branch 'default':
Merge issue #16377: Fix bisect unittest.
http://hg.python.org/cpython/rev/016d1a1fd601

--
nosy: +python-dev

___
Python tracker 

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



[issue11566] hypot define in pyconfig.h clashes with g++'s cmath

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

Is this also an issue for Python 3.x?

--

___
Python tracker 

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



[issue16377] Fix bisect unittest

2012-10-31 Thread Yury Selivanov

New submission from Yury Selivanov:

TestInsort.test_vsBuiltinSort is a bit broken, as it doesn't test insorting 
`list` objects.

Patch attached.

--
files: test_bisect.patch
keywords: patch
messages: 174365
nosy: christian.heimes, georg.brandl, rhettinger, yselivanov
priority: normal
severity: normal
status: open
title: Fix bisect unittest
versions: Python 3.3
Added file: http://bugs.python.org/file27816/test_bisect.patch

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Terry J. Reedy

Terry J. Reedy added the comment:

An additional reason to keep English error messages always is that they are not 
just printed. They are part of the args tuple attribute of exception objects. 
Code that processes exception messages could break if the English version is 
replaced. Doctests are only one example. This consideration suggests that 
translations, if done at exception creation, should be an optional last member 
of args or an optional attribute, such as .altmsg. I agree than any change 
should follow PEP approval.

--

___
Python tracker 

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



[issue14900] cProfile does not take its result headers as sort arguments

2012-10-31 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Fixed. For future improvements please open new issue.
Thanks.

--
components: +Documentation
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed
type:  -> enhancement
versions: +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



[issue14900] cProfile does not take its result headers as sort arguments

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f263a84871de by Andrew Svetlov in branch '2.7':
Issue #14900: document added sort keys for profile stats.
http://hg.python.org/cpython/rev/f263a84871de

New changeset 52d6974fa05b by Andrew Svetlov in branch '3.2':
Issue #14900: document added sort keys for profile stats.
http://hg.python.org/cpython/rev/52d6974fa05b

New changeset 78963f00d4ad by Andrew Svetlov in branch '3.3':
Merge issue #14900: document added sort keys for profile stats.
http://hg.python.org/cpython/rev/78963f00d4ad

New changeset dd4783955353 by Andrew Svetlov in branch 'default':
Issue #14900: document added sort keys for profile stats.
http://hg.python.org/cpython/rev/dd4783955353

--

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Terry J. Reedy

Terry J. Reedy added the comment:

What Ezio suggested, plus maybe the error name -- but people must learn those 
to write exception statements, and a translation of the exceptions section of 
the lib manual is really needed to understand them.

The boilerplate lines "Traceback (most recent call last):" and "File {}, line 
{}, in {}" can be learned" (or even translated, though 'traceback', 'call', 
'file', 'line', and 'in' pretty much need to be learned anyway).

Once a hook is added and a file format is defined, if such are, then I think 
core-developer responsibility ends and language-specific files should be on 
pypi and maintained by language-specific groups.

--

___
Python tracker 

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



[issue16367] io.FileIO.readall() is not 64-bit safe on Windows

2012-10-31 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Looks ok to me. Perhaps we could add a bigmem test for that (in test_fileio)?

--

___
Python tracker 

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



[issue15795] Zipfile.extractall does not preserve file permissions

2012-10-31 Thread R. David Murray

R. David Murray added the comment:

OK, so this is an enhancement to specifically allow preservation of "unsafe" 
permissions?

Adding the nosy list from issue 3394.

--
nosy: +cbrannon, pitrou, swarren
type: behavior -> enhancement
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



[issue16348] Decimal.remainder_near documentation incorrect.

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

Thanks for reviewing, Andrew.

--
assignee: docs@python -> mark.dickinson
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



[issue16348] Decimal.remainder_near documentation incorrect.

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1122f5bfc957 by Mark Dickinson in branch '2.7':
Issue #16348: Fix incorrect documentation for Decimal.remainder_near.
http://hg.python.org/cpython/rev/1122f5bfc957

New changeset 8570943ad5a2 by Mark Dickinson in branch '3.2':
Issue #16348: Fix incorrect documentation for Decimal.remainder_near.
http://hg.python.org/cpython/rev/8570943ad5a2

New changeset 9dc587378874 by Mark Dickinson in branch '3.3':
Issue #16348: merge fix from 3.2.
http://hg.python.org/cpython/rev/9dc587378874

New changeset 7b36ed59738c by Mark Dickinson in branch 'default':
Issue #16348: merge fix from 3.3.
http://hg.python.org/cpython/rev/7b36ed59738c

--
nosy: +python-dev

___
Python tracker 

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



[issue15795] Zipfile.extractall does not preserve file permissions

2012-10-31 Thread Aaron Train

Aaron Train added the comment:

Thanks for the patch. Is this going to be resolved soon?

--
nosy: +Aaron.Train

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread R. David Murray

R. David Murray added the comment:

Ezio: ah.  I guess I don't read the Description column of attachments, only the 
filename :)

--

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread R. David Murray

R. David Murray added the comment:

I didn't look at the patch...I assumed we were only talking about the message.  
There seems little point in translating any other part of the traceback, other 
than maybe the boilerplate between traceback sections.  My thought was that the 
translation text for a message X would look something like

  X (translatedX)

or vice versa.

Note that I'm not advocating in favor of either doing this at all, or doing the 
dual message display.  I'm currently neutral on both.

--

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Ezio Melotti

Ezio Melotti added the comment:

If only the error gets translated it might look more or less like:

Traceback (most recent call last):
  File "form.py", line 78, in 
f = Form("factura.csv")
  File "form.py", line 12, in __init__
for linea in open(infile).readlines():
IOError: [Errno 2] No such file or directory: 'factura.csv'
 [Errno 2] No existe el archivo o directorio: 'factura.csv'

@RDM
The PEP is already attached to the issue :)

@Mariano
Do you think it's possible to make this an external module?
Otherwise we could provide some hooks, and have language packages maintained by 
the community on PyPI.

--

___
Python tracker 

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



[issue16345] dict.fromkeys() assumes 'self' is empty

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a965eac352ec by Benjamin Peterson in branch '3.2':
only fast-path fromkeys() when the constructor returns a empty dict (closes 
#16345)
http://hg.python.org/cpython/rev/a965eac352ec

New changeset b68da8f2ed95 by Benjamin Peterson in branch '3.3':
merge 3.2 (#16345)
http://hg.python.org/cpython/rev/b68da8f2ed95

New changeset 411d52192062 by Benjamin Peterson in branch 'default':
merge 3.3 (#16345)
http://hg.python.org/cpython/rev/411d52192062

New changeset 6a582cdfee41 by Benjamin Peterson in branch '2.7':
only fast-path fromkeys() when the constructor returns a empty dict (closes 
#16345)
http://hg.python.org/cpython/rev/6a582cdfee41

--
nosy: +python-dev
resolution:  -> fixed
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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Georg Brandl

Georg Brandl added the comment:

How do you propose to output both versions?  It will make tracebacks twice as 
long.

--

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread R. David Murray

R. David Murray added the comment:

It seems to me that if as Terry suggests both the English and the translation 
are output then most of Ezio's concerns would be addressed.  Maybe we could 
even start a new trend in error message internationalization :)

An important question that needs to be addressed is what additional burden this 
places on maintaining Python (keep in mind that it looks like we'd be the first 
programming language to do this), and who is going to do the maintenance.  

Mariano, how committed are you to maintaining it long term?

This is clearly going to need a PEP, so if the python-ideas discussion has 
already happened, that is really the next step.  We aren't going to resolve the 
yes or no question (not to mention the details) for something this fundamental 
without a PEP, I think.

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

Fixed the unuse of decorator syntax.  I think the dummy_threading changes 
should be considered a separate issue.

With regards to the patch:  I assume you mean "import dummy_threading as 
threading" rather than just "import dummy_threading".  Also, it looks to me as 
though test_decimal would need updating too to do the correct thing when the 
threading module isn't present.

Closing this issue as fixed;  please open a new issue for the dummy_threading 
if you think it's worth pursuing.

--
assignee: rhettinger -> mark.dickinson
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



[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thanks.

--

___
Python tracker 

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



[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
stage: needs patch -> committed/rejected

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7ada0faded9b by Mark Dickinson in branch 'default':
Issue #13701: Fix decorator avoidance (due to desire for Python 2.3 
compatibility) in decimal module.
http://hg.python.org/cpython/rev/7ada0faded9b

--
nosy: +python-dev

___
Python tracker 

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



[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Patch updated with test which does not rely on set behaviour.

--
Added file: 
http://bugs.python.org/file27815/abc_set_issuperset_recursion_2.patch

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Ezio Melotti

Ezio Melotti added the comment:

> This sounds like wishful thinking to me. Regardless of whether it's
> *better* for a fledgling programmer to learn and improve their English,
> we can still improve Python right now for those who don't master English.

True, but my point is that while this has some short term benefits, it's worse 
on the long term, and potentially even more confusing.

> That will be true if translations are enabled by default, not if they
> need some explicit configuration switch to be enabled.

They usually are (at least for other tools like mercurial).  I can see OS 
vendors enabling this by default.

> Well, even technical tools like gcc or Mercurial have translations
> these days (not always very good ones, admittedly, but I don't see
> anyone advocating for these translations to be removed).

Maybe someone advocated for them not to be added? :)

> That's not really a problem. People teaching Python in a language
> other than English can certainly create their own teaching resources
> (and, ideally, share them on the Internet :-)).

Or use the already existing resources found on Internet (mostly in English :))?

--

___
Python tracker 

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



[issue16136] Removal of VMS support

2012-10-31 Thread Trent Nelson

Trent Nelson added the comment:

Ah, I forgot about the VOE stuff.  That will work a lot better.  I'll still 
need to acquire VMS media though.

You're not a committer are you?  I can sort you out with access to Snakebite 
anyway -- email me your ssh key if you're interested (trent at snakebite.org).

I'd recommend dropping by #python-dev on irc.freenode.net too.

--

___
Python tracker 

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



[issue16344] Traceback Internationalization Proposal

2012-10-31 Thread Antoine Pitrou

Antoine Pitrou added the comment:

> > Those that continues working on programming will surely be exposed
> > sooner or later to formal technical English course at University or
> > similar.
> 
> The sooner they get exposed to English the better it is.  The best
> way to learn a language is by using it, and IMHO technical English
> is even easier than "normal" English (and often even than native
> language).

This sounds like wishful thinking to me. Regardless of whether it's
*better* for a fledgling programmer to learn and improve their English,
we can still improve Python right now for those who don't master English.

> > But, if they don't continue their studies, or choose a different
> > career, maybe their English skill will never be enough.
> 
> I think that nowadays anyone should learn English anyway, and the
> more you translate the more you make their lives difficult, because
> you confine them to a restricted subset of all the available
> information (this is getting off-topic though).

That will be true if translations are enabled by default, not if they
need some explicit configuration switch to be enabled.

> > Here, as you point, translation poses a new perspective, why take
> > that as a threat instead of an opportunity to bring better
> > messages?
> 
> This is a different problem though.  Python (and programming in
> general) has its own jargon, and the jargon provides a concise way
> to refer to specific concepts (e.g. tuple-unpacking).  While it
> certainly shouldn't be abused, it's often more convenient to use it.
>  Creating a new localized jargon also doesn't help, and it only
> makes things more complicated.

Well, even technical tools like gcc or Mercurial have translations
these days (not always very good ones, admittedly, but I don't see
anyone advocating for these translations to be removed).

> > At least some part should be translated too, as for example, the
> > Python Tutorial was translated by the local community to Spanish:
> > http://docs.python.org.ar/tutorial/contenido.html
> 
> But this is just a part, has not been updated in over 2 years, and
> doesn't even cover Python 3.

That's not really a problem. People teaching Python in a language
other than English can certainly create their own teaching resources
(and, ideally, share them on the Internet :-)).

--

___
Python tracker 

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



[issue16375] Warning in Parser/grammar1.c

2012-10-31 Thread Benjamin Peterson

Benjamin Peterson added the comment:

e87d617cef23

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



[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Benjamin Peterson

Benjamin Peterson added the comment:

Oops, that was supposed to go to #16375.

--

___
Python tracker 

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



[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e87d617cef23 by Benjamin Peterson in branch 'default':
make PyGrammar_LabelRepr return a const char * (closes #16369)
http://hg.python.org/cpython/rev/e87d617cef23

--

___
Python tracker 

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



[issue15873] "datetime" cannot parse ISO 8601 dates and times

2012-10-31 Thread flying sheep

flying sheep added the comment:

there is a module that parses those strings pretty nicely, it’s called 
pyiso8601: http://code.google.com/p/pyiso8601/

in the context of writing a better plistlib, i also needed the capability to 
parse those strings, and decided not to use the sucky incomplete implementation 
of plistlib, but the one mentioned above.

i py3ified it, eliminating quite some code, and the result is pretty terse, 
check it out: https://github.com/flying-sheep/plist/blob/master/iso8601.py

note that that implementation returns utc-datetimes for timezoneless strings, 
instead of naive ones. (l.30)

--
nosy: +flying sheep

___
Python tracker 

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



[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Committed. Thanks, Zachary!

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



[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2e7da832219d by Andrew Svetlov in branch '3.3':
Issue #16197: Fix several small errors in winreg documentation.
http://hg.python.org/cpython/rev/2e7da832219d

New changeset f1310219c702 by Andrew Svetlov in branch 'default':
Merge issue #16197: Fix several small errors in winreg documentation.
http://hg.python.org/cpython/rev/f1310219c702

--

___
Python tracker 

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



[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

issue15246 should add a place for such test.  I'm not sure that possible wrong 
behavior (which can be changed in issue8743) should be perpetuated in the tests.

--

___
Python tracker 

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



[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Zachary Ware

Zachary Ware added the comment:

v3 looks fine to me!

--

___
Python tracker 

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



[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2012-10-31 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +barry
versions: +Python 3.4 -Python 3.3

___
Python tracker 

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



[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

Even if not "needed" to be initialize, we might do it for regularity (no 
special cases are special enough :-). Or, if left alone, at least document it 
in the code.

--

___
Python tracker 

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



[issue8743] set() operators don't work with collections.Set instances

2012-10-31 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

Heads up, Issue #16373.

--

___
Python tracker 

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



[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

Serhiy Storchaka, I was wondering if you could provide a test for the testsuite 
too.

--

___
Python tracker 

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



[issue16376] wrong type for wintypes.BYTE

2012-10-31 Thread anatoly techtonik

New submission from anatoly techtonik:

Windows BYTE type is unsigned char, but ctypes defines it as signed.

{{{
BYTE
A byte (8 bits).
This type is declared in WinDef.h as follows:
typedef unsigned char BYTE;
typedef unsigned char BYTE;
}}}
http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx

http://hg.python.org/cpython/file/e5f39546989f/Lib/ctypes/wintypes.py#l4

--
components: ctypes
messages: 174331
nosy: techtonik
priority: normal
severity: normal
status: open
title: wrong type for wintypes.BYTE
versions: Python 2.7, Python 3.1, 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



[issue16373] Recursion error comparing set() and collections.Set instances

2012-10-31 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
keywords: +patch
title: Recursion error comparing set() and MutableMapping.keys() -> Recursion 
error comparing set() and collections.Set instances
Added file: http://bugs.python.org/file27814/abc_set_issuperset_recursion.patch

___
Python tracker 

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



[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Benjamin Peterson

Benjamin Peterson added the comment:

It doesn't need to be initialized.

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



[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-31 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Here is a patch which fixes this particular issue.  Now recursion avoided.  The 
specified operations raises TypeError.  Fixing this error (if it should be 
fixed) is the problem of issue8743.

--
stage:  -> patch review

___
Python tracker 

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



[issue16372] Initialization strange behavior

2012-10-31 Thread Wojciech Danilo

Wojciech Danilo added the comment:

Thank you!

--

___
Python tracker 

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



[issue16372] Initialization strange behavior

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

There's plenty of discussion of this feature of Python around the web, but this 
isn't the place to rehash it. :-)  Google for "python mutable default argument".

--

___
Python tracker 

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



[issue16373] Recursion error comparing set() and MutableMapping.keys()

2012-10-31 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
nosy: +jcea

___
Python tracker 

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



[issue8743] set() operators don't work with collections.Set instances

2012-10-31 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
nosy: +jcea

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

I'm not sure whether the patch fixes everything.
Gone to sleep.

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

Attached is a patch.
I haven't tested it.

--
keywords: +patch
Added file: http://bugs.python.org/file27813/decimal.patch

___
Python tracker 

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



[issue16372] Initialization strange behavior

2012-10-31 Thread Wojciech Danilo

Wojciech Danilo added the comment:

Wow, I was using Python so long and I didn't know about it. Is there any paper 
discussing why this feature is better than storing "cache" as global variable / 
as class "private" parameter?

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

On 31 October 2012 22:04, Mark Dickinson  wrote:

>
> Mark Dickinson added the comment:
>
> Revision fa959dc5c61d comes from the 2.7 maintenance branch.  Try:
>
>http://hg.python.org/cpython/file/e5f39546989f/Lib/decimal.py
>
> instead.  Better still, get a clone of the Python repository. :-)
>
> --
>
> ___
> Python tracker 
> 
> ___
>

clone is quite big (~300 MB->half an hour)
I know about the way to download the repo's tip as .tar.bz2

--

___
Python tracker 

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



[issue16197] Several small errors in winreg documentation

2012-10-31 Thread Andrew Svetlov

Andrew Svetlov added the comment:

I have updated patch.

--
Added file: http://bugs.python.org/file27812/winreg_3.3+v3.patch

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Zachary Ware

Zachary Ware added the comment:

> Odd.. I download decimal.py from 
> http://hg.python.org/cpython/file/fa959dc5c61d/Lib/decimal.py but it uses 
> "1L" (isn't py3k compliant)

Try http://hg.python.org/cpython/file/default/Lib/decimal.py

Clicking 'browse' from http://hg.python.org/cpython/ shows the source tree as 
it is in 'tip', which is sometimes 2.7 instead of default.

--
nosy: +zach.ware

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

Revision fa959dc5c61d comes from the 2.7 maintenance branch.  Try:

   http://hg.python.org/cpython/file/e5f39546989f/Lib/decimal.py

instead.  Better still, get a clone of the Python repository. :-)

--

___
Python tracker 

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



[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 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



[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

I think this is a legitimate security bug.
the malicious program needs to create a file with a certain name in the home 
dir.
If a user runs say IDLE (or another tk app) with root priveleges using sudo, 
the file will be run with root priveleges.

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

Odd.. I download decimal.py from 
http://hg.python.org/cpython/file/fa959dc5c61d/Lib/decimal.py but it uses "1L" 
(isn't py3k compliant)

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

Sorry it doesn't apply to anything at all.

--

___
Python tracker 

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



[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

Any option of having a test?

--

___
Python tracker 

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



[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-31 Thread Guilherme Polo

Guilherme Polo added the comment:

I can ignore it, but let us be honest. If you got sudo privilege already, why 
are you bothering to break (or whatever else) the system using IDLE ? The issue 
here did not give you the sudo privilege. If it did, then we have an actual 
security bug.

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

@Mark
>BTW, in an earlier comment you said: "now threading imports dummy_threading 
>when threading is not available".
My comment only applies to _thread.

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

Ignore earlier message.

--

___
Python tracker 

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



[issue16268] dir(closure) does not find __dir__

2012-10-31 Thread Jesús Cea Avión

Changes by Jesús Cea Avión :


--
nosy: +jcea

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ramchandra Apte

Ramchandra Apte added the comment:

Is there an equivalent of _dummy_thread for threading?

--

___
Python tracker 

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



[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-10-31 Thread Éric Araujo

Changes by Éric Araujo :


--
resolution:  -> wont fix
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



[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Jesús Cea Avión

Jesús Cea Avión added the comment:

Benjamin, 3.3/3.4 "PyDictDummy_Type" initialization is missing too. That code 
was introduced in 

"""
changeset:   76485:6e5855854a2e
user:Benjamin Peterson 
date:Mon Apr 23 11:24:50 2012 -0400
summary: Implement PEP 412: Key-sharing dictionaries (closes #13903)
"""

Reopening and assigning to you :-) (if you don't want to work on this, let me 
know)

--
assignee:  -> benjamin.peterson
nosy: +benjamin.peterson
resolution: fixed -> 
status: closed -> open
versions: +Python 2.7, Python 3.2, Python 3.4

___
Python tracker 

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



[issue16369] Global PyTypeObjects not initialized with PyType_Ready(...)

2012-10-31 Thread Roundup Robot

Roundup Robot added the comment:

New changeset abe8a2908f08 by Jesus Cea in branch '2.7':
Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). 
DOCUMENT IT!
http://hg.python.org/cpython/rev/abe8a2908f08

New changeset e9ea7f6a7107 by Jesus Cea in branch '3.2':
Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). 
DOCUMENT IT!
http://hg.python.org/cpython/rev/e9ea7f6a7107

New changeset 9a4e2d394ba0 by Jesus Cea in branch '3.3':
MERGE: Closes #16369: Global PyTypeObjects not initialized with 
PyType_Ready(...). DOCUMENT IT!
http://hg.python.org/cpython/rev/9a4e2d394ba0

New changeset e5f39546989f by Jesus Cea in branch 'default':
MERGE: Closes #16369: Global PyTypeObjects not initialized with 
PyType_Ready(...). DOCUMENT IT!
http://hg.python.org/cpython/rev/e5f39546989f

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

BTW, in an earlier comment you said: "now threading imports dummy_threading 
when threading is not available".

Do you mean that 'import threading' will always succeed, even on platforms 
built without thread support?  Is this documented somewhere?

The docs at http://docs.python.org/3.3/library/dummy_threading.html seem to say 
rather that dummy_threading still has to be imported explicitly.

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Mark Dickinson

Mark Dickinson added the comment:

It seems fine to me to change it for 3.4, assuming that the diff isn't huge.  
Spec updates don't seem likely, and even if they did occur I'd expect them to 
be small tweaks rather than major additions.

+0 from me.

--

___
Python tracker 

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



[issue13701] Remove Decimal Python 2.3 Compatibility

2012-10-31 Thread Ezio Melotti

Ezio Melotti added the comment:

That might be true for 2.7, but for 3.4 it can probably be changed.

--

___
Python tracker 

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



  1   2   >