Parto Chobeiry added the comment:

@neologix: I tried to patch socketserver.py from versions 2.7, 3.3 and 3.4 -- 
it fails all the time, slightly differing error messages but similar to this:

 u1@~/Projects$ patch <../Downloads/socketserver_use_selectors-1.diff 
 can't find file to patch at input line 4
 Perhaps you should have used the -p or --strip option?
 The text leading up to this was:
 --------------------------
 |diff -r 3d0eacb12b5c Doc/library/socketserver.rst
 |--- a/Doc/library/socketserver.rst    Sun Mar 23 11:57:01 2014 +0000
 |+++ b/Doc/library/socketserver.rst    Sun Mar 23 20:23:41 2014 +0000
 --------------------------
 File to patch: 
 Skip this patch? [y] 
 Skipping patch.
 2 out of 2 hunks ignored
 patching file socketserver.py
 Hunk #3 FAILED at 129.
 Hunk #4 FAILED at 150.
 Hunk #5 succeeded at 169 (offset 1 line).
 Hunk #6 FAILED at 230.
 Hunk #7 succeeded at 254 with fuzz 2 (offset -10 lines).
 Hunk #8 succeeded at 277 (offset -10 lines).
 Hunk #9 succeeded at 381 (offset -10 lines).
 Hunk #10 succeeded at 463 (offset -10 lines).
 3 out of 10 hunks FAILED -- saving rejects to file socketserver.py.rej 

I made a local copy of socketserver.py into my homedir to be able to modify 
it...

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21035>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to