Resolution of paths in tracebacks

2023-05-31 Thread Vishal Chandratreya
When an exception occurs, the full path to the file from which it originates is displayed, but redundant elements are not removed. For instance: $ ./python ./foo Traceback (most recent call last): File "/home/User/cpython/./foo", line 4, in a() File "/home/User/cpython/./foo", line 3, in

[issue47160] round function is not working as expected

2022-03-30 Thread ATUL VISHAL
New submission from ATUL VISHAL : round function is not working as expected . my number is x= 0.967565*185000= 178999.525 round(x,2) answer is coming as 178999.52 expected value is 178999.53 -- components: Library (Lib) files: compiled_result.jpg messages: 416333 nosy: vishalatul09

[issue45924] Incorrect traceback when future's exception is raised multiple times

2021-12-01 Thread Vishal Pandey
Vishal Pandey added the comment: thanks, It was my mistake, bug reproduced. -- ___ Python tracker <https://bugs.python.org/issue45924> ___ ___ Python-bugs-list m

[issue11352] Update cgi module doc

2021-12-01 Thread Vishal Pandey
Vishal Pandey added the comment: i am working on it. will submit a PR soon. -- nosy: +vishalpandeyvip ___ Python tracker <https://bugs.python.org/issue11

[issue45924] Incorrect traceback when future's exception is raised multiple times

2021-12-01 Thread Vishal Pandey
Vishal Pandey added the comment: hey Irit, Is this issue platform-dependent? I am on ubuntu 20.04, and running python 3.10. I am not getting the same error that you have mentioned below. This is what I am getting. ### hello ... Traceback (most recent call last

[issue33381] [doc] Incorrect documentation for strftime()/strptime() format code %f

2021-11-29 Thread Vishal Pandey
Vishal Pandey added the comment: I have made a PR into the repository, can anyone please review and merge it. -- ___ Python tracker <https://bugs.python.org/issue33

[issue45912] [argparse] Print texts starting with capital letters and finish with dot for more formality

2021-11-28 Thread Vishal Pandey
Vishal Pandey added the comment: I would like to work on it as my first contribution to the python repository. Can you please assign this to me? -- nosy: +vishalpandeyvip ___ Python tracker <https://bugs.python.org/issue45

[issue33381] [doc] Incorrect documentation for strftime()/strptime() format code %f

2021-11-26 Thread Vishal Pandey
Change by Vishal Pandey : -- keywords: +patch nosy: +vishalpandeyvip nosy_count: 5.0 -> 6.0 pull_requests: +28035 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29801 ___ Python tracker <https://bugs.p

[issue41722] multiprocess error on large dataset

2020-09-04 Thread vishal rao
Change by vishal rao : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue41722> ___ ___ Python-bugs-list

[issue41722] multiprocess error on large dataset

2020-09-04 Thread vishal rao
New submission from vishal rao : I am processing a large pandas dataframe using pathos framework which internally uses Python multiprocess package. I get the following error when i run the code with a large dataset. The issue doesn't occur on smaller datasets. /opt/conda/lib/python3.7/site

Multi-language programing playground

2019-10-25 Thread Vishal Rana via Python-list
Folks, I wanted to share a multi-language programming playground that I created recently. I hope you will find it useful. https://code.labstack.com/program Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: Python MySQL Guide

2018-08-10 Thread Vishal Hule
Sure, no problem. I also added a table of contents at the start of the article you can also refer that On Fri, 10 Aug 2018, 6:43 pm Bob Gailer, wrote: > Thank you for this offer. My reaction is I don't like having to scroll > through one very long page to find what I'm looking for. Might you

[issue32740] test_calendar and test_re fail with unknown locale: UTF-8 in _parse_localename

2018-02-01 Thread Vishal Kushwaha
Vishal Kushwaha <vishsink...@gmail.com> added the comment: Ok It's a strange MacOs prob. closed. Thanks anyways :) -- stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bugs.

[issue32740] test_calendar and test_re fail with unknown locale: UTF-8 in _parse_localename

2018-02-01 Thread Vishal Kushwaha
Vishal Kushwaha <vishsink...@gmail.com> added the comment: I'm new to this so I guess you were asking for this: $ locale LANG= LC_COLLATE="C" LC_CTYPE="UTF-8" LC_MESSAGES="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_ALL=

