Change by Oleg Iarygin :
--
pull_requests: +30361
pull_request: https://github.com/python/cpython/pull/32299
___
Python tracker
<https://bugs.python.org/issue45
Change by Oleg Iarygin :
--
pull_requests: -30358
___
Python tracker
<https://bugs.python.org/issue45847>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Oleg Iarygin :
--
nosy: +arhadthedev
nosy_count: 5.0 -> 6.0
pull_requests: +30358
pull_request: https://github.com/python/cpython/pull/32299
___
Python tracker
<https://bugs.python.org/issu
Change by Oleg Iarygin :
--
nosy: +arhadthedev
nosy_count: 1.0 -> 2.0
pull_requests: +30360
pull_request: https://github.com/python/cpython/pull/32299
___
Python tracker
<https://bugs.python.org/issu
Change by Oleg Iarygin :
--
nosy: +arhadthedev
nosy_count: 4.0 -> 5.0
pull_requests: +30359
pull_request: https://github.com/python/cpython/pull/32299
___
Python tracker
<https://bugs.python.org/issu
Change by Oleg Iarygin :
--
nosy: +arhadthedev
___
Python tracker
<https://bugs.python.org/issue47193>
___
___
Python-bugs-list mailing list
Unsubscribe:
Oleg Iarygin added the comment:
Probably, `regen-limited-abi` needs to be called from `regen-all` so 'Check if
generated files are up to date' CI job will become aware of it.
--
___
Python tracker
<https://bugs.python.o
Change by Oleg Iarygin :
--
nosy: +arhadthedev
___
Python tracker
<https://bugs.python.org/issue47168>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Oleg Iarygin :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +30271
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32193
___
Python tracker
<https://bugs.python.org/issu
Oleg Iarygin added the comment:
> But shouldn't it just work with `//` as a `/`? It seems like this is the
> behavior elsewhere.
It works elsewhere because empty directory names are impossible so can be
dropped. But if `//` is placed in the beginning, it gets a special meaning th
Oleg Iarygin added the comment:
Also, the error message cannot be fixed because for 3.8 only security fixes are
accepted since May 2021. For 3.9 and later, the message is already corrected.
--
___
Python tracker
<https://bugs.python.
Oleg Iarygin added the comment:
As I found out, any path starting with two double slashes is treated as an UNC
(network) path:
root
\\machine\mountpoint\directory\etc\...
directory ^
So "/Library/Video" and "/&q
Oleg Iarygin added the comment:
I started to investigate and found that a double slash in the beginning cancels
any parsing of a path:
>>> Path("//Library/Video")._parts
['Library\\Video\\']
vs
>>> Path("/Library/Video")._par
Oleg Iarygin added the comment:
Actually, you're right. For now, PyErr_Occurred is a GIL lock plus a memory
access. While the access is cheap because of a L1 cache hit, the GIL takes its
toll in a hot path.
So I'm closing the PR until GIL removal is done so no performance penalt
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +30213
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32133
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
Currently, tests for PySet/PyFrozenSet C API are defined in Objects/setobject.c
and available via set.test_c_api().
Moving them to, for example, _testcapimodule gives the following advantanges:
- an internal, CPython-specific method stops being available in
Oleg Iarygin added the comment:
> The function should return different values for success and error
It does, and a `void` return type enforces it. Here is the trick:
> An important convention throughout the Python interpreter is the following:
> when a function fails, it shou
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +30205
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32126
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
The attached PR makes the following possible (note that the impl has a `void`
return type):
/*[clinic input]
_io._IOBase.writelines -> NoneType
lines: object
/
[clinic start generated code]*/
static v
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +30178
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32094
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
Some tests for `ctypes.macholib.dyld` and all tests for `ctypes.macholib.dylib`
and `ctypes.macholib.framework` are located outside of expected `ctypes.test`
module and were not ported from `assert` to `unittest` facilities. This causes
the following
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +30162
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32074
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
Currently, exception chaining in Lib/ modules is implemented with pre-3.11
`raise Foo(...).with_traceback(sys.exc_info()[2])`. However, this approach can
be simplified:
1. PEP 3134 introduced a proper `raise Foo(...) from bar` construction that
takes a
Oleg Iarygin added the comment:
The PR is ready for a review; I sorted out all bugs.
--
___
Python tracker
<https://bugs.python.org/issue47015>
___
___
Pytho
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +29978
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31876
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
PEP 594 – Removing dead batteries from the standard library [1] removes
asyncore and asynchat in 3.12 with the following note:
> The asyncore module is also used in stdlib tests. The tests for ftplib,
> logging, smptd, smtplib, and ssl are partly ba
Change by Oleg Iarygin :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Oleg Iarygin added the comment:
> ./top_5000/datatable-1.0.0.tar.gz: datatable-1.0.0/src/core/python/obj.cc:
> _PySys_GetObjectId(&PyId_stdin) // borrowed ref
All three occurences look like this [1] for two years (see git blame):
#ifndef Py_LIMITED_API
_PySys_G
Change by Oleg Iarygin :
--
pull_requests: +29912
pull_request: https://github.com/python/cpython/pull/31814
___
Python tracker
<https://bugs.python.org/issue46
Change by Oleg Iarygin :
--
pull_requests: +29911
pull_request: https://github.com/python/cpython/pull/31813
___
Python tracker
<https://bugs.python.org/issue46
Change by Oleg Iarygin :
--
pull_requests: +29910
pull_request: https://github.com/python/cpython/pull/31812
___
Python tracker
<https://bugs.python.org/issue46
Change by Oleg Iarygin :
--
pull_requests: +29909
pull_request: https://github.com/python/cpython/pull/31811
___
Python tracker
<https://bugs.python.org/issue46
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +29877
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31769
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
To support `--without-doc-strings`, all docstrings must be wrapped into
`PyDoc_STRVAR` or `PyDoc_STR` (PEP 7). However, there are 18 occurrences in
code and 10 in C API documentation that do not follow this rule. The
documentation is important too because
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +29841
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31725
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
This is done to:
- update docstrings to current standards enforced by AC
- get proper naming for arguments of impl-functions (for example, self instead
of obj and instance)
- strip boilerplate reducing current 16k lines of code to something little more
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +29834
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31711
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
- Convert method.__reduce__, method.__new__, and instancemethod.__new__ to AC.
It looks like nothing else can be converted in classobject.c.
This is my first time working with AC so I could make some mistakes.
- Fix found mismatches in method.__new__
Oleg Iarygin added the comment:
I reverted my changes in Modules/_ctypes/libffi_osx/x86/x86-ffi64.c and
Modules/_decimal/libmpdec/*step.c to not disturb third-party vendored libraries.
As a result, macOS component is no longer affected along with the corresponding
experts in a nosy list
Oleg Iarygin added the comment:
Also forgot to add that git grep "#if 1" gives the following:
- added on 20 Nov 2014 by d600951: cpython/Python/pylifecycle.c:2427. "/*
Disable this if you have trouble debugging bootstrap stuff */" - after seven
years, no trouble was
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +29800
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31681
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
`git grep "#if 0"` gives the following occurences of dead code (analyzed with
`git blame`, removed by a linked pull request):
- added on 27 Apr 2020 by 2b74c83: Parser/pegen.h:9, Parser/pegen.h:15. Since
these constants aren't mentioned a
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +29596
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31466
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
Currently, Python code contains two places where presence of __STDC__ is
checked:
- Include/internal/pycore_pymath.h:12
- Python/errors.c:13
These checks are used to add extern functions missing in non-standard versions
of math.h.
However, after Python
Oleg Iarygin added the comment:
> bpo-15500 looks like a more generic option, debuggers should be able to
> retrieve thread names.
That option is not viable.
1. > Created on 2012-07-30 16:19 by bra, last changed 2022-01-19 00:32 by pitrou
2. > I don't think this should b
Change by Oleg Iarygin :
--
nosy: +arhadthedev
___
Python tracker
<https://bugs.python.org/issue41682>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Oleg Iarygin :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue45877>
___
___
Oleg Iarygin added the comment:
Superseded by <https://github.com/python/core-workflow/issues/425>. The PR
itself is included as a part of PR30745.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Change by Oleg Iarygin :
--
pull_requests: +28935
pull_request: https://github.com/python/cpython/pull/30745
___
Python tracker
<https://bugs.python.org/issue46
Oleg Iarygin added the comment:
Myles, it looks like the draft 14 contains a mismatch in 6.2.1:
> # 6.2.1. text/ecmascript
>
> Type name: application
> Subtype name: ecmascript
In header it's `text`, in details it's `application`. Is it intended?
I believe that a typ
Oleg Iarygin added the comment:
@r.david.murray
> It is indeed the compatibility that is the worse issue. The problem is what
> people have gotten used to and may have coded their applications to
> expect/deal
> with. I agree with you that most people would *not* find it surpr
Oleg Iarygin added the comment:
I added core devs related to multiprocessing into a nosy list so they got a
notification and the PR will be evaluated and merged faster. FYI, the devs are
Davin Potts and Antoine Pitrou (as per <https://devguide.python.org/experts/>).
-
Change by Oleg Iarygin :
--
keywords: +patch
pull_requests: +28256
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30031
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
configure is regenerated from configure.ac using a custom container with
appropriate version of tools (quay.io/tiran/cpython_autoconf by Christian
Heimes). As a result, configure falls into the same category as files generated
by Argument Clinic, Freeze and
Oleg Iarygin added the comment:
The reporter gave more details
(<https://github.com/python/cpython/pull/11952#issuecomment-989430968>):
> Literally this is ok in C++ with Qt:
>
> float x = 2.3, y = 1.1;
> auto p = QPoint(x, y); // QPoint only takes 2 int params..
Oleg Iarygin added the comment:
Here is a report that this change breaks PyQt5 on Fedora:
<https://github.com/python/cpython/pull/11952#issuecomment-989298404>
> [...]
>
> Why do I care? This breaks tons of existing PyQt5 code out there, for
> example. I wasn't awar
Oleg Iarygin added the comment:
If a directory is renamed anyway, maybe `deepfrozen_modules` is better?
`deepfreeze_modules` looks like "modules that are part of deepfreeze tool
itself". Also it rhymes with `frozen_modules`.
--
___
Pyth
Change by Oleg Iarygin :
--
nosy: +arhadthedev
nosy_count: 5.0 -> 6.0
pull_requests: +27981
pull_request: https://github.com/python/cpython/pull/29744
___
Python tracker
<https://bugs.python.org/issu
Change by Oleg Iarygin :
--
nosy: +arhadthedev
___
Python tracker
<https://bugs.python.org/issue45883>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Oleg Iarygin :
--
nosy: +arhadthedev
___
Python tracker
<https://bugs.python.org/issue45869>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Oleg Iarygin :
--
nosy: +arhadthedev
nosy_count: 7.0 -> 8.0
pull_requests: +27961
pull_request: https://github.com/python/cpython/pull/29724
___
Python tracker
<https://bugs.python.org/issu
New submission from Oleg Iarygin :
According to PCbuild/readme.txt:
> Using this directory requires an installation of
> Microsoft Visual Studio 2017 (MSVC 14.1) of any edition.
However, Doc/using/windows.rst states that Visual Studio 2017 is not required
and 2015 may be used instead:
Oleg Iarygin added the comment:
Paul, PR OP made all changes requested; could you re-review please?
--
nosy: +arhadthedev, p-ganssle
___
Python tracker
<https://bugs.python.org/issue43
Oleg Iarygin added the comment:
Marc-Andre:
> Inlining is something that is completely under the control of the
used compilers. Compilers are free to not inline function marked for
inlining [...]
I checked the following C snippet on gcc.godbolt.org using GCC 4.1.2 and Clang
3.0.0 with /
Change by Oleg Iarygin :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Oleg Iarygin :
Found a twice stale bpo-less but useful pull request 23960, so publish it here:
> Currently socket.socket is documented as a function, but it is really
a class (and thus has function-like usage to construct an object). This
correction would ensure that Pyt
Oleg Iarygin added the comment:
> because this modification does not affect behavior
Unfortunately, this one (that I missed by not reading the report thoroughly)
makes the framework totally unsuitable for CI.
However, looking at such false positives allows to muse about reasons beh
Oleg Iarygin added the comment:
> What is the problem actually?
I guess, Lib/test/test_typing.py has gaps in test coverage. The report provided
by the OP is a list of random modifications that corrupt logic of Lib/typing.py
but still pass all test cases.
Mutation testing is validation
Oleg Iarygin added the comment:
When I first saw "default rounding precision of 64 bits", I've thought it's
about "64 bit precision", aka binary64, aka double. So I suggested that the
code expects some hardly known Intel FPU-specific binary56 instead. Now, aft
New submission from Oleg Iarygin :
File configure.ac:4617 states the following:
> # The short float repr introduced in Python 3.1 requires the
> # correctly-rounded string <-> double conversion functions from
> # Python/dtoa.c, which in turn require that the FPU uses 53-bit
>
Oleg Iarygin added the comment:
Dennis, can PyFrozenSet_Check and _PyObject_TypeCheck get rid of Py_IS_TYPE
invocation then, so PyType_IsSubtype becomes the only source of truth here?
--
nosy: +arhadthedev
___
Python tracker
<ht
Oleg Baskakov added the comment:
Sorry, I forgot to add if __name__ line:
```
import codegen
from dataclasses import dataclass
@dataclass
class AtomX:
my_symbol: str
quantity: str = ""
if __name__ == "__main__":
codegen.inheritance_map(AtomX("qwer
New submission from Oleg Baskakov :
Hey I was trying to import dataclasses from another file and somehow isinstance
doesn't work anymore:
main.py:
```
import codegen
from dataclasses import dataclass
@dataclass
class AtomX:
my_symbol: str
quantity: str = ""
codegen.
New submission from Oleg Hoefling :
Due to changes introduced in https://bugs.python.org/issue14935 the `csv.Error`
can't be subclassed in 3.10. To reproduce:
Python 3.9.4 (default, Apr 6 2021, 00:00:00)
>>> import csv
>>> class C(csv.Error):
... pass
Python 3.
New submission from Oleg Navolotsky :
>>> import sys, tempfile, os
>>> sys.version
'3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]'
>>> folder = tempfile.TemporaryDirectory()
>>> file = open(os.path.join(folder.
Oleg Nykolyn added the comment:
There are multiple servers running in Kubrnetes cluster - API servers based on
Django, celery workers, etc. All of them send logs to AWS TCP balancer, which
acts as balancer for vector service[1], which send logs to Elasticsearch.
Basically we have following
Oleg Hoefling added the comment:
If this is of any help, I've set up an example repository containing the
snippet: https://github.com/hoefling/bpo-issue-41654
Here are the results of running the snippet in Travis with Python 3.{5-10} and
Pypy 3.6: https://travis-ci.com/github/hoeflin
New submission from Oleg Hoefling :
First of all, I guess this is a somewhat obscure error that is unlikely to
occur in a usual context, nevertheless IMO worth reporting. We observed this
when unit-testing custom exception reporting mechanism, raising different
exceptions in different
New submission from Oleg Nykolyn :
Hi,
I've faced this issue when using logging.handlers.SocketHandler AWS TCP
balancer. AWS balancer uses 60 second time-out by default (max 4000s), thus
resulting in lots of closed sockets during inactive periods.
SocketHandler.send() drops current me
Oleg Serov added the comment:
I tried and failed to reproduce. If it changes, I'll update it.
--
___
Python tracker
<https://bugs.python.org/issue29143>
___
___
New submission from Oleg Oleynik :
I write file test.py:
def __getattr__(key):
return None
help(__name__)
when I try to run it I've got error:
Traceback (most recent call last):
File "test.py", line 5, in
help(__name__)
File "C:\Program Files\Python37\lib\_si
New submission from Oleg K :
(tested in VM and in real linux)
there is an issue with Task, in some cases task will ignore cancellation and
will keep running for a while.
there is some explanation needed regarding the python_task_cancel.py example.
1)there is a async Integer Generator
Oleg K added the comment:
What is an "advanced" task?
Why CancelledError is not enough?
What's the actual use case?
--
for instance, i want to create a task which is responsible for
controlling a "slow resource" that should accessed carefu
New submission from Oleg K :
currently there is no other way to interrupt task but to call
cancel() which will:
"This arranges for a CancelledError to be thrown into the wrapped coroutine on
the next cycle through the event loop."
in order to write advanced Tasks there should b
Oleg Krasnikov added the comment:
Thanks for quite sensible notes Serhiy. I've fixed all that in recent commit
and added a regression test. Still not sure about "testing conventions" here
cause this is my first PR to python repository, so please let me know if
something is wro
Change by Oleg Krasnikov :
--
keywords: +patch
pull_requests: +4193
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue31920>
___
___
Py
New submission from Oleg Krasnikov :
This happens because pygettext's `getFilesForName` calls `os.walk` as if it was
`os.path.walk`. But the `walk` function has changed signature when moved from
`os.path` to `os`. So now `_visit_pyfiles` is passed to `walk` as `topdown`
argument whi
Oleg Serov added the comment:
> 1. I have some random logging configuration with some logging handlers that
> have "propagate = True"
Read as: 1. I have some random logging configuration with some logging handlers
that have &q
New submission from Oleg Serov:
Looks like if I have a logger handler with propagate = False and it is
disabled, the "propagate" is still in affect.
I am considering this is a bug, because:
1. I have some random logging configuration with some logging handlers that
have "prop
Oleg Broytman added the comment:
> I'm not sure that we can break the compatibility with old browser
I agree with this.
--
___
Python tracker
<http://bugs.python.org
Oleg Broytman added the comment:
Let's me disagree because Python 2.7 is a very special case. One can easily
update a browser — they are perfectly compatible. But one cannot just update
Python 2.7 because Python 3 is rather a different language that requires a lot
of porting effort. So
Oleg Broytman added the comment:
Then I don't have any objections. But I also couldn't test the change — I only
use Firefox (and sometimes Chrome).
--
___
Python tracker
<http://bugs.python.o
Oleg Broytman added the comment:
I'd rather rename the new class to something like Firefox. So there will be 3
classes — Netscape, Mozilla and Firefox. Firefox only for firefox executable.
--
___
Python tracker
<http://bugs.python.org/is
Oleg Broytman added the comment:
Done.
--
versions: -Python 2.7
Added file: http://bugs.python.org/file45228/webbrowser.py-3.5.patch
___
Python tracker
<http://bugs.python.org/issue23
Changes by Oleg Broytman :
Removed file: http://bugs.python.org/file45025/webbrowser.py-3.4-newfox.patch
___
Python tracker
<http://bugs.python.org/issue23262>
___
___
Changes by Oleg Broytman :
Removed file: http://bugs.python.org/file45216/webbrowser.py-3.5-newfox.patch
___
Python tracker
<http://bugs.python.org/issue23262>
___
___
Changes by Oleg Broytman :
Removed file: http://bugs.python.org/file45027/webbrowser.py-2.7-newfox.patch
___
Python tracker
<http://bugs.python.org/issue23262>
___
___
Changes by Oleg Broytman :
Removed file:
http://bugs.python.org/file45218/test_webbrowser.py-3.5-newfox.patch
___
Python tracker
<http://bugs.python.org/issue23
Oleg Broytman added the comment:
Oops, yes, mea culpa, sorry. Patch for the test added.
--
Added file: http://bugs.python.org/file45218/test_webbrowser.py-3.5-newfox.patch
___
Python tracker
<http://bugs.python.org/issue23
1 - 100 of 239 matches
Mail list logo