New submission from Chris Rose :
When running distutils like so:
.tox/py27/bin/python setup.py -v bdist_egg upload --show-response
Eventually, after everything else spools by, this pops up:
Using PyPI login from /Users/offline/.pypirc
Submitting dist/PyHamcrest-1.5-py2.7.egg to http
Chris Rose added the comment:
I can see that this is only an error in the 2.7.1 release, and is fixed in
distutils on the 2.7 branch (along with other bugs, too, from what I can see.)
I'm closing it as invalid, given that.
--
resolution: -> invalid
status: open -
Chris Rose added the comment:
No, not 100% sure, but my read of the 2.7 branch code certainly seemed to
suggest that it was fixed.
in distutil/commands/upload.py:
Line 193 gets the response unconditionally as 'r' from the http object
Line 201 uses 'r' to show the r
Chris Rose added the comment:
... oh, except I'm an idiot, and I think I'm reading tip code there.
Yep, I'm an idiot.
Okay, but this is still a dupe of #10367
--
resolution: invalid -> duplicate
___
Python tracker
<h
Chris Rose added the comment:
I'm pretty sure that the os._wrap_close wrapper is not the same thing as the
Popen context manager. I don't think it's useful to try refactor this. As
Antoine points out, the current wrapper serves a very different purpose.
-
Chris Rose added the comment:
Is this patch mergeable? I'm trialing the 3.7.0a4 build on some systems here
and am unable to build due to this issue, on libc 2.12:
± /lib/libc.so.6
GNU C Library stable release version 2.12, by Roland McGrath et al.
Copyright (C) 2010 Free Software Found
Chris Rose added the comment:
Ach; ignore the libc version below; that's a PEBKAC error on my part. The libc
version on the system that's failing is older (and hard to get; just trust me,
it's older) and doesn't have the
Chris Rose added the comment:
Updated according to review.
--
Added file: http://bugs.python.org/file34868/difflib-sm.patch
___
Python tracker
<http://bugs.python.org/issue20
Chris Rose added the comment:
Addressed comments regarding documentation and assertion formats in the test.
--
Added file: http://bugs.python.org/file34869/difflib-sm.patch
___
Python tracker
<http://bugs.python.org/issue20
Chris Rose added the comment:
Patch against tip
--
Added file: http://bugs.python.org/file34871/difflib-sm.patch
___
Python tracker
<http://bugs.python.org/issue20
Chris Rose added the comment:
As a historical record, it should be noted that this is driven by an actual use
case: I was experimenting with using Bazaar's patience diff implementation, and
I saw that in order for them to use a custom sequence matcher, they had to
essentially copy-past
Changes by Chris Rose :
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue20752>
___
___
Python-bugs-list mailing list
Unsubscribe:
Chris Rose added the comment:
Ping? I'd like to know if the proposed solution passes muster, so that I can
get this into ... well, whatever the right revision would be.
--
___
Python tracker
<http://bugs.python.org/is
Chris Rose added the comment:
As suggested: SYN
--
___
Python tracker
<http://bugs.python.org/issue20752>
___
___
Python-bugs-list mailing list
Unsubscribe:
Chris Rose added the comment:
What's the word on this change?
--
___
Python tracker
<http://bugs.python.org/issue20752>
___
___
Python-bugs-list mailing list
New submission from Chris Rose:
It should be possible to provide subclasses or implementations of the
SequenceMatcher interface to difflib's various methods that do formatting (for
example, unified_diff/context_diff et al).
I've included a patch for it that satisfies my personal i
Chris Rose added the comment:
I've regenerated the patch with doc additions and Misc/ACKS changed as well.
--
Added file: http://bugs.python.org/file34204/difflib-sm.patch
___
Python tracker
<http://bugs.python.org/is
Chris Rose added the comment:
Is there an ETA for a 2.7.7 release with this fix?
--
nosy: +offby1
___
Python tracker
<http://bugs.python.org/issue20246>
___
___
18 matches
Mail list logo