[issue41045] f-string's "debug" feature is undocumented

2020-07-13 Thread Rishi
Rishi added the comment: Hello all, Could I help by adding this to the documentation ? -- nosy: +rishi93 ___ Python tracker <https://bugs.python.org/issue41

[issue39017] Infinite loop in the tarfile module

2020-07-12 Thread Rishi
Rishi added the comment: Thank you. I have signed the CLA agreement. I have pushed my code changes and also written a testcase for this issue -- ___ Python tracker <https://bugs.python.org/issue39

[issue39017] Infinite loop in the tarfile module

2020-07-12 Thread Rishi
Change by Rishi : -- keywords: +patch pull_requests: +20602 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/21454 ___ Python tracker <https://bugs.python.org/issu

[issue39017] Infinite loop in the tarfile module

2020-07-10 Thread Rishi
Rishi added the comment: Hi ! I would like to start contributing to CPython. Can I start working on this issue ? -- ___ Python tracker <https://bugs.python.org/issue39

[issue39017] Infinite loop in the tarfile module

2020-07-10 Thread Rishi
Change by Rishi : -- nosy: +rishi93 ___ Python tracker <https://bugs.python.org/issue39017> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue1610654] cgi.py multipart/form-data

2014-12-09 Thread Rishi
Rishi added the comment: There is indeed a test failure that occurs without the patch. This is a new test I had added. The reason is that in the existing implementation, when a boundary does not exist, the implementation does not include the trailing CRLF, LF or for that matter CR as part

[issue1610654] cgi.py multipart/form-data

2014-12-09 Thread Rishi
Rishi added the comment: One of my comments shot the wrapped line limit. Also changed the test in question to check the lengths of the expected and actual buffer to checking the contents of the respective buffers. -- Added file: http://bugs.python.org/file37400/issue1610654_5.patch

[issue1610654] cgi.py multipart/form-data

2014-11-08 Thread Rishi
Rishi added the comment: Hi, I have created a new patch with a small design change. The change is that in situations where I don't find the boundary instead of keeping the last x bytes in the buffer I simply drain the whole data and call a readline(). This seems like the right thing to do

[issue1610654] cgi.py multipart/form-data

2014-11-04 Thread Rishi
Rishi added the comment: Patch updated from review comments. Also added a few corner test cases. -- Added file: http://bugs.python.org/file37128/issue1610654_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1610654

[issue1610654] cgi.py multipart/form-data

2014-10-14 Thread Rishi
Rishi added the comment: I have recreated the patch(issue1610654_1.patch) and it performs more or less like the earlier patch Serhiy, I agree we cannot use handmade buffering here, without seeking ahead. I believe, we can make optimizations for streams which are buffered and non-seekable. Cgi

[issue1610654] cgi.py multipart/form-data

2014-10-13 Thread Rishi
Rishi added the comment: My observation is that a file with more than normal (exact numbers below) line-feed characters takes way too long. I tried porting the above patch to my default branch, but it has some boundary and CRLF/LF issues, but more importantly it relies on seeking the file

[issue1610654] cgi.py multipart/form-data

2014-10-13 Thread Rishi
Rishi added the comment: Antoine, I will upload a patch that relies on BufferedReader. As you mentioned, it will get rid of supporting the buffer and reduce a lot of code. The only issue is that it helps me to know if the current buffer is at EOF (the documentation of peek does not mention

[issue22351] NNTP constructor exception leaves socket for garbage collector

2014-10-10 Thread Rishi
Rishi added the comment: patch updated based on comments. -- Added file: http://bugs.python.org/file36873/issue22351_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22351

[issue22351] NNTP constructor exception leaves socket for garbage collector

2014-10-05 Thread Rishi
Rishi added the comment: Here is my attempt to fix this issue. This is my first patch ever :). IMO checking socket leaks in the constructor requires an actual server, so I create an actual localhost dummy server and test some error conditions that are encountered by the constructor

[issue22351] NNTP constructor exception leaves socket for garbage collector

2014-10-05 Thread Rishi
Rishi added the comment: patch updated to use just plain exception -- Added file: http://bugs.python.org/file36819/issue22351_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22351

Re: CONNECTION TIMED OUT ERROR using urllib2

2008-12-04 Thread rishi pathak
(err) *urllib2.URLError: urlopen error (110, 'Connection timed out*') Any pointers in this regard will be of great help. Thanking you'll in advance. Regards, sv -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak Pune-Maharastra -- http://mail.python.org

Re: CONNECTION TIMED OUT ERROR using urllib2

