[issue11526] Misspelled alignment

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Extension Modules
files: misspelled_alignment.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled alignment
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21168/misspelled_alignment.patch

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



[issue11526] Misspelled alignment

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


Removed file: http://bugs.python.org/file21168/misspelled_alignment.patch

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



[issue11526] Misspelled along

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: +Library (Lib) -Extension Modules
title: Misspelled alignment - Misspelled along
Added file: http://bugs.python.org/file21169/misspelled_along.patch

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



[issue11527] Misspelled ambiguous

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Installation
files: misspelled_ambiguous.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled ambiguous
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21170/misspelled_ambiguous.patch

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



[issue11528] Misspelled anonymously

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_anonymously.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled anonymously
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21171/misspelled_anonymously.patch

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



[issue11529] Misspelled application 2

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_application2.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled application 2
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21172/misspelled_application2.patch

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



[issue11530] Misspelled application

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_application.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled application
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21173/misspelled_application.patch

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



[issue11532] Misspelled arbitrary 2

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Interpreter Core
files: misspelled_arbitrary2.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled arbitrary 2
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21175/misspelled_arbitrary2.patch

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



[issue11533] Misspelled arbitrary

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Interpreter Core
files: misspelled_arbitrary.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled arbitrary
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21176/misspelled_arbitrary.patch

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



[issue11534] Misspelled architecture, control

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
assignee: ronaldoussoren
components: Macintosh
files: misspelled_architecture_control.patch
keywords: patch
nosy: kwadrat, ronaldoussoren
priority: normal
severity: normal
status: open
title: Misspelled architecture, control
type: behavior
versions: Python 3.3
Added file: 
http://bugs.python.org/file21177/misspelled_architecture_control.patch

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



[issue11535] Misspelled architecture

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Windows
files: misspelled_architecture.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled architecture
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21178/misspelled_architecture.patch

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



[issue11536] Misspelled arguments 2

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_arguments2.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled arguments 2
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21179/misspelled_arguments2.patch

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



[issue11537] Misspelled arguments

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Extension Modules
files: misspelled_arguments.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled arguments
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21180/misspelled_arguments.patch

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



[issue3080] Full unicode import system

2011-03-14 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

I finished to split the huge patch into smaller commits. You can now test the 
unicode_import Mercurial branch. Especially, it should be tested on Windows.

I don't know if I should merge the branch as an unique commit or as multiple 
commits. Some of them can be simply be merged.

You can try issue3080.py (file attached to this issue, extracted from the 
patch): a short script testing this issue.

--

The parser and _PyImport_GetDynLoadFunc() (on Windows) do still store the 
filename as byte strings, and so I don't think that Python is ready to use full 
Unicode range for filenames on Windows. But at least, it should now support 
non-ASCII module names and paths which are encodable to the ANSI code page.

Issue #10785 should improve the situation at least for the parser.

But for _PyImport_GetDynLoadFunc(), I don't know if there is a Unicode version 
of LoadLibraryEx().

--

 Modules/zipimport.c::make_filename: remove the limit buffer

Implemented in f286d3b514e0.

 Python/importdl.c::_PyImport_LoadDynamicModule: shortnameobj is not necessary

Done in 76907d413b99

--

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



[issue11538] Misspelled assign

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_assign.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled assign
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21181/misspelled_assign.patch

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



[issue11539] Misspelled associated

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled associated
type: behavior

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



[issue11539] Misspelled associated

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: +Extension Modules
keywords: +patch
versions: +Python 3.3
Added file: http://bugs.python.org/file21182/misspelled_associated.patch

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



[issue11515] Misspelled actually

2011-03-14 Thread DSM

New submission from DSM dsm...@users.sourceforge.net:

Rather than submitting a thousand patches each with one or two typo fixes, 
wouldn't it make more sense to collect them?  It'll be important to run tests 
after the patches, and running tests a thousand times will take a while.

