Change by Denis Laxalde :
--
keywords: +patch
pull_requests: +28758
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30557
___
Python tracker
<https://bugs.python.org/issu
New submission from Denis Laxalde :
On my (Debian 10) system, 'pydoc -k' crashes as follows:
$ python3 -m pydoc -k foo
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return
Denis Laxalde added the comment:
The assertion at stake looks redundant since we already check that
`'{}'.format(OkayEnum.one) == '1'` (the line above) and that `OkayEnum.one ==
'1'` (3 lines above).
--
nosy: +dlax
___
Python tracker
<ht
Change by Denis Laxalde :
--
nosy: +dlax
___
Python tracker
<https://bugs.python.org/issue42414>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Denis Laxalde :
--
nosy: +dlax
___
Python tracker
<https://bugs.python.org/issue44353>
___
___
Python-bugs-list mailing list
Unsubscribe:
Denis S. Otkidach added the comment:
Re: msg393586
> See my comment in the PR for a suggestion about an alternative structure for
> wait_for, which may avoid this gap and hence prevent the leak (but I have not
> tested it!)
Unfortunately this didn't close the gap, so the leak pers
Denis S. Otkidach added the comment:
The original problem can be fixed by wrapping await into try-except block:
```
async def create_connection(ssl_obj):
loop = asyncio.get_event_loop()
connector = loop.create_connection(MyEchoClientProtocol, '127.0.0.1', 5000,
ssl=ssl_obj
Change by Denis S. Otkidach :
--
keywords: +patch
pull_requests: +24737
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26097
___
Python tracker
<https://bugs.python.org/issu
Change by Denis S. Otkidach :
--
pull_requests: +24738
pull_request: https://github.com/python/cpython/pull/26097
___
Python tracker
<https://bugs.python.org/issue37
Denis S. Otkidach added the comment:
The current solutions doesn't look correct. It swallows cancelling causing task
to hang: https://bugs.python.org/issue42130 .
Proposed test case calls cancel for inner future and set_result for outer task
in the same loop step. The old (prior
Denis Roussel added the comment:
Of course. Wanted a shortcut. Can close it if you want.
--
___
Python tracker
<https://bugs.python.org/issue43029>
___
___
Pytho
Denis Roussel added the comment:
Indeed, can do
assertNotEquals(len(the_list), len(set(the_list))
--
___
Python tracker
<https://bugs.python.org/issue43
Change by Denis Roussel :
--
keywords: +patch
pull_requests: +23154
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24336
___
Python tracker
<https://bugs.python.org/issu
New submission from Denis Roussel :
Allows to test uniqueness of members of a list
--
components: Tests
messages: 385700
nosy: rousseldenis
priority: normal
severity: normal
status: open
title: unittest: Add assertUniqeIn
___
Python tracker
<ht
Denis Kasak added the comment:
Anything still left to do that is stalling this? I just got bitten by it when
trying to use modulefinder.
--
nosy: +dkasak
___
Python tracker
<https://bugs.python.org/issue40
Change by Denis S. Otkidach :
--
nosy: +ods
___
Python tracker
<https://bugs.python.org/issue42130>
___
___
Python-bugs-list mailing list
Unsubscribe:
Denis S. Otkidach added the comment:
The current error message is way too cryptic anyway. And restricting it to the
set type only, as in docs, will certainly break a lot of code (passing a list
is quite common).
--
___
Python tracker
<ht
Change by Denis S. Otkidach :
--
nosy: +ods
___
Python tracker
<https://bugs.python.org/issue42140>
___
___
Python-bugs-list mailing list
Unsubscribe:
denis added the comment:
I do confirm that different terminals react differently (xterm doesn't hang)
Definitely not a python bug
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bug
New submission from denis :
Python 3.8.5, Python 3.7.3
When trying to print invalid unicode, interpreter goes to a completely
unresponsive state
>>> print("\x9b")
eyboardInterrupt
>>> print("\xa5")
¥
>>> print("\x95")
>>&
New submission from Denis Vieira :
On my Python projects i like to use the logger.exception() method without any
other message.
I'm forced to send an empty string on every call.
logger.exception('')
It would be nice the exception method have the expected parameter "msg" with a
New submission from Kaveshnikov Denis :
Hi, I found that if to call run_until_complete() in the task while the event
loop will be running, a coroutine sent to run_until_complete() will be
performed despite the exception raised from run_until_complete().
It seems to me, it would be better
Denis S. Otkidach added the comment:
It's fixed in 3.8 final, but the problem persists in 3.7.5
--
versions: -Python 3.8
___
Python tracker
<https://bugs.python.org/issue36
Change by Denis S. Otkidach :
--
nosy: +ods
___
Python tracker
<https://bugs.python.org/issue34364>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Denis S. Otkidach :
Minimal example to reproduce:
-->8--
>>> with open('f_bug.py', 'w') as fp:
... fp.write('f"{a b}"')
...
8
>>> import f_bug
Traceback (most recent call last):
File "", line 1, in
File "", li
ucket.org/piedenis/lea
Documentation -> http://bitbucket.org/piedenis/lea/wiki/Home
Statues algorithm -> http://arxiv.org/abs/1806.09997
With the hope that Lea can make this Universe less hazardous,
Pierre Denis
--
https://mail.python.org/mailman/listinfo/python-announce-list
New submission from Denis S. Otkidach :
Test script:
-->8--
import asyncio
@asyncio.coroutine
def test():
with (yield from asyncio.Lock()):
pass
asyncio.run(test())
-->8--
Correct behavior without flag (warning is reported and points to correct line
of code):
---
$
Denis
--
https://mail.python.org/mailman/listinfo/python-list
Denis Osipov added the comment:
Got it.
But now docs says that overriding the __getattr__() method is enough to
customize attribute access. It's not completely true.
If I understand it correct, to make __getattr__() work every time you need to
call it by __getattribute__ or raise
Change by Denis Osipov :
--
keywords: +patch
pull_requests: +9625
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Denis Osipov :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Denis Osipov :
6.3.1. Attribute references says:
"The primary must evaluate to an object of a type that supports attribute
references, which most objects do. This object is then asked to produce the
attribute whose name is the identifier. This production can be custo
Denis Osipov added the comment:
I understand that it's expected behavior. But why don't use completely working
example in the docs, which one could just copy and paste? It requires to add
just seven chars)
--
___
Python tracker
<ht
New submission from Denis Osipov :
Customizing module attribute access example raises RecursionError:
>>> import sys
>>> from types import ModuleType
>>> class VerboseModule(ModuleType):
... def __repr__(self):
... return f'Verbose {self.__name__}'
.
Denis Ledoux added the comment:
The pleasure is all mine.
Thanks to you and the other contributors involved. For my first contribution to
Python, I am glad everything went smoothly :).
--
___
Python tracker
<https://bugs.python.org/issue35
Change by Denis Ledoux :
--
pull_requests: +9461
___
Python tracker
<https://bugs.python.org/issue35017>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Denis Ledoux :
--
keywords: +patch
pull_requests: +9299
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35017>
___
___
Py
New submission from Denis Ledoux :
After the shutdown of a `BaseServer`, the server may accept a last single
request if it is sent between the server socket polling and the polling timeout.
This can be problematic for instance for a server restart for which you do not
want to interrupt
On behalf of the telluric development community, I'm happy to announce the
availability of telluric 0.2.
telluric library is an open source library developed by Satellogic, which aims
to be an one stop source (library) for manipulating geospatial data in an
interactive way.
Changelog:
To: Schachner, Joseph
From: "denis akhiyarov"
To: Schachner, Joseph
From: denis.akhiya...@gmail.com
Either wait for IronPython 3.6, use COM interop, pythonnet, subprocess, or
things like gRPC. Based on PyPy experience, it is probably 1-2 years of
sponsored development to get
To: Schachner, Joseph
From: denis.akhiya...@gmail.com
Either wait for IronPython 3.6, use COM interop, pythonnet, subprocess, or
things like gRPC. Based on PyPy experience, it is probably 1-2 years of
sponsored development to get a working IronPython 3.6.
--- BBBS/Li6 v4.10 Toy-3
* Origin:
Either wait for IronPython 3.6, use COM interop, pythonnet, subprocess, or
things like gRPC. Based on PyPy experience, it is probably 1-2 years of
sponsored development to get a working IronPython 3.6.
--
https://mail.python.org/mailman/listinfo/python-list
Denis Ryzhkov <den...@denisr.com> added the comment:
Simple explanation: if you call a method of a parent, then you are using class
information now, so your child method is not static any more. Please use
classmethod decorator and super() with no arguments - it will use cls ar
On 2018-03-13 23:56, Denis Kasak wrote:
On 2018-03-10 02:13, Steven D'Aprano wrote:
But I've stared at this for an hour and I can't see how to extend the
result to three coordinates. I can lay out a grid in the order I want:
1,1,1 1,1,2 1,1,3 1,1,4 ...
2,1,1 2,1,2 2,1,3 2,1,4
n, m = c(i)
return c(n) + (m,)
Applying c3 to the natural numbers gives the sequence you wanted:
s = map(c3, count(1))
pprint([next(s) for _ in range(10)])
[(1, 1, 1),
(2, 1, 1),
(1, 1, 2),
(1, 2, 1),
(2, 1, 2),
(1, 1, 3),
(3, 1, 1),
(1, 2, 2),
(2, 1, 3),
(1, 1, 4)]
--
Denis Kasak
--
https://mail.python.org/mailman/listinfo/python-list
Pierre Denis <pie.de...@skynet.be> added the comment:
> So this justifies things like `sqrt(-0.0)` giving a zero result (rather than
> being considered invalid)
Well, I didn’t noticed that the wolf was already in the henhouse! This choice
seems disputable for me because it is prec
Pierre Denis <pie.de...@skynet.be> added the comment:
Thanks, Tim & Mark. This indeed clarifies and gives a good rationale on Python
implementation. Nevertheless, despite the authority arguments, I continue to
wonder what is the rationale for these specifications. Probably the deba
New submission from Pierre Denis <pie.de...@skynet.be>:
Python returns inconsistent results when negative infinity is raised to a
non-integer power. This happens with the ** operator as well as with the pow
and math.pow functions. The most blatant symptom occurs with power 0.5,
Denis Osipov <osipo...@list.ru> added the comment:
Got it. Thank you for your help.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Denis Osipov <osipo...@list.ru>:
In Developer Guide says:
"If you don’t have easy access to a command line, you can run the test suite
from a Python or IDLE shell:
>>> from test import autotest"
But I can't run test from IDLE:
Traceback (most
Denis Osipov <osipo...@list.ru> added the comment:
Oops... I've tried to rebuild, it didn't help. But after deleting folder
cpython\PCbuild\amd64 everything works well again.
Sorry for false alarm.
--
resolution: -> works for me
stage: -> resolved
status: op
New submission from Denis Osipov <osipo...@list.ru>:
Since today (2017-10-10) I have compile error on Windows 10:
$ PCbuild/build.bat -e -d -p x64
Using py -3.6 (found with py.exe)
Fetching external libraries...
bzip2-1.0.6 already exists, skipping.
sqlite-3.14.2.0 already exists, skippi
Changes by Denis Osipov <osipo...@list.ru>:
--
keywords: +patch
pull_requests: +3744
stage: -> patch review
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
New submission from Denis Osipov:
2to3 doesn't work if called for file in current directory with --add-suffix
option.
$ /d/repos/cpython/python.bat /d/repos/cpython/Tools/scripts/2to3 -n -W
--add-suffix=3 test2to3.py
Running Debug|x64 interpreter...
WARNING: --write-unchanged-files/-W
Changes by Denis Osipov <osipo...@list.ru>:
--
keywords: +patch
pull_requests: +3727
stage: needs patch -> patch review
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
Changes by Denis Osipov <osipo...@list.ru>:
--
keywords: +patch
pull_requests: +3726
stage: -> patch review
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
Changes by Denis Osipov <osipo...@list.ru>:
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<https://bu
Denis Osipov added the comment:
Thank you for your answers. It's what I want to know. It looks like I shouldn't
try to fix (to break) something that works well enough.
If nobody minds I'll close the issue with not a bug resolution.
--
___
Python
Denis Osipov added the comment:
Actually now Python time.strftime not always returns the same value as C
strftime with the same arguments, because timemodule make some refining of raw
argument values to avoid errors.
--
___
Python tracker <
Denis Osipov added the comment:
Yes, C strftime returns the same. Inside of Python time.strftime() in Windows
we give struct tm with inconsistent attributes (year, mon, mday and wday,yday)
as argument for C strftime().
Before it timemodule does a lot of work to parse arguments
Denis Osipov added the comment:
It seems strange to me that time.strftime() returns formatted date with wrong
day of week and day of year values. So, I think it's probably a bug.
But I'm just learning Python and programming and I think that it can be
intentional behavior.
If it's a bug I'd
Denis Osipov added the comment:
If it's really a bug I could make PR with changes in timemodule.c (in
gettmarg() and checktm() functions). But I'm not sure that it's not intended
behavior.
--
___
Python tracker <rep...@bugs.python.org>
New submission from Denis Osipov:
Now default values for zero in time.strftime returns string with day of week
value 1:
>>> time.strftime("%Y %m %d %H %M %S %w %j", (2000,)+(0,)*8)
'2000 01 01 00 00 00 1 001'
while 2000-01-01 is Saturday (=6th day of week).
Now each
Denis Osipov added the comment:
Fixed in PR 3397 (I guess).
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<https://bugs.pyt
Denis Osipov added the comment:
Thank you. Looking forward to it.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31381>
___
___
New submission from Denis Osipov:
Can't load pythoncore.vcxproj in VS2017 after PR 3375 bpo-31358: Pull zlib out
of the repository #3375.
During pcbuild.sln loading there is error message:
D:\repos\cpython\PCbuild\pythoncore.vcxproj : error : Unable to read the
project file
Changes by Denis Osipov <osipo...@list.ru>:
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<http://bu
Changes by Denis Osipov <osipo...@list.ru>:
--
pull_requests: +3391
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31364>
___
_
New submission from Denis Osipov:
It looks like last PR #3377 changing pytime.c (adding #include )
causing problem with compilation. Now on my Win10 i have multiple warnings and
errors about ws2def.h, winsock.h and winsock2.h (see attached file).
--
components: Windows
files
Changes by Denis Akhiyarov <denis.akhiya...@gmail.com>:
--
pull_requests: +2443
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
New submission from Denis Akhiyarov:
https://github.com/python/cpython/pull/1158
It is not clear why this FAQ item is written in addition to this document:
https://github.com/python/cpython/blob/master/Doc/faq/windows.rst#how-do-i-make-python-scripts-executable
https://github.com/python
Changes by Denis Osipov <osipo...@list.ru>:
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<http://bu
Changes by Denis Osipov <osipo...@list.ru>:
--
versions: +Python 3.5, Python 3.6
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
Denis Osipov added the comment:
Tests on Windows buildbots passed. I've made PR for 3.5 and 3.6 backporting.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Changes by Denis Osipov <osipo...@list.ru>:
--
pull_requests: +2067
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30584>
___
_
Changes by Denis Osipov <osipo...@list.ru>:
--
pull_requests: +2066
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30584>
___
_
Denis Osipov added the comment:
Using the numeric SID instead of localized name in test_access_denied works for
me (I've made PR).
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Changes by Denis Osipov <osipo...@list.ru>:
--
pull_requests: +2046
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30584>
___
_
New submission from Denis Osipov:
test_os fails on non-English (Russian) Windows 7 Home Extended 6.1.7601 x64
==
ERROR: test_access_denied (test.test_os.StatAttributeTests
ect page
http://bitbucket.org/piedenis/lea
Documentation
-
http://bitbucket.org/piedenis/lea/wiki/Home
Download Lea (PyPI)
---
http://pypi.python.org/pypi/lea/2.3.4
With the hope that Lea can make the World less uncertain,
Pierre Denis
--
ht
Python.NET (pythonnet) 2.3.0 released with docker, nuget, pip, conda, and
source installation options. Python.NET based CPython extensions can be
packaged with PyInstaller and cx_freeze hooks.
https://github.com/pythonnet/pythonnet/releases/tag/v2.3.0
Download from PYPI using pip or from Anaconda using conda:
https://pypi.python.org/pypi/pythonnet/2.2.2
https://anaconda.org/pythonnet/pythonnet
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
On Sunday, January 29, 2017 at 4:00:27 PM UTC-6, Gregory Ewing wrote:
> Joseph L. Casale wrote:
> >>.NET is a library that can be used from many languages, including Python.
> >
> > No.
>
> Yes:
>
> http://pythonnet.sourceforge.net/
>
> "Python for .NET is a package that gives Python
Have a look at automatic web app builder using Django or Flask called Wooey
based Gooey.
https://github.com/wooey/Wooey
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, October 2, 2016 at 10:57:57 AM UTC-5, nicolases...@gmail.com wrote:
> >One problem with using very similar syntax for distinct languages is that it
> >can get confusing.
>
> The first inspiration for Fython was to be close to Fortran, while improving
> the syntax. The project is in
Hello Python and .NET developers,
New pythonnet 2.2.0.dev1 version with (pre-)release notes are available for
download from PYPI and GitHub:
https://pypi.python.org/pypi/pythonnet/2.2.0.dev1
Note that since this is pre-release, use this command for installation:
pip install pythonnet --pre -U
On Saturday, September 3, 2016 at 8:53:18 PM UTC-5, Steve D'Aprano wrote:
> On Sat, 3 Sep 2016 12:34 pm, Denis Akhiyarov wrote:
>
> > Finally if anyone can contact Christian Heimes (Python Core Developer),
> > then please ask him to reply on request to update the license to M
On Sunday, July 24, 2016 at 11:30:09 PM UTC-5, Steven D'Aprano wrote:
> Yes, I said Pythons plural :-)
>
> For those wanting to use Python on .Net or Mono, there is some good news.
>
> Firstly, the venerable old "Python for .Net" project is still alive, and now
> supports up to Python 3.5 on
Denis Akhiyarov added the comment:
has this been merged?
--
nosy: +Denis Akhiyarov
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/
http://bitbucket.org/piedenis/lea
Download Lea (PyPI)
---
http://pypi.python.org/pypi/lea
With the hope that Lea can make your joy less random,
Pierre Denis
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
Denis added the comment:
Thank you!
The error was that some calls in pycrypto code were aggregated and exceptions
in those calls were ignored.
Here is the patch for pycrypto that fixed the build.
@@ -1427,7 +1429,9 @@ getStrongPrime (PyObject *self, PyObject *args, PyObject
*kwargs
New submission from Denis:
Looks like related to Issue23571
Probably same issue as in Django, but in other Python module.
While compiling python-module-crypto:
=
ERROR: test_getStrongPrime_randfunc_bogus
restriction in CPython?
On Thursday, March 3, 2016 at 2:10:15 AM UTC-6, Christian Gollwitzer wrote:
> Hi Denis,
>
> Am 03.03.16 um 06:01 schrieb Denis Akhiyarov:
> > Is it possible to embed CPython in CPython, e.g. using ctypes, cffi, or
> > cython?
> >
>
&g
Embed using C-API from ctypes, cffi or cython, but not using subprocesses.
Thanks for asking!
Here is link to official documentation about embedding:
https://docs.python.org/3.6/extending/index.html
--
https://mail.python.org/mailman/listinfo/python-list
Is it possible to embed CPython in CPython, e.g. using ctypes, cffi, or cython?
--
https://mail.python.org/mailman/listinfo/python-list
Note that you can continue using your existing vb6 code from python through COM
using pywin32 or pythonnet, until you decide to rewrite it.
--
https://mail.python.org/mailman/listinfo/python-list
On Wednesday, February 17, 2016 at 1:49:44 PM UTC-6, wrong.a...@gmail.com wrote:
> I am mostly getting positive feedback for Python.
>
> It seems Python is used more for web based applications. Is it equally fine
> for creating stand-alone *.exe's? Can the same code be compiled to run on
>
0:3] == ['(', '(', '(']:
# string starts '((('
--
Denis McMahon, denismfmcma...@gmail.com
--
https://mail.python.org/mailman/listinfo/python-list
interpreter on the
machine they wish to execute them on.
--
Denis McMahon, denismfmcma...@gmail.com
--
https://mail.python.org/mailman/listinfo/python-list
---
http://pypi.python.org/pypi/lea
With the hope that Lea can make the Force less uncertain,
Pierre Denis
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
1 - 100 of 677 matches
Mail list logo