[issue26231] HTTPResponse.close() should consume all remaining data in body if any

2016-01-28 Thread Jacky
Jacky added the comment: In my opinion, HTTPResponse.close() should do really close work. Not only releasing the underlying file obj but also need to consume the remaining data to make sure the request complete. If close() does not consume the remaining data, the user would have to do

[issue26231] HTTPResponse.close() should consume all remaining data in body if any

2016-01-28 Thread Jacky
New submission from Jacky: HTTPResponse.close() in httplib should consume all remaining data in body if any. Or the followed request would get the unread content from the previous request, which result in the wrong result. The following code shown that the second request will get a wrong

PyModel 1.0: model-based testing in Python

2013-05-27 Thread jon . p . jacky
in Jan 2010, 0.85 in Mar 2010, and 0.90 in July 2011. Since July 2011 ongoing work has been available at GitHub: https://github.com/jon-jacky/PyModel/ PyModel can also be downloaded from PyPI http://pypi.python.org/pypi/PyModel or the author's web page at http://staff.washington.edu/jon/pymodel/www

Re: Deadlock problem using multiprocessing

2011-09-11 Thread Jacky Liu
I get this exception when I run the first program: Exception in thread Thread-1: Traceback (most recent call last):   File /usr/lib/python3.1/threading.py, line 516, in _bootstrap_inner     self.run()   File /usr/lib/python3.1/threading.py, line 469, in run     self._target(*self._args,

PyModel-0.9: Model-based testing in Python

2011-07-12 Thread Jon Jacky
PyModel-0.9, an open-source model-based testing framework in Python, has been released. Code, documents, and downloads are available: http://staff.washington.edu/jon/pymodel/www/ http://pypi.python.org/pypi/PyModel https://github.com/jon-jacky/PyModel Version 0.9 adds new functionality

FLiP-1.2 : Logical Framework in Python

2011-07-08 Thread Jon Jacky
FLiP-1.2, a logical framework in Python, has been released. Code, documentation, and downloads are available: http://staff.washington.edu/jon/flip/www/ http://pypi.python.org/pypi/FLiP/ https://github.com/jon-jacky/FLiP Version 1.2 is organized into packages and provides a distutils

How to convert bytearray into integer?

2010-08-16 Thread Jacky
- As the number of benchmarking loops decreasing, method c which is manually manipulating overwhelms the former 2 methods. However, if number == 10K, the struct method wins. Why does it happen? Thanks, Jacky (jacky.chao.wang#gmail.com) -- http://mail.python.org/mailman/listinfo/python-list

Re: How to convert bytearray into integer?

2010-08-16 Thread Jacky
Hi Thomas, Thanks for your comments! Please check mine inline. On Aug 17, 1:50 am, Thomas Jollans tho...@jollybox.de wrote: On Monday 16 August 2010, it occurred to Jacky to exclaim: Hi there, Recently I'm facing a problem to convert 4 bytes on an bytearray into an 32-bit integer.  So

Re: How to convert bytearray into integer?

2010-08-16 Thread Jacky
Hi Mark, Thanks for your reply. Agree and I'll use your suggestions. Thanks! -Jacky On Aug 17, 3:36 am, Mark Dickinson dicki...@gmail.com wrote: On Aug 16, 8:08 pm, Jacky jacky.chao.w...@gmail.com wrote: Hi Thomas, Thanks for your comments!  Please check mine inline. On Aug 17, 1:50

Re: How to convert bytearray into integer?

2010-08-16 Thread Jacky
On Aug 17, 3:38 am, Thomas Jollans tho...@jollybox.de wrote: On Monday 16 August 2010, it occurred to Jacky to exclaim: Hi Thomas, Thanks for your comments!  Please check mine inline. On Aug 17, 1:50 am, Thomas Jollans tho...@jollybox.de wrote: On Monday 16 August 2010

Re: How to convert bytearray into integer?

2010-08-16 Thread Jacky
On Aug 17, 3:53 am, Mark Dickinson dicki...@gmail.com wrote: On Aug 16, 8:36 pm, Mark Dickinson dicki...@gmail.com wrote: On Aug 16, 8:08 pm, Jacky jacky.chao.w...@gmail.com wrote: My concern is that struct may need to parse the format string, construct the list, and de-reference

Re: how to debug python application crashed occasionally

2010-04-25 Thread jacky wang
could anyone help me? On Apr 21, 2:55 pm, jacky wang bugking.w...@gmail.com wrote: Hello   recently, I met a problem with one python application running with python2.5 | debian/lenny adm64 system: it crashed occasionally in our production environment. The problem started to happen just

how to debug python application crashed occasionally

2010-04-21 Thread jacky wang
, and not all of them provides -dbg package in Debian/Lenny. So it still doesn't make any progress yet. I will be really appreciated if somebody can help me about how to debug the python crashes. Thanks in advance! BR Jacky Wang -- http://mail.python.org/mailman/listinfo/python-list

PyModel 0.8: Model-based testing in Python

2010-01-29 Thread Jon Jacky
PyModel is an open-source model-based testing framework in Python. Code, documents, and downloads are available: http://staff.washington.edu/jon/pymodel/www/ In unit testing, the programmer codes the test cases, and also codes assertions that check whether each test case passed. In

Discount (paypal) www.ebuyvip.com nfl jersey ugg boots

2008-12-21 Thread Jacky
Hi friend Thanks for your reply. The current stock list with the available jerseys and sizea in the add annex, pls check it. and the jerseys pictures you can check my ablum : http://likenfl.photo.163.com . the moq order: 10 pcs the price : $20 inc shipping fee and tax.If you worry do businees

Re: Web framework to recommend

2006-05-15 Thread Jacky
in XML format and then output XML after processing (or maybe I should use web services, perhaps?). Of course, I will write a complete web application in my other projects (such as those I wrote with PRADO and JSF), so all recommendations are welcomed :) Thank you! Best Wishes, Jacky Jacky