[issue2412] Check 2to3 for support of print function.

2009-07-12 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Fixed in r73981.

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

___
Python tracker 

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



[issue2412] Check 2to3 for support of print function.

2009-02-10 Thread Daniel Diniz

Changes by Daniel Diniz :


--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue2412] Check 2to3 for support of print function.

2008-04-25 Thread Collin Winter

Collin Winter <[EMAIL PROTECTED]> added the comment:

Reviewing...

__
Tracker <[EMAIL PROTECTED]>

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



[issue2412] Check 2to3 for support of print function.

2008-04-23 Thread David Wolever

David Wolever <[EMAIL PROTECTED]> added the comment:

Here is a patch that will detect a `from __future__ import print_function` 
and adjust the grammar appropriately.

Any objections?

--
keywords: +patch
Added file: http://bugs.python.org/file10081/print_function_detection.diff

__
Tracker <[EMAIL PROTECTED]>

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



[issue2412] Check 2to3 for support of print function.

2008-03-19 Thread David Wolever

David Wolever <[EMAIL PROTECTED]> added the comment:

As of r61635, the fix_print fixer has been fixed and tests have been added 
(which will ``assert False`` when 2to3 is fixed so it can handle 
``print(**kwargs)``).

--
assignee: David Wolever -> collinwinter

__
Tracker <[EMAIL PROTECTED]>

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



[issue2412] Check 2to3 for support of print function.

2008-03-19 Thread David Wolever

David Wolever <[EMAIL PROTECTED]> added the comment:

I've updated the fixer (checkin to come shortly), but 2to3 gets upset when 
you it comes across print statements with kwargs (eg: print("spam", end=" 
")), so the tests will be commented out 'till this is fixed.

__
Tracker <[EMAIL PROTECTED]>

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



[issue2412] Check 2to3 for support of print function.

2008-03-19 Thread David Wolever

Changes by David Wolever <[EMAIL PROTECTED]>:


--
assignee: collinwinter -> David Wolever
nosy: +David Wolever

__
Tracker <[EMAIL PROTECTED]>

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



[issue2412] Check 2to3 for support of print function.

2008-03-18 Thread Eric Smith

New submission from Eric Smith <[EMAIL PROTECTED]>:

Issue 1633807 is a backport of the print function to 2.6, using a
__future__ import.  Once it is committed, we need to ensure that 2to3
does the right thing (namely, nothing) with print functions in modules
that have the __future__ import.

--
assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
messages: 64017
nosy: collinwinter, eric.smith
priority: normal
severity: normal
status: open
title: Check 2to3 for support of print function.
type: behavior
versions: Python 2.6

__
Tracker <[EMAIL PROTECTED]>

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