[issue32740] test_calendar and test_re fail with unknown locale: UTF-8 in _parse_localename

2018-02-01 Thread Vishal Kushwaha
New submission from Vishal Kushwaha <vishsink...@gmail.com>: Fresh build on MacOS 10.13.2 == ERROR: test_locale_flag (test.test_re.ReTests) -- Traceback

[issue30753] not able to execute print command on page 16 of documentation

2017-06-25 Thread Vishal Devgn
New submission from Vishal Devgn: >>> a, b = 0, 1 >>> while b < 1000: ... print(b, end=',') ... a, b = b, a+b in 3.6 as soon as i write print command, it displays an indentation error. -- files: 1.png messages: 296821 nosy: Vishal Devgn priority: normal severity

Re: pip3 : command not found

2016-10-30 Thread Vishal Subbiah
" How do I fix this? Regards, Vishal Subbiah Institute for Computational and Mathematical Engineering Masters Student Stanford University On Sun, Oct 30, 2016 at 5:37 PM, Ben Finney <ben+pyt...@benfinney.id.au> wrote: > Vishal Subbiah <subbiahvis...@gmail.com> writes: > > &g

pip3 : command not found

2016-10-30 Thread Vishal Subbiah
et me know how I can fix this. Looking forward to your response. Regards, Vishal Subbiah Institute for Computational and Mathematical Engineering Masters Student Stanford University -- https://mail.python.org/mailman/listinfo/python-list

[issue12933] Update or remove claims that distutils requires external programs

2014-08-25 Thread Vishal Lal
Vishal Lal added the comment: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12933 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue12933] Update or remove claims that distutils requires external programs

2014-06-17 Thread Vishal Lal
Vishal Lal added the comment: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12933 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue12933] Update or remove claims that distutils requires external programs

2014-03-26 Thread Vishal Lal
Changes by Vishal Lal vis...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file34627/issue12933-py27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12933

[issue12933] Update or remove claims that distutils requires external programs

2014-03-26 Thread Vishal Lal
Changes by Vishal Lal vis...@gmail.com: Added file: http://bugs.python.org/file34628/issue12933-py33.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12933

[issue12933] Update or remove claims that distutils requires external programs

2014-03-26 Thread Vishal Lal
Changes by Vishal Lal vis...@gmail.com: Added file: http://bugs.python.org/file34629/issue12933-py34.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12933

[issue12933] Update or remove claims that distutils requires external programs

2014-03-26 Thread Vishal Lal
Vishal Lal added the comment: Attached patch for 2.7, 3.3, 3.4. -- nosy: +Vishal.Lal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12933

Idea for removing the GIL...

2011-02-08 Thread Vishal
that this has been tried before...any info about that? Thanks and best regards, Vishal Sapre -- http://mail.python.org/mailman/listinfo/python-list

Re: Idea for removing the GIL...

2011-02-08 Thread Vishal
On Feb 8, 3:05 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Tue, 2011-02-08 at 01:39 -0800, Vishal wrote: Is it possible that the Python process, creates copies of the interpreter for each thread that is launched, and some how the thread is bound to its own interpreter

CodeFest - Online Coding Festival by Computer Engineering Society, IT-BHU

2011-01-17 Thread vishal kumar rai
Hello, We are delighted to inform you that CodeFest, the annual International online coding festival of Computer Engineering Society, IT-BHU, has been unveiled. CodeFest is a unique fest wherein concepts of mathematics, logic, artificial intelligence, algorithms, language syntax, etc. are

Re: How is memory managed in python?

2010-07-20 Thread Vishal Rana
Chris, Thanks for the link. On Mon, Jul 19, 2010 at 11:43 PM, Chris Rebert c...@rebertia.com wrote: On Mon, Jul 19, 2010 at 6:30 PM, Vishal Rana ranavis...@gmail.com wrote: Hi, In my web application (Django) I call a function for some request which loads like 500 MB data from

Re: How is memory managed in python?

2010-07-20 Thread Vishal Rana
Hi Christian, I am not sure which one is used in this case, I use htop to see the memory used by apache / python. Thanks Vishal Rana On Tue, Jul 20, 2010 at 5:31 AM, Christian Heimes li...@cheimes.de wrote: In my web application (Django) I call a function for some request which loads like

