Sriram added the comment:
Hi,
I believe this behaviour can be tested if we can prove that Cmd's cmdloop uses
raw_input to get the data as against self.stdin.readline().
To test it, ideally I would have liked to override sys.stdin with a fake input
stream and pass the list of args (like
Sriram added the comment:
Hi,
On second thoughts, it made more sense to validate pdb directly instead of
validating doctest's debugger.
I have also used few inputs, I got from irc chat at #python-dev room in writing
the test case. Thanks to them.
I have attached the svn diff.
P
New submission from Sriram:
When i tried to import numpy for any program in VS 2017, it returns with Import
Error.
Traceback (most recent call last):
File "C:\Program Files\Python36\lib\site-packages\numpy\core\__init__.py",
line 16, in
from . import multiarray
ImportError
Sriram added the comment:
Yes, i just found that after creating the issue, Sorry.
Anyhow thanks for quick response, i have addressed this to numpy team.
https://github.com/numpy/numpy/issues/9501
--
___
Python tracker
<http://bugs.python.
Sriram added the comment:
Hi,
How about changing pdb's behavior, that it disables readline only if the
passed stream is not the stdout stream?
Also when looking at doctest module, I found that bdb's trace_dispatch
was overridden to set the debugger's output stream to someth
Sriram added the comment:
Hi,
This is the first bug am working in python, kindly excuse my mistakes,
if any.
As far as I can understand, the pdb disabled readline when an explicit
stdin or stdout is passed, to allow remote debugging.
I found this in Python 2.5.4 Release log.
"&qu
New submission from Sriram Thaiyar :
http://docs.python.org/dev/py3k/library/urllib.request.html#urllib.request._urlopener
[in the body]
urllib._urlopener should be urllib.request._urlopener
--
assignee: d...@python
components: Documentation
messages: 104998
nosy: Sriram.Thaiyar, d
New submission from Sriram Krishna :
Suppose I have a file profile.py in the same directory as the file I am running
(say test.py)
Let the contents of the files be:
profile.py:
raise Exception
test.py:
import cProfile
now if I run test.py
$ python test.py
Traceback (most recent call last
Sriram Krishna added the comment:
My contention is that this behaviour breaks the Principle of Least Astonishment.
In the particular example I gave, the user doesn't know (and can't be expected
to know) the existence of a module called profile in the standard library. Here
the u
Sriram Krishna added the comment:
Already covered in issue29929: https://bugs.python.org/issue29929.
Thanks xtreak for the link to the message thread.
PEP 432 seems to have methods to resolve this.
Currently if the code doesn't access to .local, one can use the -I commandline
optio
Sriram Rajagopalan added the comment:
datetime.strptime() uses the return value of _strptime() [ which returns 1900
for 29th Feb without an year ] and eventually ends up calling
datetime_new()->check_date_args() [ datetimemodule.c ] with 29th Feb 1900 and
eventual failure.
Should we enha
New submission from Sriram Rajagopalan:
$ python
Python 3.5.1 (default, Dec 7 2015, 12:58:09)
[GCC 5.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>>
Sriram Rajagopalan added the comment:
Opened issue 26460 for fixing the leap day bug in datetime.datetime.strptime()
--
___
Python tracker
<http://bugs.python.org/issue14
New submission from Sriram Rajagopalan:
Consider this simple python program -
1 #!/usr/bin/python
2
3 import pdb
4 import sys
5 import traceback
6
7 def trace_exception( type, value, tb ):
8 traceback.print_tb( tb )
9 pdb.post_mortem( tb )
10
11 sys.excepthook
Changes by Sriram Rajagopalan :
Added file: http://bugs.python.org/file42508/bdbfix.patch
___
Python tracker
<http://bugs.python.org/issue26779>
___
___
Python-bugs-list m
Changes by Sriram Rajagopalan :
Removed file: http://bugs.python.org/file42486/bdbfix.patch
___
Python tracker
<http://bugs.python.org/issue26779>
___
___
Python-bug
Sriram Rajagopalan added the comment:
ping
--
nosy: +bglsriram
___
Python tracker
<http://bugs.python.org/issue26779>
___
___
Python-bugs-list mailing list
Unsub
Sriram Rajagopalan added the comment:
ping.
Gentle reminder to review the patch
--
___
Python tracker
<http://bugs.python.org/issue26779>
___
___
Python-bug
Bhaskara Aditya Sriram added the comment:
I would like work on this, but I'm very new to fixing bugs. Could someone
please help me on how to proceed with this bug. Thank You in advance
--
nosy: +adityasriram.b
___
Python tracker
&
19 matches
Mail list logo