[issue13290] get vars for object with __slots__

2012-10-06 Thread Michele Orrù

Michele Orrù added the comment:

As a reference, linking the discussion on python-dev. 
http://mail.python.org/pipermail/python-dev/2012-October/122011.html

--

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



[issue16112] platform.architecture does not correctly escape argument to /usr/bin/file

2012-10-06 Thread Marc-Andre Lemburg

Marc-Andre Lemburg added the comment:

Jesús Cea Avión wrote:
 
 Antoine, I agree. I beg your pardon. This patch was suppose to be quite 
 trivial, and test_platform passes just fine on my Linux and Solaris 
 computers. And the four buildbots I was monitoring, the testsuite passed.
 
 The suggestion of Marc-Andre of simply adding an os.access() to check for 
 file existence first is quite sensible and would be enough and compatible in 
 all platforms and python releases.
 
 I am for backing out my patches so far and push a simple os.access() check. 
 What do you think?.

At least for Python 2.7, I think that would be a nice and simple
solution.

 Marc-Andre, I was wondering if you could elaborate a bit why 2.7 platform.py 
 file should be able to run fine in 2.3 :-?

That only applies to the version in Python 2.x. Python 2.3 is perhaps
a bit extreme and I'd be fine with bumping it to 2.4.

The main reason for keeping the compatibility is that the module is
also being used outside the stdlib for Python versions starting from
2.4 and later. I don't want to maintain two separate versions.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Oct 06 2012)
 Python Projects, Consulting and Support ...   http://www.egenix.com/
 mxODBC.Zope/Plone.Database.Adapter ...   http://zope.egenix.com/
 mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/

2012-09-27: Released eGenix PyRun 1.1.0 ...   http://egenix.com/go35
2012-09-26: Released mxODBC.Connect 2.0.1 ... http://egenix.com/go34
2012-09-25: Released mxODBC 3.2.1 ... http://egenix.com/go33
2012-10-23: Python Meeting Duesseldorf ... 17 days to go

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
   Registered at Amtsgericht Duesseldorf: HRB 46611
   http://www.egenix.com/company/contact/

--

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