Re: How is memory managed in python?

2010-07-20 Thread Vishal Rana
on how often you are doing that kind of processing, how you want to tune apache. Scott M On Jul 19, 2010 9:31 PM, Vishal Rana ranavis...@gmail.com wrote: Hi, In my web application (Django) I call a function for some request which loads like 500 MB data from the database uses it to do

Re: How is memory managed in python?

2010-07-20 Thread Vishal Rana
Christian, It stays in RES and VIRT as well. Thanks Vishal Rana On Tue, Jul 20, 2010 at 8:53 AM, Christian Heimes li...@cheimes.de wrote: Am 20.07.2010 17:50, schrieb Vishal Rana: Hi Christian, I am not sure which one is used in this case, I use htop to see the memory used by apache

How is memory managed in python?

2010-07-19 Thread Vishal Rana
is it so? Can't I release that memory? Thanks Vishal Rana -- http://mail.python.org/mailman/listinfo/python-list

A daemon to call a function with configurable interval

2010-06-16 Thread Vishal Rana
Hi, I am working in a django web application. A function 'xyx' need to be called every 2 minutes. I want one http request should start the daemon and keep calling xyz (every 2 minutes) until I send another http request to stop it. Appreciate your ideas. Thanks Vishal Rana -- http

Updating a module level shared dictionary

2010-06-15 Thread Vishal Rana
Hi, A module level dictionary 'd' and is accessed by different threads/requests in a django web application. I need to update 'd' every minute with a new data and the process takes about 5 seconds. What could be best solution where I want the users to get either the old value or the new and

Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
/exec but not sure how safe they are! Any better approach or alternative? Appreciate your responses :) PS: Client-side: Flex, Server-side: Python, over internet Thanks Vishal -- http://mail.python.org/mailman/listinfo/python-list

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
They are bitwise operators! Thanks Vishal Rana -- http://mail.python.org/mailman/listinfo/python-list

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
They are bitwise operators! Thanks Vishal Rana -- http://mail.python.org/mailman/listinfo/python-list

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
They are bitwise operators! -- http://mail.python.org/mailman/listinfo/python-list

Re: Constructing an if statement from the client data in python

2010-04-13 Thread Vishal Rana
Thanks Chris On Tue, Apr 13, 2010 at 1:08 PM, Chris Rebert c...@rebertia.com wrote: On Tue, Apr 13, 2010 at 12:29 PM, Chris Rebert c...@rebertia.com wrote: On Tue, Apr 13, 2010 at 8:56 AM, Vishal Rana ranavis...@gmail.com wrote: Hi, I need to construct an if statement from

base32hex support in python?

2010-02-11 Thread Vishal Shetye
at the section 13 of RFC 4648, I think, adding base32hex support would make it conform to RFC 4648. - Vishal DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual

Re: Re: Help: Group based synchronize decorator

2009-06-22 Thread Vishal Shetye
Thanks. - vishal -Original Message- Sent: Friday, June 19, 2009 3:15 PM To: python-list@python.org Subject: Python-list Digest, Vol 69, Issue 214 Message: 6 Date: Fri, 19 Jun 2009 10:53:27 +0200 From: Piet van Oostrum p...@cs.uu.nl To: python-list@python.org Subject: Re: Help

Help: Group based synchronize decorator

2009-06-18 Thread Vishal Shetye
/alternatives? thanks vishal DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you

Re: How to check in CGI if client disconnected

2008-08-25 Thread Vishal
signal.signal(signal.SIGTERM, sigtermHandler) --- But even this doesn't work. Regards, -vishal. On Aug 25, 2:58 am, Gabriel Genellina [EMAIL PROTECTED] wrote: En Sun, 24 Aug 2008 17:51:36 -0300, Wojtek Walczak [EMAIL PROTECTED] escribió: On Sun, 24 Aug 2008 17:21:52 -0300, Gabriel Genellina wrote

Re: How to check in CGI if client disconnected

2008-08-25 Thread Vishal
Hi Graham, Thanks for the reply. In my case, it's the other way round. I need to check if the amount of data sent is equal to the file size i want to send. However, the question is - when do i check this? Currently, i am unable to call any cleanup code before exit. Regards, -vishal. On Aug

