Artem added the comment:
See this issue on 3.9.6
No SSL, but plain sockets.
This seems to appear when writer.write/writer.drain was cancelled, and
writer.close/writer.wait_closed called after this.
--
nosy: +aeros, seer
versions: +Python 3.9
Artem added the comment:
Python 3.9.6 Linux same issue.
--
nosy: +seer
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue38856>
___
___
Artem added the comment:
Checked on 3.9.6 - still leaking.
Strange stuff, but if I write
except OSError as e:
del self
instead of
except OSError as e:
pass
leak is disappearing.
--
versions: +Python 3.9 -Python 3.6
___
Python tracker
Change by Artem :
--
nosy: +bquinlan
___
Python tracker
<https://bugs.python.org/issue44697>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
New submission from Artem :
I write some short example.
import resource
import asyncio
class B:
def __init__(self, loop):
self.loop = loop
self.some_big_data = bytearray(1024 * 1024) # 1Mb for memory bloating
async def doStuff(self):
if not await
Artem Bulgakov added the comment:
Hi. My PR doesn't remove the possibility to add tree into tar file. It only
fixes header for GZIP compression. Any data after this header is not affected.
You can test it by creating two archives with the same data but one with my
patch and the s
Change by Artem Bulgakov :
--
keywords: +patch
pull_requests: +20646
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21511
___
Python tracker
<https://bugs.python.org/issu
New submission from Artem Bulgakov :
tarfile sets FNAME field to the path given by user: Lib/tarfile.py:424
It writes full path instead of just basename if user specified absolute path.
Some archive viewer apps like 7-Zip may process file incorrectly. Also it
creates security issue because
Artem Tepanov added the comment:
Thx, after upgrade to:
Python 3.8.1rc1 (tags/v3.8.1rc1:b00a2b5, Dec 10 2019, 01:13:53) [MSC v.1916 64
bit (AMD64)] on win32
All works fine,
...but Could you "pushing the person" which responsible for Web-Site please?,
because I got Interpreter
Artem Tepanov added the comment:
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> while False:
... if False:
...
Artem Tepanov added the comment:
Using cmd:
C:\Users\ATepanov>python -V
Python 3.8.0
C:\Users\ATepanov>python C:\Users\ATepanov\Desktop\Outside_The_Loop.py
File "C:\Users\ATepanov\Desktop\Outside_The_Loop.py", line 3
break
^
SyntaxError: 'break' outside loo
New submission from Artem Tepanov :
Why I can't execute this code:
while False:
if False:
break
print('WTF?')
When I use repl.it or PyCharm on my work (Python 3.7) all works fine, yes I
know this code looks silly, but it is a legal expression.
About CPython
Change by Artem Khramov :
--
components: +FreeBSD, IO, Library (Lib), macOS
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue37
Change by Artem Khramov :
--
keywords: +patch
pull_requests: +14931
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/15202
___
Python tracker
<https://bugs.python.org/issu
New submission from Artem Khramov :
FreeBSD implementation of poll(2) restricts timeout argument to be either zero,
or positive, or equal to INFTIM (-1).
Unless otherwise overridden, socket timeout defaults to -1. This value is then
converted to milliseconds (-1000) and used as argument to
Artem Golubin added the comment:
Thank you, I agree. I can't come up with practical use cases other than my
curiosity.
Is it possible to somehow expose the dictionary in the debug build of Python?
Currently, there is no way to access it from the interpreter even with c
New submission from Artem Golubin :
Python provides an ability to intern strings (sys.intern). It would be useful
to expose a read-only dictionary of interned strings to the Python users so we
can see what kind of strings are interned.
It takes minimal changes since internally it's j
Artem Smotrakov added the comment:
If I am not missing something, section 6.4 of RFC 7231 doesn't explicitly
discuss that all headers should be sent. I wish it did :)
I think that an Authorization header for host A may make sense for host B if
both A and B use the same database with
Artem Smotrakov added the comment:
Hi Ivan,
Yes, unfortunately specs don't say anything about this scenario.
> once you have given your credentials to a server, it is free to do whatever
> it wants with them.
I hope servers don't share this opinion :)
> So, your prop
New submission from Artem Smotrakov :
After discussing it on secur...@python.org, it was decided to disclose it. Here
is the original report:
Hello Python Security Team,
Looks like urllib may leak sensitive HTTP headers to third parties when
handling redirects.
Let's conside
Changes by Artem Smotrakov :
--
keywords: +patch
Added file: http://bugs.python.org/file46723/_struct_cache.patch
___
Python tracker
<http://bugs.python.org/issue29
New submission from Artem Smotrakov:
Attached struct_unpack_crash.py results to a null-pointer dereference in
s_unpack_internal() function of _struct module:
ASAN:SIGSEGV
=
==20245==ERROR: AddressSanitizer: SEGV on unknown address
New submission from Artem Muterko:
I want to write unit tests for pdb module of stdlib. Should I create one pull
request for entire module or should I split work into several pull requests?
--
___
Python tracker
<http://bugs.python.org/issue29
Changes by Artem Muterko :
--
components: Tests
nosy: Artem Muterko
priority: normal
severity: normal
status: open
title: Write unit tests for pdb module
versions: Python 3.7
___
Python tracker
<http://bugs.python.org/issue29
Changes by Artem Smotrakov :
--
keywords: +patch
Added file: http://bugs.python.org/file44184/tuplehash.patch
___
Python tracker
<http://bugs.python.org/issue27
New submission from Artem Smotrakov:
A null-pointer dereference may happen while deserialization incorrect data with
marshal.loads() function.
Here is a test which reproduces this (see also attached
marshal_tuplehash_null_dereference.py):
import marshal
value = ( # tuple1
New submission from Artem Ustinov:
I'm trying to automate the Python uninstallation on mac but I've found that the
actual installation location is not stored for Python packages.
That location is required since the pkgutil keeps track of installed files (if
you run $ pkgut
Artem Ustinov added the comment:
It does the trick with optionals but not the positionals.
How the positional arguments can be removed/hidden?
--
___
Python tracker
<http://bugs.python.org/issue19
Artem Ustinov added the comment:
What is the way to 'hide' the argument from being parsed?
E.g. we have self.parser.add_argument('foo') in parent class,
how can we modify it in child class so that it would not to
appear in --help strings and not populated
Artem Ustinov added the comment:
Paul,
essentialy, what i looking for is to replace the 'help' string of the
inherited argument with the new one. If you say it could be changed without
any effect so what would be the proper way to do it using argpa
Artem Ustinov added the comment:
Explicitly substitute, excuse me
On 31 Oct 2013 20:11, "Artem Ustinov" wrote:
>
> Artem Ustinov added the comment:
>
> We need argparse to raise an error for conflicting options and that's why
> we need to implicitly substitute an
Artem Ustinov added the comment:
We need argparse to raise an error for conflicting options and that's why
we need to implicitly substitute an option when we need it
On 31 Oct 2013 19:54, "R. David Murray" wrote:
>
> R. David Murray added the comment:
>
> Doe
New submission from Artem Ustinov:
In order to migrate from optparse to argparse we need to have an ability to
substitute anguments, e.g. remove and then create.
In our framework we use the command line utility base class and then inherit
the particular tools from it. The parser in base class
Artem Fokin added the comment:
Which branch should I add a unit-test to?
Here is a patch that adds a unit-test to the current one.
--
keywords: +patch
Added file: http://bugs.python.org/file31760/unittest_patch.diff
___
Python tracker
<h
Artem Fokin added the comment:
Oh, it seems that in current cpython branch this problem is fixed by checking
condition _len(h) > 1:
http://hg.python.org/cpython/file/1dc925ee441a/Lib/heapq.py#l373
But is it possible to fix it for the previous branc
Changes by Artem Fokin :
--
versions: -3rd party, Python 2.6, Python 3.4, Python 3.5
___
Python tracker
<http://bugs.python.org/issue19018>
___
___
Python-bug
New submission from Artem Fokin:
Suppose we have the following code:
from heapq import merge
def iterable():
lst = range(10)
for i in xrange(20):
yield lst[i]
it1, it2= iterable(), iterable()
print list(merge(it1, it2)) # no IndexError
New submission from Artem Tomilov :
from abc import ABCMeta
class Meta(ABCMeta):
def __instancecheck__(cls, instance):
# monkeypatching class method
cls.__subclasscheck__ = super(Meta, cls).__subclasscheck__
return super(Meta, cls).__instancecheck__(instance
New submission from Artem :
In optparse documentation, in the end of first chapter there is an
example which shows how optparse can print usage summary for user. In
the last row of this example text color is accidentally changed from
black to blue. Most probably the source of this issue is
39 matches
Mail list logo