Change by Karthikeyan Singaravelan :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue39355>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
Removed message: https://bugs.python.org/msg360043
___
Python tracker
<https://bugs.python.org/issue35058>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
Removed message: https://bugs.python.org/msg360042
___
Python tracker
<https://bugs.python.org/issue35058>
___
___
Pytho
Karthikeyan Singaravelan added the comment:
See also some discussion on regarding this class of vulnerability :
https://bugs.python.org/issue36260
--
nosy: +serhiy.storchaka, xtreak
___
Python tracker
<https://bugs.python.org/issue39
Karthikeyan Singaravelan added the comment:
Does overriding exit help here?
https://docs.python.org/3.8/library/argparse.html#argparse.ArgumentParser.exit
--
nosy: +paul.j3, xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +taleinat, terry.reedy
___
Python tracker
<https://bugs.python.org/issue39330>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Can you please attach the output log of the test?
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +17396
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17993
___
Python tracker
<https://bugs.python.org/issu
New submission from Karthikeyan Singaravelan :
imghdr module has a cli that can display the image type for a given filename
and also recurse through directories. I would like to propose following changes
:
* Add tests for the imghdr cli.
* The cli uses hardcoded '/' separator in the end
Karthikeyan Singaravelan added the comment:
New changeset d8efc1495194228c3a4cd472200275d6491d8e2d by Karthikeyan
Singaravelan in branch 'master':
bpo-39299: Add more tests for mimetypes and its cli. (GH-17949)
https://github.com/python/cpython/commit/d8efc1495194228c3a4cd472200275d6491d8e2d
Change by Karthikeyan Singaravelan :
--
nosy: +serhiy.storchaka
versions: -Python 3.5, Python 3.6
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue39307>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
No problem, you're welcome :)
--
___
Python tracker
<https://bugs.python.org/issue39315>
___
___
Python-bugs-list m
Karthikeyan Singaravelan added the comment:
You are appending to the class attribute where both shelf[0] and shelf[1]
refers to the same list as seen by output of id. You might want to create an
instance variable and use it for mutating across different instances. This
could help :
https
Change by Karthikeyan Singaravelan :
--
nosy: +mark.dickinson, rhettinger, stutzbach
___
Python tracker
<https://bugs.python.org/issue39310>
___
___
Python-bug
Change by Karthikeyan Singaravelan :
--
nosy: +tim.peters
___
Python tracker
<https://bugs.python.org/issue39311>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
With the proposed PR the coverage [0] stands at 80% with Windows tests for
registry not covered as part of the coverage report. The tests also now use
tearDownModule to restore the value of mimetypes.knownfiles which was being
accidentally set
Karthikeyan Singaravelan added the comment:
Thanks for the details. I looked into the tests for this behavior too and agree
it's a tested behavior. issue5416 already had similar discussion and the
documentation was committed to be later reverted upon Raymond's suggestion. So
I will leave
Karthikeyan Singaravelan added the comment:
negative value is an implementation detail where count < 0 is similar to
replace all [0]. See also issue5416
[0]
https://github.com/python/cpython/blob/43682f1e39a3c61f0e8a638b887bcdcbfef766c5/Objects/unicodeobject.c#L10578
--
n
Karthikeyan Singaravelan added the comment:
See also issue36077
--
___
Python tracker
<https://bugs.python.org/issue39300>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
> TypeError will be raised if a field without a default value follows a field
> with a default value. This is true either when this occurs in a single class,
> or as a result of class inheritance.
I think this is a combination of
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39298>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
keywords: +patch
pull_requests: +17356
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17949
___
Python tracker
<https://bugs.python.org/issu
New submission from Karthikeyan Singaravelan :
Currently the test coverage for mimetypes module is at 57%
https://codecov.io/gh/python/cpython/src/43682f1e39a3c61f0e8a638b887bcdcbfef766c5/Lib/mimetypes.py
. I propose adding the following tests to increase the coverage.
* Add test for case
Change by Karthikeyan Singaravelan :
--
nosy: +pitrou
___
Python tracker
<https://bugs.python.org/issue39291>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue39292>
___
___
Python-bugs-list mailing list
Unsub
New submission from Karthikeyan Singaravelan :
https://docs.python.org/3/library/pathlib.html#pathlib.PurePath.match
Under PurePath.match there is a statement that case-sensitivity is followed but
presents an example in Windows where case insensitive match returns True. This
is confusing
Karthikeyan Singaravelan added the comment:
Can you please post the unittest script and the desired behavior? Are you
testing your own argument parser created using argparse or want to write
something replacing the argument parser of the unittest module like creating a
custom unittest
Change by Karthikeyan Singaravelan :
--
Removed message: https://bugs.python.org/msg359706
___
Python tracker
<https://bugs.python.org/issue32545>
___
___
Pytho
Karthikeyan Singaravelan added the comment:
This looks similar to issue35405 . See also issue16482 with a patch.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +mark.dickinson, rhettinger
___
Python tracker
<https://bugs.python.org/issue39274>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
I am able to reproduce it on my Mac and as below the values of os.getpid() are
the same with the command. I will try to get to a Linux box to see if I can
reproduce this. I was always under the assumption that -j 4 runs tests in
parallel
Karthikeyan Singaravelan added the comment:
> You wrote "I guess the file is not really deleted in some cases." I think
> that this should be investigated first.
Sorry, I wanted to mean that as the test deletes the file and goes on to assert
it's not present the othe
Karthikeyan Singaravelan added the comment:
Seems like a duplicate of https://bugs.python.org/issue34394
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue39269>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Sorry, I never got around writing a proper test for this so I am moving it to
test needed if someone wants to volunteer for it. trio has some test cases for
their happy eyeball implementation if it helps :
https://github.com/python-trio/trio/blob
Karthikeyan Singaravelan added the comment:
Closing it as duplicate.
--
nosy: +xtreak
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> json fails to serialise numpy.int64
___
Python tra
Change by Karthikeyan Singaravelan :
--
nosy: +yselivanov
___
Python tracker
<https://bugs.python.org/issue39257>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
It's a similar situation to name argument conflict [0] except that it's parent
here. You can use configure_mock or attribute setting to do the same thing like
below. parent is discussed in the docs to indicate the attributes being
children like
Change by Karthikeyan Singaravelan :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue39247>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue39233>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
Thanks Michael, reopening. I was wrong while trying the reproducer since map is
lazy in Python 3 and threads were not executed.
--
resolution: wont fix ->
stage: resolved ->
status: closed -> open
versions: +Python 3.9 -P
Karthikeyan Singaravelan added the comment:
This commit seems to generate some warnings in the nested run_until_complete
test. The check for running loop is now done at run_until_complete itself
before going through the below code in it to create a future and raised a
RuntimeError
Change by Karthikeyan Singaravelan :
--
nosy: +mdk
___
Python tracker
<https://bugs.python.org/issue39229>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39222>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
I think it's more of an implementation artifact of numpy eq definition for
float32 and float64 and can possibly break again if (x-c) * (x-c) was also
changed to return float64 in future.
--
nosy: +rhettinger, steven.daprano, taleinat
Change by Karthikeyan Singaravelan :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue39216>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +jaraco
___
Python tracker
<https://bugs.python.org/issue39211>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
Can you please paste the output of http.server as in the port and address
printed as a log when started for different commands? As I can see from the
history the binding process was changed to include IPv6 as default :
https://github.com/python
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39211>
___
___
Python-bugs-list mailing list
Unsubscribe:
Karthikeyan Singaravelan added the comment:
Closing since PRs were merged. Thanks for the review.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Karthikeyan Singaravelan added the comment:
Some discussion on similar proposal earlier :
https://mail.python.org/pipermail/python-dev/2017-November/150234.html
--
___
Python tracker
<https://bugs.python.org/issue39
Karthikeyan Singaravelan added the comment:
I am not sure if it was discussed earlier there was a discussion on adding PEP
570 syntax across the docs. This comes at the cost of keeping the types
updated. There was also a poc over expanding the signature to view the PEP 570
syntax as needed
Karthikeyan Singaravelan added the comment:
Please include the script as an attachment or text so that it will be easy to
view them. The script as below from the attachment :
import threading
import time
import tracemalloc
def callback():
pass
tracemalloc.start()
for i in range(10
Karthikeyan Singaravelan added the comment:
There is a behavior change. parse() sets the modified time and unless the
modified time is set the can_fetch method returns false. In Python 2 the parse
method was called only when the file is non-empty [0] but in Python 3 it's
always called
Change by Karthikeyan Singaravelan :
--
nosy: +christian.heimes, steve.dower
___
Python tracker
<https://bugs.python.org/issue39182>
___
___
Python-bugs-list m
New submission from Karthikeyan Singaravelan :
As a note getlines is not exposed via __all__ :
https://github.com/python/cpython/blob/22424c02e51fab3b62cbe255d0b87d1b55b9a6c3/Lib/linecache.py#L13
--
nosy: +xtreak
___
Python tracker
<ht
Karthikeyan Singaravelan added the comment:
This tracker is for issues related to CPython. Unless there is a simple
reproducer in Python without pandas to illustrate the issues reported I would
propose closing this as third party. Please follow this up at
https://github.com/pandas-dev
Change by Karthikeyan Singaravelan :
--
nosy: +inada.naoki, rhettinger
___
Python tracker
<https://bugs.python.org/issue39178>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Bisecting points me to fee552669f . I tried compiling latest master with the
bytecode changes and the behavior is same as reported.
➜ cpython git:(5dcc06f6e0) ./python ../backups/bpo39166.py >
fee552669f_before.txt
➜ cpython git:(5dcc06f
Change by Karthikeyan Singaravelan :
--
pull_requests: -17214
___
Python tracker
<https://bugs.python.org/issue1820>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue39166>
___
___
Python-bugs-list mailin
Change by Karthikeyan Singaravelan :
--
nosy: +gpolo, serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue39171>
___
___
Python-bugs-list mailin
Karthikeyan Singaravelan added the comment:
Seems to be a duplicate of issue2899
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
title: Translation of "string.find('asd', 'sd')" doesn't work -> Transformation
of "string.find('asd', 'sd')" to Python 3 using 2to3
___
Python tracker
<https://
Karthikeyan Singaravelan added the comment:
dummy_threading was removed in Python 3.9 with issue37312 . I hope this issue
can be closed as outdated.
--
nosy: +inada.naoki, xtreak
___
Python tracker
<https://bugs.python.org/issue18
Karthikeyan Singaravelan added the comment:
It seems like this is a common problem :
https://stackoverflow.com/questions/15008758/parsing-boolean-values-with-argparse
. I guess you want to store verbose=True when --verbose is passed and
verbose=False when --verbose is not passed where
Change by Karthikeyan Singaravelan :
--
nosy: +ezio.melotti, mrabarnett, serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue39165>
___
___
Pytho
Change by Karthikeyan Singaravelan :
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
title: Perfect Exchange Migration tool -> spam
type: performance ->
___
Python tracker
<https://bugs.pyt
Change by Karthikeyan Singaravelan :
--
Removed message: https://bugs.python.org/msg359028
___
Python tracker
<https://bugs.python.org/issue39163>
___
___
Pytho
Change by Karthikeyan Singaravelan :
Removed file: https://bugs.python.org/file48809/exchange-migration.jpg
___
Python tracker
<https://bugs.python.org/issue39
Karthikeyan Singaravelan added the comment:
FWIW, dummy_threading and _dummy_thread were removed with
8bf08ee45b7c2341f0d0175b91892843a37c23da in Python 3.9.
--
___
Python tracker
<https://bugs.python.org/issue33
Change by Karthikeyan Singaravelan :
--
nosy: +ethan.furman
___
Python tracker
<https://bugs.python.org/issue38967>
___
___
Python-bugs-list mailing list
Unsub
Karthikeyan Singaravelan added the comment:
> Should not parallel tests be ran in different directories?
yes, the test uses support.TESTFN which has the value of
"{}_{}_tmp".format(TESTFN, os.getpid()) in the setUp [0] to create tempdir.
Under parallel tests the pid va
Karthikeyan Singaravelan added the comment:
Thanks for the details. Attached is a complete script. Looking at the source
code, anything that looks like a tuple is converted into a tuple. namedtuple
produces factory function that itself is a subclass of tuple. It led me to this
interesting
Karthikeyan Singaravelan added the comment:
It's intended as non-empty strings evaluate to True so you with `'a' and 'b'
and 'c' in dict` you are essentially evaluating `'a' and 'b' and ('c' in dict)`
with brackets precedence i.e. `True and True and True` . On the other hand `'a'
and 'g
Karthikeyan Singaravelan added the comment:
Thanks Terry, I guess it's a duplicate of issue34118 .
--
___
Python tracker
<https://bugs.python.org/issue39
Karthikeyan Singaravelan added the comment:
Thanks for the report. Can you please attach a sample script with the handler
used to illustrate the issue?
--
nosy: +vinay.sajip, xtreak
___
Python tracker
<https://bugs.python.org/issue39
Change by Karthikeyan Singaravelan :
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue39141>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> shutil.move raises AttributeError if first argument is a
pathlib.Path object and destination is a directory
__
Karthikeyan Singaravelan added the comment:
This is a duplicate of https://bugs.python.org/issue32689 that is fixed in 3.9
. Using os.fspath on path object is more correct here instead of str so that
objects with both __str__ and __fspath__ implemented are handled properly.
--
nosy
Karthikeyan Singaravelan added the comment:
It can be updated since issue25988 removed the deprecation in Python 3.9.
--
nosy: +rhettinger, xtreak
___
Python tracker
<https://bugs.python.org/issue39
New submission from Karthikeyan Singaravelan :
Based on
https://github.com/python/cpython/pull/17665#pullrequestreview-335610849 .
Grepping for the words might help fix in multiple instances of the typos.
Typos in Whatsnew document
asolute -> absolute
happend -> happened
Excape -&g
Karthikeyan Singaravelan added the comment:
Thanks for the report. Would you like to propose a PR? The relevant file is at
https://github.com/python/cpython/blob/master/Doc/library/time.rst .
--
keywords: +easy, newcomer friendly
nosy: +xtreak
Karthikeyan Singaravelan added the comment:
Thanks for the feedback. Closing it as rejected.
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Karthikeyan Singaravelan added the comment:
Similar to previous discussions having an IANA registration would improve the
acceptance of the patch to add it. It's still not listed at
https://www.iana.org/assignments/media-types/media-types.xhtml
--
nosy: +xtreak
Karthikeyan Singaravelan added the comment:
Closing it as duplicate. Feel free to reopen if it's reproducible on latest
stable release. Thanks.
--
nosy: +maxking
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> While parsing emai
Karthikeyan Singaravelan added the comment:
Thanks John for the report and patch. Closing it as resolved.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Karthikeyan Singaravelan added the comment:
Is there a way this can be tested? I tried simulating OSError for IPv4 address
and returning socket for ipv6 one like it resolves correctly. I guess that's
the underlying idea of happy eyeballs but a test can be added for basic
workflow since
New submission from Karthikeyan Singaravelan :
I guess the TimeoutError exception needs to be imported from asyncio.exceptions
and not from asyncio.futures that causes AttributeError while instantiating a
connection with happy eyeballs.
./python.exe -m asyncio
asyncio REPL 3.9.0a2+ (heads
New submission from Karthikeyan Singaravelan :
Created from https://github.com/aio-libs/aiohttp/issues/4451 .
happy_eyeballs_delay and interleave are not documented in the signature at [0]
though the parameters were explained below . Andrew, feel free to update if
there is any additional
Karthikeyan Singaravelan added the comment:
Currently docstring written for even property.setter is ignored in help as
inspect.getdoc only inspects property.fget [0] for docstrings. I feel docs for
setter could also be included. The docs also indicate the same at
https://docs.python.org/3.6
Karthikeyan Singaravelan added the comment:
FWIW, built-in types page has the class prefix :
https://docs.python.org/3/library/stdtypes.html#tuple . Similar difference
between range in the two pages.
--
nosy: +xtreak
___
Python tracker
<ht
Karthikeyan Singaravelan added the comment:
This is a tracker for CPython issues. Please use the bug tracker for pyodbc or
other forums like stack overflow for better solutions.
--
nosy: +xtreak
resolution: -> third party
stage: -> resolved
status: open -&g
Karthikeyan Singaravelan added the comment:
I think this should be fixed with issue38698 in 3.8.1 . Can you please try the
latest stable release.
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39
Karthikeyan Singaravelan added the comment:
Looking at changes to alpha2 I think it bisects to
https://github.com/python/cpython/pull/6641
➜ cpython git:(5dcc06f6e0) git checkout
fee552669f21ca294f57fe0df826945edc779090 && make -s -j4 > /dev/null
Previous HEAD position was
Change by Karthikeyan Singaravelan :
--
nosy: +xtreak
___
Python tracker
<https://bugs.python.org/issue39114>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Karthikeyan Singaravelan :
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue39107>
___
___
Python-bugs-list mailing list
Unsub
Change by Karthikeyan Singaravelan :
--
nosy: +mark.dickinson, rhettinger
___
Python tracker
<https://bugs.python.org/issue39108>
___
___
Python-bugs-list mailin
New submission from Karthikeyan Singaravelan :
I came across this idea while working on error messages for click at
https://github.com/pallets/click/issues/1446. Currently for unknown arguments
which could in some case be typos argparse throws an error but doesn't make any
suggestions
801 - 900 of 3093 matches
Mail list logo