It's worked okay for me in the past, e.g. http://bugs.python.org/issue9911.

--
nosy: +dsm001

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



[issue11540] Misspelled assume

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
assignee: ronaldoussoren
components: Macintosh
files: misspelled_assume.patch
keywords: patch
nosy: kwadrat, ronaldoussoren
priority: normal
severity: normal
status: open
title: Misspelled assume
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21183/misspelled_assume.patch

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



[issue10785] parser: store the filename as an unicode object

2011-03-14 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

@Benjamin: You told me that you don't want two versions of pgen, but I don't 
remember why. As my work on #3080 is mostly done, I now plan to patch the 
Python parser to store the filename as Unicode. So could you please review the 
patch attached to this issue?

--

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



[issue11541] Misspelled attribute

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_attribute.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled attribute
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21184/misspelled_attribute.patch

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



[issue11542] Misspelled augmented

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Extension Modules
files: misspelled_augmented.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled augmented
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21185/misspelled_augmented.patch

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



[issue11543] Misspelled available, instances

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_available_instances.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled available, instances
type: behavior
versions: Python 3.3
Added file: 
http://bugs.python.org/file21186/misspelled_available_instances.patch

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



[issue11544] Misspelled avoid

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_avoid.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled avoid
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21187/misspelled_avoid.patch

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



[issue6818] remove/delete method for zipfile/tarfile objects

2011-03-14 Thread Yuval Greenfield

Yuval Greenfield ubershme...@gmail.com added the comment:

Fixed the bugs Martin pointed out and added the relevant tests. Sadly I had to 
move some stuff around, but I think the changes are all for the better. I 
wasn't sure about the right convention for the 2 constants I added btw.

--
Added file: http://bugs.python.org/file21188/zipfile.remove.2.patch

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



[issue11545] Misspelled backtracking

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Interpreter Core
files: misspelled_backtracking.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled backtracking
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21189/misspelled_backtracking.patch

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



[issue11546] Misspelled between

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_between.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled between
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21190/misspelled_between.patch

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



[issue11547] Misspelled between

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
components: Library (Lib)
files: misspelled_between.patch
keywords: patch
nosy: kwadrat
priority: normal
severity: normal
status: open
title: Misspelled between
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21191/misspelled_between.patch

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



[issue11547] Misspelled between

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


Removed file: http://bugs.python.org/file21191/misspelled_between.patch

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



[issue11547] Misspelled builtin

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


--
title: Misspelled between - Misspelled builtin
Added file: http://bugs.python.org/file21192/misspelled_builtin.patch

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



[issue11509] fileinput module unit test coverage improvements

2011-03-14 Thread Denver Coneybeare

Changes by Denver Coneybeare denver.coneybe...@gmail.com:


Added file: http://bugs.python.org/file21193/fileinput_unittests_v12.patch

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