How to check in CGI if client disconnected

2008-08-24 Thread Vishal
, -vishal. -- http://mail.python.org/mailman/listinfo/python-list

Owner of spawned process in threads

2007-10-04 Thread Vishal Sethia
Just trying to understand the behaviour of spawn. Consider I have a function which creates two threads. And in one of the threads I make a call to pexpect.spawn. spawn would fork and create a new new child In this case who becomes the owner of this child process. Is it the thread that spawned

Closing pexpect connections using threads

2007-10-03 Thread Vishal Sethia
I am trying to write a multi-threaded program and use pexpect along with it. All works fine until I try to close the connection handle. That thread keeps waiting until the connection handle closes. It actually never comes out of that command(connection_handle.close()). If I manually kill it using

Compatibility of python2.5 with pytohn2.3

2007-07-18 Thread VISHAL KANAUJIA
Python (Version 2.3 in my case) constructs. Thanks, Vishal -- http://mail.python.org/mailman/listinfo/python-list

Re: binascii.unhexlify ... not clear about usage, and output

2007-07-11 Thread Vishal
On May 30, 1:31 pm, Peter Otten [EMAIL PROTECTED] wrote: Vishal wrote: I have a file with a long list of hex characters, and I want to get a file with corresponding binary characters here's what I did: import binascii f1 = 'c:\\temp\\allhex.txt' f2 = 'c:\\temp\\allbin.txt' sf

binascii.unhexlify ... not clear about usage, and output

2007-05-30 Thread Vishal
was expecting 'y' would come out as a string with binary characters!!! What am i missing here? Can someone please help. Thanks and best regards, Vishal -- http://mail.python.org/mailman/listinfo/python-list

RE: Watching a file another app is writing

2007-03-12 Thread Vishal Bhargava
What kind of file is it? CSV? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Sanders Sent: Monday, March 12, 2007 11:26 AM To: python-list@python.org Subject: Re: Watching a file another app is writing Gordon Airporte wrote: I'm trying to find

Regd. converting seconds to hh:mm:ss format

2007-02-20 Thread Vishal Bhargava
Is there an inbuilt library in Python which you can use to convert time in seconds to hh:mm:ss format? Thanks, Vishal -- http://mail.python.org/mailman/listinfo/python-list

RE: can't find a way to display and print pdf through python.

2007-02-10 Thread Vishal Bhargava
Use Report Lab... Cheers, Vishal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of krishnakant Mane Sent: Saturday, February 10, 2007 10:46 PM To: python-list@python.org Subject: can't find a way to display and print pdf through python. hello all, I am

RE: can't find a way to display and print pdf through python.

2007-02-10 Thread Vishal Bhargava
Are you trying to do real time or post real time. -Vishal -Original Message- From: krishnakant Mane [mailto:[EMAIL PROTECTED] Sent: Saturday, February 10, 2007 10:50 PM To: Vishal Bhargava Cc: python-list@python.org Subject: Re: can't find a way to display and print pdf through python

Regd. Regular expressions PyQt

2007-02-03 Thread vishal
Hello All: I am trying to work out a regular expression in a PyQt environment for time in hh:mm:ss format. Any suggestions? Thanks, Vishal -- http://mail.python.org/mailman/listinfo/python-list

Regd. Kodos

2007-02-03 Thread vishal
I am trying to use Kodos..but not getting thru'..dont know whats goin on..does anyone have a regular expression for time in hh:mm:ss -Vishal -- http://mail.python.org/mailman/listinfo/python-list

HELP NEEDED ... Regd. Regular expressions PyQt

2007-02-03 Thread vishal
Hello All: I am trying to work out a regular expression in a PyQt environment for time in hh:mm:ss format. Any suggestions? Thanks, Vishal -- http://mail.python.org/mailman/listinfo/python-list

Simple Python Based Genetic Algorithm Framework

2006-11-07 Thread Vishal Patil
Check out a new and simple Python base genetic algorithm framework at http://vishpat.googlepages.com/pgap -- Motivation will almost always beat mere talent. -- http://mail.python.org/mailman/listinfo/python-list