Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue6409] 2to3 generates malformed diffs

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jul 3, 2009, 8:53 AM

Post #1 of 3 (182 views)
Permalink
[issue6409] 2to3 generates malformed diffs

New submission from Jean-Paul Calderone <exarkun [at] divmod>:

I ran 2to3 over Twisted r27084 like this:

time ~/Projects/python/trunk/python
/home/exarkun/Projects/python/trunk/Tools/scripts/2to3 -j 4 twisted/ >
2to3.patch

Visual inspection revealed some curious defects, and attempting to apply
it failed like this:

$ patch -p0 < 2to3.patch
patching file twisted/application/app.py
patching file twisted/conch/client/connect.py
patching file twisted/conch/client/default.py
patch: **** malformed patch at line 129: @@ -1,6 +1,6 @@

The resulting file is attached.

----------
components: Library (Lib)
files: 2to3.patch
keywords: patch
messages: 90064
nosy: exarkun
severity: normal
status: open
title: 2to3 generates malformed diffs
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file14441/2to3.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6409>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 3, 2009, 9:01 AM

Post #2 of 3 (169 views)
Permalink
[issue6409] 2to3 generates malformed diffs [In reply to]

Amaury Forgeot d'Arc <amauryfa [at] gmail> added the comment:

You seem to use the 'parallel' option. Some flush() or synchronization
missing?

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6409>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 3, 2009, 8:05 PM

Post #3 of 3 (162 views)
Permalink
[issue6409] 2to3 generates malformed diffs [In reply to]

Changes by Benjamin Peterson <benjamin [at] python>:


----------
assignee: -> benjamin.peterson
nosy: +benjamin.peterson

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6409>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.