miles added the comment:
The attachment includes the patch file
--
keywords: +patch
nosy: +milesli
Added file: http://bugs.python.org/file38274/thread.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23382
New submission from miles:
Maybe can not shutdown ThreadPoolExecutor when call the method shutdown.
Though the variable of _shutdown is set to true in the method of shutdown, it
may also reads the variable of _shutdown from cpu cache in the method of
_worker, and the worst case
miles added the comment:
the attachment includes the new code
--
Added file: http://bugs.python.org/file38002/thread.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23382
miles added the comment:
The attachment includes the new code
--
Added file: http://bugs.python.org/file37997/thread.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23382
Changes by Chris Miles miles.ch...@gmail.com:
--
nosy: -chrismiles
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
___
Python-bugs-list
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
With regards to create test cases for certain situations, sure this would be
possible but not with pure python since your APIs deny/inhibit the particular
things required to force a situation for a test case.
With regards
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
I am unable to get make test to run from an unpatched version in SVN (details
below of make output).
Please find attached an updated patch for your consideration (and testing, as I
can't test it due to 'make test' SIGSEGV on CentOS
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
To explain why you need 2 modes, a client/server would expect to do the
following pseudo actions for maximum efficiency:
set_socket_timeout(600_SECONDS) # or useful default
send_data_over_ssl(QUIT\r\n)
shutdown
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
In order to build Python with a specific version of OpenSSL followed the CYGWIN
instructions and edited Modules/Setup to make it read (note - I added
-L$(SSL) into the linker options too, since by default on CentOS 5.4 i386
OpenSSL
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
I've updated my attachment to the bug, if you read the old one please re-read
the updated version (since some points in there were not accurate).
With regards to the OpenSSL error return -1/ERROR_SYSCALL with errno==0 being
observed
Changes by Darryl Miles darryl.mi...@darrylmiles.org:
Removed file: http://bugs.python.org/file16838/python_ssl.c.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8108
Changes by Chris Miles miles.ch...@gmail.com:
--
nosy: +chrismiles
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2320
___
___
Python-bugs-list
Changes by Miles Kaufmann mile...@umich.edu:
Removed file: http://bugs.python.org/file14796/urllib_parse.py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5468
Miles Kaufmann mile...@umich.edu added the comment:
I've attached a patch that provides similar functionality to Dan Mahn's
urlencode(), as well as providing encoding and errors parameters to
parse_qs and parse_qsl, updating the documentation to reflect the added
parameters, and adding test
Changes by Miles Kaufmann mile...@umich.edu:
--
nosy: +milesck
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6234
___
___
Python-bugs-list mailing
Miles Kaufmann mile...@umich.edu added the comment:
parse_qs and parse_qsl should also grow encoding and errors parameters to
pass to the underlying unquote().
--
nosy: +milesck
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Chris Miles miles.ch...@gmail.com:
--
nosy: +chrismiles
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
___
Python-bugs-list
New submission from Miles semantic...@gmail.com:
The closed property of BufferedRWPair attempts to call the closed property
of its writer as a method, which fails because writer.closed is a bool.
The following code demonstrates the error:
import socket
socket.socket().makefile('rwb').closed
18 matches
Mail list logo