[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk

Piotr Kasprzyk c...@ciri.pl added the comment:

Good idea, I will try to group the rest of comments.

--

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



[issue11515] Misspelled actually

2011-03-14 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

If you can easily make a single patch out of all the issues, please do it and 
submit it here, otherwise I'll apply all the patches and make a single commit.

--
nosy: +ezio.melotti

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



[issue9667] NetBSD curses KEY_* constants

2011-03-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

I don't think we have any committers who run NetBDS.  Can you attach your patch 
here?  I take it the other NetBSD checks are still required?

--
nosy: +r.david.murray

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



[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk

Piotr Kasprzyk c...@ciri.pl added the comment:

I will connect everything in one file.

--

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



[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


Added file: http://bugs.python.org/file21194/misspelled_together.patch

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



[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk

Changes by Piotr Kasprzyk c...@ciri.pl:


Removed file: http://bugs.python.org/file21156/misspelled_actually.patch

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



[issue11510] Peephole breaks set unpacking

2011-03-14 Thread Raymond Hettinger

Changes by Raymond Hettinger rhettin...@users.sourceforge.net:


--
assignee:  - rhettinger
nosy: +dmalcolm, pitrou, rhettinger
priority: normal - high

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



[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


Removed file: http://bugs.python.org/file21121/unnamed

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



[issue11510] Peephole breaks set unpacking

2011-03-14 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

It looks like the steps for UNPACK_SEQUENCE should be skipped when following a 
BUILD_SET.  I'll post a patch tomorrow (probably a one-liner).

--

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



[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-03-14 Thread Winston Ewert

Winston Ewert winstonew...@gmail.com added the comment:

robquad mentions having left a comment on the review, but I'm not seeing how to 
view it. Can somebody explain?

It wasn't necessary to change the callable_obj bit, but both form were being 
used so I thought it best to standardize. Neither version of the parameter name 
shows up in the documentation.

--

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



[issue11512] adding test suite for cgitb

2011-03-14 Thread Brian Curtin

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


--
assignee:  - brian.curtin
keywords: +needs review
stage:  - patch review
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3

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



[issue9362] Make exit/quit hint more novice friendly

2011-03-14 Thread Jeff Ramnani

Jeff Ramnani j...@jefframnani.com added the comment:

I've checked Lib/site.py and it tells the user to use 'Ctrl-Z' to exit the 
prompt when they are running Windows.

Perhaps this means we can close the ticket, since discussion on this issue 
seems to have dissipated?

--
nosy: +jramnani

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



[issue9362] Make exit/quit hint more novice friendly

2011-03-14 Thread Brian Curtin

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


--
resolution:  - rejected
stage:  - committed/rejected
status: open - closed

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



[issue11515] Misspelled actually

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
assignee:  - ezio.melotti

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



[issue11509] fileinput module unit test coverage improvements

2011-03-14 Thread Denver Coneybeare

Changes by Denver Coneybeare denver.coneybe...@gmail.com:


Added file: http://bugs.python.org/file21195/fileinput_unittests_v13.patch

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



[issue11515] Misspelled actually

2011-03-14 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 0991b40e895d by Ezio Melotti in branch '3.1':
#11515: fix several typos. Patch by Piotr Kasprzyk.
http://hg.python.org/cpython/rev/0991b40e895d

--
nosy: +python-dev

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



[issue11548] Passing format= to unpack_archive fails

2011-03-14 Thread Evan Dandrea

New submission from Evan Dandrea e...@ubuntu.com:

Passing the format keyword parameter to shutil.unpack_archive triggers an 
exception:

Traceback (most recent call last):
  File Lib/test/test_shutil.py, line 650, in test_unpack_archive
unpack_archive(filename, tmpdir2, format=format)
  File /home/evan/hg/cpython/Lib/shutil.py, line 741, in unpack_archive
func(filename, extract_dir, **dict(format_info[1]))
TypeError: 'function' object is not iterable

This is due to that function incorrectly using the _UNPACK_FORMATS dictionary, 
which is fixed with the attached patch and test case.

--
components: Library (Lib)
files: fix_unpack_with_format.patch
keywords: patch
messages: 130948
nosy: ev, tarek
priority: normal
severity: normal
status: open
title: Passing format= to unpack_archive fails
type: crash
Added file: http://bugs.python.org/file21196/fix_unpack_with_format.patch

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



[issue11509] fileinput module unit test coverage improvements

2011-03-14 Thread Denver Coneybeare

Denver Coneybeare denver.coneybe...@gmail.com added the comment:

fileinput_unittests_v13.patch is the final patch.  Test coverage increased from 
65% to 93% with this patch.  The only code left untested is fileinput._test(), 
which by its name suggests that testing is not required.

--

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



[issue11514] Misspelled access

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


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

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



[issue11547] Misspelled builtin

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


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

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



[issue11547] Misspelled builtin

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
superseder:  - Misspelled actually

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



[issue11514] Misspelled access

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
superseder:  - Misspelled actually

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



[issue11546] Misspelled between

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11545] Misspelled backtracking

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11544] Misspelled avoid

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11543] Misspelled available, instances

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11542] Misspelled augmented

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11540] Misspelled assume

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11541] Misspelled attribute

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11539] Misspelled associated

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue1038909] pydoc method documentation lookup enhancement