2008-12-04 Thread rishi pathak
Before executing script do export http_proxy=http://your proxy server address:port/ On Fri, Dec 5, 2008 at 12:06 PM, svalbard colaco [EMAIL PROTECTED]wrote: Hi rishi, Thanks for ur reply, yes i set the following enviroment variables (FC6 platform) http_proxy,http_user,http_password But i

Re: return a value to shell script

2008-11-12 Thread rishi pathak
://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: How can I handle the char immediately after its input, without waiting an endline?

2008-10-22 Thread rishi pathak
://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: running a daemon in python

2008-02-25 Thread rishi pathak
it in python as i have implemented the server in python ... -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak -- http://mail.python.org/mailman/listinfo/python-list

Re: standalone python web server

2007-12-26 Thread rishi pathak
into more details like processing image file, different file type(like FLV) .. etc. Any recommendation or tools suggested for me? Thanks, Eric -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak -- http://mail.python.org/mailman/listinfo/python-list

Re: Happy Christmas Pythoneers

2007-12-23 Thread rishi pathak
Is santa clause subscribed to the list . I want a gift:) On 12/24/07, Paddy [EMAIL PROTECTED] wrote: After quite enjoying participating in the group in 2007, I'd like to wish you all a Merry Xmas. - Paddy. -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi

Re: ['a', 'b'][True] results 'b' But how?

2007-07-05 Thread rishi pathak
-- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: Execute script on remote computer

2007-06-19 Thread rishi pathak
or attachment. www.cybage.com -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman

Re: Good Python style?

2007-05-31 Thread rishi pathak
of all non-empty lines into a set some_set = frozenset([line.split()[0] for line in \ filter(None, [ln.strip() for ln in inp])]) -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak -- http://mail.python.org/mailman/listinfo/python-list

Re: Usage of the __and__ method

2007-05-30 Thread rishi pathak
accepting is: John AND George What are the changes if to be made? Thanking You Thejaswi Puthraya http://thejuhyd.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C

Re: Usage of the __and__ method

2007-05-30 Thread rishi pathak
are the changes if to be made? Thanking You Thejaswi Puthraya http://thejuhyd.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh

Re: Code Explanation

2007-05-17 Thread rishi pathak
-- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: Lindsay Lohans TITS OOPSIE!!!

2007-05-17 Thread rishi pathak
/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: newb: Python Module and Class Scope

2007-05-10 Thread rishi pathak
-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: File Name Format

2007-05-08 Thread rishi pathak
-- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: N00b question on Py modules

2007-05-07 Thread rishi pathak
as well, all suggest that it shouldn't be working this way. Please help out ppl. Thanks -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind

Re: FInd files with .so extension

2007-05-03 Thread rishi pathak
using python . -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python

Re: Searching for a piece of string

2007-05-03 Thread rishi pathak
-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: Can I place a question on the mailing list

2007-04-20 Thread rishi pathak
://us.rd.yahoo.com/evt=40705/*http://mrd.mail.yahoo.com/try_beta?.intl=ca -- Get a sneak peak at messages with a handy reading pane. -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center

Re: Arrays, Got Me Confused

2007-04-13 Thread rishi pathak
need do is call Firewall() and it creates an instance, but I'm used to creating my class's as separate files, how do I create them as an object in my main application? Thanks, Rob -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM

Re: Newbie help with array handling

2007-04-12 Thread rishi pathak
a key and a single value -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman

Re: Pass A Var To a Python Script?

2007-04-11 Thread rishi pathak
=5117 -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: Create new processes over telnet in XP

2007-03-23 Thread rishi pathak
, 3, 4] and also subprocesses.popen without any luck... Any help will be appreciated... thankyou. -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus

Re: python java

2007-03-20 Thread rishi pathak
-- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: Re: python java

2007-03-20 Thread rishi pathak
betn python jython On Tue, 20 Mar 2007 rishi pathak wrote : See www.*jython*.org On 20 Mar 2007 02:23:07 -0700, sandeep patil [EMAIL PROTECTED] wrote: hi i am fresher i python can any bady tell me who i will use python in web technologies in java base application. what it roll sandeep patil

Re: Starting an external, independent process from a script

2007-03-13 Thread rishi pathak
/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list

Re: MPI in python?

2007-03-09 Thread rishi pathak
. Is there a tutorial that explains the MPI syntax in python with examples? Thanking in advance, Joydeep -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus

Re: Python books?

2007-03-08 Thread rishi pathak
This I know that never dies, how a dead mans deeds are deemed. -- Elder edda Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune

Device Drivers in python(kernel modules)

2007-03-06 Thread rishi pathak
suggest something..anything -- Regards-- Rishi Pathak National PARAM Supercomputing Facility Center for Development of Advanced Computing(C-DAC) Pune University Campus,Ganesh Khind Road Pune-Maharastra -- http://mail.python.org/mailman/listinfo/python-list