[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy

Mike Hoy added the comment:

Here is a patch after talking with Ezio on irc tonight. The rules I (attempted) 
to follow are:

Within a :file: you should have {X.Y}
In a text/paragraph area you can use |version|
Within anything else just leave it as X.Y

As stated by Éric I ignored install and distutils.

--

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



[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy

Changes by Mike Hoy mho...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file27446/issue11643-xy_v1.diff

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



[issue1520818] fcntl.ioctl fails to copy back exactly-1024 buffer

2012-10-06 Thread G2P

G2P added the comment:

The bug still exists in Python 2.6 (2.6.7-4ubuntu2). Python 2.7 
(2.7.3-5ubuntu4) works correctly. I don't have Python 2.5 on hand to check.

Here is a very simple test case:

import array, fcntl
buf = array.array('B', [0]*1024)
fcntl.ioctl(0, termios.TIOCGPGRP, buf, 1)
assert any(by != 0 for by in buf)

--
nosy: +G2P

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



[issue1520818] fcntl.ioctl fails to copy back exactly-1024 buffer

2012-10-06 Thread G2P

G2P added the comment:

Also happens in 2.5.2-2ubuntu6 and 2.4.5-1ubuntu4.2, FWIW.

--
versions: +Python 2.6

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



[issue15767] add ModuleNotFoundError

2012-10-06 Thread Michele Orrù

Changes by Michele Orrù maker...@gmail.com:


--
nosy: +maker

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

New submission from Alex Gaynor:

The attached patch implements PEP 424. The implementation of this demonstrated 
a need for a few small modifications to the PEP, they will follow shortly.

--
components: Interpreter Core
files: length_hint.diff
keywords: patch
messages: 172176
nosy: alex
priority: normal
severity: normal
status: open
title: Implement PEP 424
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file27447/length_hint.diff

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



[issue13896] Make shelf instances work with 'with' as context managers

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3c1df1ede882 by Andrew Svetlov in branch 'default':
Issue #13896: Make shelf instances work with 'with' as context managers.
http://hg.python.org/cpython/rev/3c1df1ede882

--
nosy: +python-dev

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



[issue13896] Make shelf instances work with 'with' as context managers

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Committed. Thanks.
Please fill Python Contributor Agreement: http://www.python.org/psf/contrib/

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue15641] Clean up importlib for Python 3.4

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

What's about Finder?
Do you want to remove it also?

--

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



[issue15631] Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

2012-10-06 Thread Matthias Klose

Matthias Klose added the comment:

the proposed patch has still some issues:

 - it breaks the installation on 64bit platforms on Debian and Ubuntu.
   Please test the patch on one of these platforms too.

 - it hardcodes more platform information in the sys modules, which
   makes it difficult to overwrite for cross builds. If these macros
   are needed then they should be taken from the sysconfig module,
   using the _sysconfigdata module.

 - use the host macros in the configure instead of uname

 - LIB shouldn't be necessary when configuring --with-libdir

--

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



[issue3636] Managing dual 2.x and 3.0 installations on Windows

2012-10-06 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
assignee: georg.brandl - 

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



[issue8416] python 2.6.5 documentation can't search

2012-10-06 Thread Georg Brandl

Georg Brandl added the comment:

searchindex.js is now present in 2.6.5 too.

--
resolution:  - fixed
status: open - closed

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



[issue8525] Display exception's subclasses in help()

2012-10-06 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
assignee: georg.brandl - 

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



[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Michele Orrù

New submission from Michele Orrù:

Follows from the discussion on python-dev:
http://mail.python.org/pipermail/python-dev/2012-September/121871.html

--
assignee: docs@python
components: Documentation
messages: 172182
nosy: docs@python, maker, terry.reedy
priority: normal
severity: normal
status: open
title: Decimal(2) != float(2) documentation bug
versions: Python 3.3, Python 3.4

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



[issue7336] traceback module not properly printing exceptions on interpreter shutdown

2012-10-06 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
assignee: georg.brandl - 

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



[issue3022] mailbox module, two small fixes

2012-10-06 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
assignee: georg.brandl - 

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Alex Gaynor added the comment:

patch updated fully with respect to the updates georg pushed to the PEP

--
Added file: http://bugs.python.org/file27448/length_hint.diff

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Changes by Alex Gaynor alex.gay...@gmail.com:


Removed file: http://bugs.python.org/file27447/length_hint.diff

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Alex Gaynor added the comment:

Updated version of the patch with fewer memory leaks.

--
Added file: http://bugs.python.org/file27449/length_hint.diff

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Changes by Alex Gaynor alex.gay...@gmail.com:


Removed file: http://bugs.python.org/file27448/length_hint.diff

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Alex Gaynor added the comment:

All memory leaks resolved, yay!

--
Added file: http://bugs.python.org/file27450/length_hint.diff

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Changes by Alex Gaynor alex.gay...@gmail.com:


Removed file: http://bugs.python.org/file27449/length_hint.diff

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



[issue11710] Landing pages in docs for standard library packages

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1141648fa655 by Georg Brandl in branch '3.3':
Closes #11710: create landing pages (/library/package.html) for those 
packages that have no documented content themselves, e.g. urllib or http.
http://hg.python.org/cpython/rev/1141648fa655

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

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



[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset ee71d8023f1b by Georg Brandl in branch '3.3':
Closes #16149: remove now-false statement about the inability to compare 
Decimal and float objects.
http://hg.python.org/cpython/rev/ee71d8023f1b

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

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



[issue1598083] Top-level exception handler writes to stdout unsafely

2012-10-06 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
assignee: georg.brandl - 

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



[issue8401] Strange behavior of bytearray slice assignment

2012-10-06 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
assignee: georg.brandl - ezio.melotti

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Alex Gaynor added the comment:

Added documentation.

--
Added file: http://bugs.python.org/file27451/length_hint.diff

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Changes by Alex Gaynor alex.gay...@gmail.com:


Removed file: http://bugs.python.org/file27450/length_hint.diff

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



[issue16148] Implement PEP 424

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a7ec0a1b0f7c by Armin Ronacher in branch 'default':
Issue #16148: implemented PEP 424
http://hg.python.org/cpython/rev/a7ec0a1b0f7c

--
nosy: +python-dev

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



[issue16148] Implement PEP 424

2012-10-06 Thread Armin Ronacher

Armin Ronacher added the comment:

Reviewed and applied.  Looks good.

--
nosy: +aronacher

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



[issue16148] Implement PEP 424

2012-10-06 Thread Armin Ronacher

Changes by Armin Ronacher armin.ronac...@active-4.com:


--
status: open - closed

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



[issue15631] Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

2012-10-06 Thread Skip Montanaro

Skip Montanaro added the comment:

 the proposed patch has still some issues:

  - it breaks the installation on 64bit platforms on Debian and Ubuntu.
Please test the patch on one of these platforms too.

  - it hardcodes more platform information in the sys modules, which
makes it difficult to overwrite for cross builds. If these macros
are needed then they should be taken from the sysconfig module,
using the _sysconfigdata module.

  - use the host macros in the configure instead of uname

  - LIB shouldn't be necessary when configuring --with-libdir

Sorry, I don't have access to anything but the OpenSUSE systems at
work.  I was just verifying that it solved my installation problems.
I'll see if I can nudge some of the other things forward.

--
title: Python 3.3/3.4 installation issue  on OpenSUSE lib/lib64 folders - 
Python 3.3/3.4 installation issue on OpenSUSE lib/lib64 folders

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



[issue8478] tokenize.untokenize first token missing failure case

2012-10-06 Thread Georg Brandl

Georg Brandl added the comment:

Attaching patch.  Actually both versions of untokenize() were broken; the 
version used for full input (5-tuples) had a flipped inequality sign in an 
assert.

Other changes in the patch:

* Docs fixed to describe both modes
* Tests fixed to exercise both modes

--
keywords: +patch
Added file: http://bugs.python.org/file27452/untokenize.diff

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



[issue16110] Provide logging.config.configParserConfig

2012-10-06 Thread Thomas Bach

Thomas Bach added the comment:

Yeah, the change you suggest sounds reasonable.

Thanks for reconsidering the case!

--

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



[issue16115] test that executable arg to Popen() takes precedence over args

2012-10-06 Thread Kushal Das

Kushal Das added the comment:

On Saturday, October 6, 2012, Andrew Svetlov wrote:


 Andrew Svetlov added the comment:

 Committed. Thank you, Kushal Das.
 BTW, please fill http://www.python.org/psf/contrib/ as contributor of
 Python project.
 We would to get that agreement from everybody who has pushed any patch.
 Thanks again.

Hi,
I already filled and sent it. Thanks for the commit.

Kushal

--
title: test that executable arg to Popen() takes precedence over args[0] arg - 
test that executable arg to Popen() takes precedence over args

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



[issue8109] Server-side support for TLS Server Name Indication extension

2012-10-06 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Daniel, I'll take a look.

--

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



[issue15422] Get rid of PyCFunction_New macro

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Attached patch for the issue.
BTW PyCFunction_New/PyCFunction_NewEx are part of Stable ABI but never 
mentioned in the documentation.

--
keywords: +patch
Added file: http://bugs.python.org/file27453/issue15422.diff

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



[issue15422] Get rid of PyCFunction_New macro

2012-10-06 Thread Andrew Svetlov

Changes by Andrew Svetlov andrew.svet...@gmail.com:


--
stage: needs patch - patch review

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



[issue16120] Use |yield from| in stdlib

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7d8868c13b95 by Andrew Svetlov in branch 'default':
Issue #16120: Use |yield from| in stdlib.
http://hg.python.org/cpython/rev/7d8868c13b95

--
nosy: +python-dev

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



[issue16120] Use |yield from| in stdlib

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Thanks, Berker.

--
assignee:  - nobody
nosy: +asvetlov, nobody
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue16113] Add SHA-3 (Keccak) support

2012-10-06 Thread Michele Orrù

Changes by Michele Orrù maker...@gmail.com:


--
nosy: +maker

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



[issue16145] Abort in _csv module

2012-10-06 Thread Stefan Krah

Stefan Krah added the comment:

Here's a patch.


Victor, I guess I have a feature request for fusil: It would be nice
if fusil also generated legacy strings (or does it already do so?).

--
keywords: +patch
Added file: http://bugs.python.org/file27454/issue16145.diff

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



[issue16145] Abort in _csv module

2012-10-06 Thread Stefan Krah

Stefan Krah added the comment:

 The PEPs and doc said the C API would remain backwards compatible.

Roger: Yes, you don't need to change anything. I was misled by the
PyUnicode_AsUnicode() docs, thinking that the responsibility to call
PyUnicode_READY() also applies if the generated Unicode Object is
passed to the C-API.

--

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



[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I think the fix should be applied to 2.7 and 3.2 too. See issue2531 which 
allowed comparing decimals and floats.

--
nosy: +mark.dickinson, serhiy.storchaka
status: closed - open
versions: +Python 2.7, Python 3.2

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



[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
keywords: +needs review
versions: +Python 3.4

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



[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Georg Brandl

Georg Brandl added the comment:

Ah, sorry, I thought this was a 3.3 thing.

--
nosy: +georg.brandl

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



[issue16148] Implement PEP 424

2012-10-06 Thread Stefan Krah

Stefan Krah added the comment:

a7ec0a1b0f7c broke the Windows buildbots: In Visual Studio variables
can only be declared at the top of a block.

--
nosy: +skrah

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



[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread pyos

New submission from pyos:

Since yield from made it into Python 3.3, I think it would be useful to chain 
multiple generators and still get a generator, not an iterator. That is, the 
following code:

def f():
yield from itertools.chain(A, B, C)

should be (at least roughly) equivalent to

def f():
yield from A
yield from B
yield from C

while still allowing to send() values to whichever subgenerator is currently 
running or throw() exceptions inside them.

The attached patch adds this functionality to itertools.chain objects.

--
components: Extension Modules
files: itertools-chain-send-throw-and-close.diff
keywords: patch
messages: 172204
nosy: pyos, rhettinger
priority: normal
severity: normal
status: open
title: Implement generator interface in itertools.chain.
versions: Python 3.3, Python 3.4, Python 3.5
Added file: 
http://bugs.python.org/file27455/itertools-chain-send-throw-and-close.diff

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



[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +ncoghlan
stage:  - patch review
type:  - enhancement
versions:  -Python 3.3, Python 3.5

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



[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread pyos

Changes by pyos pyos100...@gmail.com:


--
versions: +Python 3.3, Python 3.5

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



[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread pyos

Changes by pyos pyos100...@gmail.com:


--
versions:  -Python 3.3, Python 3.5

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



[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread pyos

Changes by pyos pyos100...@gmail.com:


Added file: http://bugs.python.org/file27456/itertools-chain-doc.diff

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



[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Ping.

--

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



[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2c398a78dba8 by Andrew Svetlov in branch '2.7':
Issue #16025: Minor corrections to the zipfile documentation.
http://hg.python.org/cpython/rev/2c398a78dba8

New changeset 3d54d17a637b by Andrew Svetlov in branch '3.2':
Issue #16025: Minor corrections to the zipfile documentation.
http://hg.python.org/cpython/rev/3d54d17a637b

New changeset 2e7a57cdd961 by Andrew Svetlov in branch '3.3':
Issue #16025: Minor corrections to the zipfile documentation.
http://hg.python.org/cpython/rev/2e7a57cdd961

New changeset 7fd068d4ded8 by Andrew Svetlov in branch 'default':
Issue #16025: Minor corrections to the zipfile documentation.
http://hg.python.org/cpython/rev/7fd068d4ded8

--
nosy: +python-dev

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



[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Committed. Please close the issue if all work done.
Thanks.

--
nosy: +asvetlov

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



[issue5815] locale.getdefaultlocale() missing corner case

2012-10-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
versions: +Python 3.4

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



[issue16148] Implement PEP 424

2012-10-06 Thread Christian Heimes

Christian Heimes added the comment:

I've taken care of the issue in f56a49e74178 and 895f9fddb8e3.

--
nosy: +christian.heimes
resolution:  - fixed
stage:  - committed/rejected

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



[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Éric Araujo

Éric Araujo added the comment:

After reviewing the patch I think that this change would not actually improve 
things.  What do you think?  (Thanks for the patch nonetheless :)*

--

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



[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Update patch conforming to current _tkinter code.

--
Added file: http://bugs.python.org/file27457/_tkinter_pep3121-384_v1.patch

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



[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Andrew, please revert the test_subprocess changes.

--
nosy: +pitrou

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



[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Done in 674fa8d211f2, 5665806908c4 and c9695a0b0923. Sorry.

--

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



[issue3022] mailbox module, two small fixes

2012-10-06 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
components: +email
nosy: +barry, petri.lehtinen

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



[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

I would to have all module state inside _tkinterstate structure.
static variables like tcl_lock, tcl_state, quitMainLoop, errorInCmd etc should 
be moved into _tkinterstate also.

--

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



[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you, Andrew.

--
resolution:  - fixed
status: open - closed

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



[issue16025] Minor corrections to the zipfile documentation

2012-10-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
stage: patch review - committed/rejected

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson

Mark Dickinson added the comment:

 It's maybe safer (and simpler) to not touch such code in Python
 older than 3.4.

So far, I've been fixing these overflow bugs only in the development branches, 
unless they can be shown to cause actual bugs.  That said, I think it's 
probably okay to apply these for 3.3 as well as 3.4, especially since the 3.3 
patch is smaller than the others.  I'll review and apply.

--
assignee:  - mark.dickinson

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



[issue12986] Using getrandbits() in uuid.uuid4() is faster and more readable

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I suggest to reject this proposal because of a deterioration in security.

--

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



[issue15186] Support os.walk(dir_fd=)

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Should this issue be closed?

--

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

 especially since the 3.3 patch is smaller than the others.

It's becouse 3.3 already contains some fixes which was not be backported to 
older versions.

--

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson

Mark Dickinson added the comment:

 It's becouse 3.3 already contains some fixes which was not be backported
 to older versions.

Yes, exactly!  That's what I meant when I said:

So far, I've been fixing these overflow bugs only in the development branches

There were lots of integer overflow occurrences like these found by John Regehr 
in issue 9530.  I chose to fix those only in the current development branch, 
which was 3.3 at the time.  Since we've made an effort to clean up 3.3 in that 
respect, I think it's worth finishing that job off by applying your patch both 
to 3.3 and 3.4.

--

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

 unless they can be shown to cause actual bugs.

See issue14700.

--

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



[issue16106] antigravity tests

2012-10-06 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +eric.araujo

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson

Mark Dickinson added the comment:

Serhiy, I don't understand what you're getting at.  Can you explain?

--

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



[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Robin Schreiber

Robin Schreiber added the comment:

Before I submitted this patch, I used to have these variables inside the 
modulestate, which caused severe problems. I do not know the exact reason, but 
my guess is that these variables have to be globally available for every thread 
(tcl variables are used for thread synchronization arent they?). As the 
modulestate may change depending on the thread, one can no longer guarantee 
that every thread within the process is operating on the same variable. This 
might not be nessecary, however as I mentioned, the naive approach of putting 
the variables inside the modulestate did not work out for me.

--

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



[issue16150] Implement generator interface in itertools.chain.

2012-10-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +serhiy.storchaka

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 152d85b2da3a by Mark Dickinson in branch '3.3':
Issue #16096: Fix several occurrences of potential signed integer overflow.  
Thanks Serhiy Storchaka.
http://hg.python.org/cpython/rev/152d85b2da3a

New changeset faae99459b43 by Mark Dickinson in branch 'default':
Issue #16096: Merge fixes from 3.3.
http://hg.python.org/cpython/rev/faae99459b43

--
nosy: +python-dev

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson

Mark Dickinson added the comment:

Applied the 3.3 patch to 3.3 and default, with some minor changes:

 - revert the Objects/longobject.c changes, since they don't depend
   on signed overflow

 - fix the second change in Objects/tupleobject.c so that the overflow check 
happens before the multiplication rather than after.

--

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



[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1dc66e654806 by Georg Brandl in branch '3.2':
Closes #16149: remove now-false statement about the inability to compare 
Decimal and float objects.
http://hg.python.org/cpython/rev/1dc66e654806

--
status: open - closed

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



[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Georg Brandl

Georg Brandl added the comment:

Planted to 3.2 in 1dc66e654806.  Turns out the offending paragraph wasn't in 
2.7.

--

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Mark Dickinson

Mark Dickinson added the comment:

Whoops.  I take it back about the Objects/longobject.c bit.  Fixing ...

--

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 906ae6485cb8 by Mark Dickinson in branch '3.3':
Issue #16096: Fix signed overflow in Objects/longobject.c.  Thanks Serhiy 
Storchaka.
http://hg.python.org/cpython/rev/906ae6485cb8

New changeset b728aac3bdb3 by Mark Dickinson in branch 'default':
Issue #16096: port fix from 3.3
http://hg.python.org/cpython/rev/b728aac3bdb3

--

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



[issue16113] Add SHA-3 (Keccak) support

2012-10-06 Thread Arfrever Frehtes Taifersar Arahesis

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


--
nosy: +Arfrever

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



[issue16096] Get rid of dangerous integer overflow tricks

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

In issue14700 were fixed two actual bugs. The fix was not be backported to 
older 
versions (and this changes included in patches for this issue). I think it is 
better to reopen issue14700 for backporting fixes to 2.7 and 3.2?

--

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



[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-10-06 Thread Andrew Svetlov

Andrew Svetlov added the comment:

I'm trying to make patch following myself recommendations.
Looks good but not finished yet. Will publish it after all work done.

--

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



[issue8478] tokenize.untokenize first token missing failure case

2012-10-06 Thread Arfrever Frehtes Taifersar Arahesis

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


--
nosy: +Arfrever

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



[issue16149] Decimal(2) != float(2) documentation bug

2012-10-06 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
versions:  -Python 2.7

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



[issue16145] Abort in _csv module

2012-10-06 Thread Roger Binns

Roger Binns added the comment:

Roughly how long will it be before Python 3.3.1 comes out?  This issue means my 
users will get garbage or crashes, so I'll need to work around it if it will be 
quite a while till 3.3.1.

--

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



[issue16145] Abort in _csv module

2012-10-06 Thread Arfrever Frehtes Taifersar Arahesis

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


--
components: +Extension Modules
priority: normal - release blocker

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



[issue14174] argparse.REMAINDER fails to parse remainder correctly

2012-10-06 Thread Jason R. Coombs

Jason R. Coombs added the comment:

I also ran into this problem. I put together this script to reproduce the issue:

import argparse

parser = argparse.ArgumentParser()
parser.add_argument('app')
parser.add_argument('--config')
parser.add_argument('app_args', nargs=argparse.REMAINDER)
args = parser.parse_args(['app', '--config', 'bar'])
print vars(args)
# actual: {'app': 'app', 'app_args': ['--config', 'bar'], 'config': None}
# expected: {'app': 'app', 'app_args': [], 'config': 'bar'}

I'll try using parse_known_args instead.

--
nosy: +jason.coombs

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



[issue16145] Abort in _csv module

2012-10-06 Thread Georg Brandl

Georg Brandl added the comment:

3.3.1 will not be too long: maybe 4 weeks from now.

--
nosy: +georg.brandl

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



[issue15837] Added test to test_random.py testing Random.shuffle

2012-10-06 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I am not sure that None as default should be documented. It's implementation 
details (as third int argument) and can be silently changed in future 
versions.

--

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



[issue14668] Document the path option in the Windows installer

2012-10-06 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


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

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



[issue14174] argparse.REMAINDER fails to parse remainder correctly

2012-10-06 Thread Idan Kamara

Idan Kamara added the comment:

Unfortunately parse_known_args is buggy too: http://bugs.python.org/issue16142

--

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



[issue10968] threading.Timer should be a class so that it can be derived

2012-10-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 98499371ca53 by R David Murray in branch '3.3':
#10968: commit threading doc changes and corresponding whatsnew entry.
http://hg.python.org/cpython/rev/98499371ca53

New changeset ad435964fc9c by R David Murray in branch 'default':
merge #10968: commit threading doc changes and corresponding whatsnew entry.
http://hg.python.org/cpython/rev/ad435964fc9c

--

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



[issue10968] threading.Timer should be a class so that it can be derived

2012-10-06 Thread R. David Murray

R. David Murray added the comment:

I have now committed (a revised version of) the doc changes.

Like I said in the commit message, it is unfortunate that the underscore names 
were not kept as aliases and that RLock wasn't also converted to a class, but 
it is too late to fix that in 3.3.  If someone wants to do RLock in 3.4 they 
should open a new issue.

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue16144] misleading sentence in reference/import

2012-10-06 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions: +Python 3.3

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



[issue16151] Deferred KeyboardInterrupt in interactive mode

2012-10-06 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Here are some strange behavior I see (on Linux).

Run Python in interactive mode. Press TabTab. Message Display all XXX 
possibilities? (y or n) showed. Press Ctrl-C, then n. Prompt showed. Enter 
any text (or none) and press Enter. KeyboardInterrupt exception raised.

In Python 2.7:
Traceback (most recent call last):
  File /usr/lib/python2.7/encodings/utf_8.py, line 15, in decode
def decode(input, errors='strict'):
KeyboardInterrupt

In Python 3.x:
Traceback (most recent call last):
  File stdin, line 1, in module
KeyboardInterrupt

In Python 2.6 exception not raised.

It does not lead to any detrimental consequences (entered text saved in history 
and can be restored), but it looks very strange. Possibly for this must be some 
bug.

--
components: Interpreter Core
messages: 172238
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Deferred KeyboardInterrupt in interactive mode
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

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



[issue16148] Implement PEP 424

2012-10-06 Thread Alex Gaynor

Alex Gaynor added the comment:

Ah, thank you very much, sorry about that.

--

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



  1   2   >