2011-03-14 Thread Brian Curtin

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


--
resolution:  - rejected
stage:  - committed/rejected
status: open - closed

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



[issue11538] Misspelled assign

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11537] Misspelled arguments

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


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

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



[issue11536] Misspelled arguments 2

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


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

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



[issue11536] Misspelled arguments 2

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
superseder:  - Misspelled actually

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



[issue11535] Misspelled architecture

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11534] Misspelled architecture, control

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11533] Misspelled arbitrary

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11532] Misspelled arbitrary 2

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11531] Misspelled applications

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11530] Misspelled application

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11529] Misspelled application 2

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11528] Misspelled anonymously

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11527] Misspelled ambiguous

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11526] Misspelled along

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11525] Misspelled alignment

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11524] Misspelled alignment 6

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11523] Misspelled alignment 5

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11522] Misspelled alignment 4

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11521] Misspelled alignment3

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11520] Misspelled alignment 2

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11519] Misspelled algorithm

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11518] Misspelled algorithm 2

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11517] Misspelled aforementioned

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue11516] Misspelled additionally

2011-03-14 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
superseder:  - Misspelled actually

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



[issue1559549] ImportError needs attributes for module and file name

2011-03-14 Thread Andreas Stührk

Andreas Stührk andy-pyt...@hammerhartes.de added the comment:

 I am sorry again for those mistakes, it's all completely new to me.

No worries!

I have fixed those issues and created new patch. Using hg export, that now 
spans over two commits. Is it the way those patches should be provided, or 
should I gather all changes into a one commit?

A single patch (where all changesets are flattened into one) is the
preferred way. For general advice, you can read the Developer's Guide
at http://docs.python.org/devguide/ (e.g.
http://docs.python.org/devguide/patch.html).

--

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



[issue11515] Misspelled actually

2011-03-14 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 81d7f78a633a by Ezio Melotti in branch '3.2':
#11515: Merge with 3.1.
http://hg.python.org/cpython/rev/81d7f78a633a

--

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



[issue11515] Misspelled actually

2011-03-14 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 4c1a15ebebe5 by Ezio Melotti in branch 'default':
#11515: Merge with 3.2.
http://hg.python.org/cpython/rev/4c1a15ebebe5

--

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



[issue11243] email/message.py str conversion

2011-03-14 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Here is a patch that adds tests for the methods I didn't previous have test 
for.  There may still be some headers that I'm not testing for the 'contains 
binary' case, but this is certainly more comprehensive than we had before.

Please test and let me know if it works; it should, since the code patch is 
very close to the one you suggested.

--
Added file: http://bugs.python.org/file21197/emails_with_Headers.patch

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



[issue10237] failure in Barrier tests

2011-03-14 Thread Kristján Valur Jónsson

Kristján Valur Jónsson krist...@ccpgames.com added the comment:

Closing this as fixed.

--
resolution:  - fixed
status: open - closed

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Eugene Toder

New submission from Eugene Toder elto...@gmail.com:

As pointed out by Raymond, constant folding should be done on AST rather than 
on generated bytecode. Here's a patch to do that. It's rather long, so overview 
first.

The patch replaces existing peephole pass with a folding pass on AST and a few 
changes in compiler. Feature-wise it should be on par with old peepholer, 
applying optimizations more consistently and thoroughly, but maybe missing some 
others. It passes all peepholer tests (though they seem not very extensive) and 
'make test', but more testing is, of course, needed.

