[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue11352>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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):
  File "error.py", line 17, in main
print(await fut)
TypeError: 42

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "error.py", line 21, in 
asyncio.run(main())
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in 
run_until_complete
return future.result()
  File "error.py", line 19, in main
traceback.print_exception(e)
TypeError: print_exception() missing 2 required positional arguments: 'value' 
and 'tb'

###
and if I replace traceback.print_exception method with the print method, It 
runs perfectly fine, printing

hello ...
42
42
42

Can you please help me with this issue?

--
nosy: +vishalpandeyvip

___
Python tracker 
<https://bugs.python.org/issue45924>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue33381>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue45912>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/issue33381>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com