I've split it in 5 pieces for easier reviewing, but these are not 5 separate 
patches, they should all be applied together. I can upload it somewhere for 
review or split it in other ways, let me know. Also, patches are versus 
1e00b161f5f5, I will redo against head.

TOC:
1. Changes to AST
2. Folding pass
3. Changes to compiler
4. Generated files (since they're checked in)
5. Tests

In detail:

1. I needed to make some changes to AST to enable constant folding. These are
a) Merge Num, Str, Bytes and Ellipsis constructors into a single Lit (literal) 
that can hold anything. For one thing, this removes a good deal of copy-paste 
in the code, since these are always treated the same. (There were a couple of 
places where Bytes ctor was missing for no apparent reason, I think it was 
forgotten.) Otherwise, I would have to introduce at least 4 more node types: 
None, Bool, TupleConst, SetConst. This seemed excessive.
b) Docstring is now an attribute of Module, FunctionDef and ClassDef, rather 
than a first statement. Docstring is a special syntactic construction, it's not 
an executable code, so it makes sense to separate it. Otherwise, optimizer 
would have to take extra care not to introduce, change or remove docstring. For 
example:

def foo():
  doc + string

Without optimizations foo doesn't have a docstring. After folding, however, the 
first statement in foo is a string literal. This means that docstring depends 
on the level of optimizations. Making it an attribute avoids the problem.
c) 'None', 'True' and 'False' are parsed as literals instead of names, even 
without optimizations. Since they are not redefineable, I think it makes most 
sense to treat them as literals. This isn't strictly needed for folding, and I 
haven't removed all the artefacts, in case this turns out controversial.

2. Constant folding (and a couple of other tweaks) is performed by a visitor. 
The visitor is auto-generated from ASDL and a C template. C template 
(Python/ast_opt.ct) provides code for optimizations and rules on how to call 
it. Parser/asdl_ct.py takes this and ASDL and generates a visitor, that visits 
only nodes which have associated rules (but visits them via all paths).
The code for optimizations itself is pretty straight-forward.
The generator can probably be used for symtable.c too, removing ~200 tedious 
lines of code. 

3. Changes to compiler are in 3 categories
a) Updates for AST changes.
b) Changes to generate better code and not need any optimizations. This 
includes tuple unpacking optimization and if/while conditions.
c) Simple peephole pass on compiler internal structures. This is a better form 
for doing this, than a bytecode. The pass only deals with jumps to 
jumps/returns and trivial dead code.
I've also made 'raise' recognized as a terminator, so that 'return None' is not 
inserted after it.

4, 5. No big surprises here.

--
components: Interpreter Core
messages: 130955
nosy: eltoder
priority: normal
severity: normal
status: open
title: Rewrite peephole to work on AST
versions: Python 3.3

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Eugene Toder

Changes by Eugene Toder elto...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file21198/0_ast.patch

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Eugene Toder

Changes by Eugene Toder elto...@gmail.com:


Added file: http://bugs.python.org/file21199/0_fold.patch

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Eugene Toder

Changes by Eugene Toder elto...@gmail.com:


Added file: http://bugs.python.org/file21200/0_compile.patch

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Eugene Toder

Changes by Eugene Toder elto...@gmail.com:


Added file: http://bugs.python.org/file21201/0_generated.patch

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Eugene Toder

Changes by Eugene Toder elto...@gmail.com:


Added file: http://bugs.python.org/file21202/0_tests.patch

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Eugene Toder

Changes by Eugene Toder elto...@gmail.com:


--
nosy: +pitrou, rhettinger

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Andreas Stührk

Changes by Andreas Stührk andy-pyt...@hammerhartes.de:


--
nosy: +Trundle

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



[issue11549] Rewrite peephole to work on AST

2011-03-14 Thread Santoso Wijaya

Changes by Santoso Wijaya santoso.wij...@gmail.com:


--
nosy: +santa4nt

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



<    1   2   3   4   >