[issue38342] ImportError: cannot import name 'MetadataPathFinder' from 'importlib.metadata'

2019-10-01 Thread Александр Семенов
Александр Семенов added the comment: on windows ```C:\>py -c "import sys;from importlib.metadata import version, requires, files;print(sys.version);print(version('requests'))" 3.8.0b4 (tags/v3.8.0b4:d93605d, Aug 29 2019, 23:21:28) [MSC v.1916 64 bit (AMD64)] 2.22

[issue38256] binascii.crc32 is not 64-bit clean

2019-09-23 Thread Александр Семенов
Александр Семенов added the comment: I've got Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] 2838121701 2838121701 2838121701 2838121701 -- nosy: +iamsav ___ Python tracker <https://bugs.python.org/is

[issue33214] join method for list and tuple

2019-09-16 Thread Александр Семенов
Александр Семенов added the comment: in javascript join() is made the other way around ['1','2','3'].join(', ') so, [].join() may confuse some peoples. -- nosy: +iamsav ___ Python trac

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-10 Thread Александр Семенов
Александр Семенов added the comment: setuptools/sandbox.py: class DirectorySandbox(AbstractSandbox): """Restrict operations to a single subdirectory - pseudo-chroot""" When running user scripts it uses os.path.realpath(os.devnull) to include 'normali

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-10 Thread Александр Семенов
Александр Семенов added the comment: It breaks setuptools.sandbox.DirectorySandbox.__init__() with default param 'exceptions' which includes os.devnull and calls os.path.realpath() on it. So, many distributions crashes. -- ___ Pyth

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-09 Thread Александр Семенов
Change by Александр Семенов : -- title: Different behavior of in 3.7 and 3.8 os.path.realpath('nul') -> Different behavior of os.path.realpath('nul') in 3.7 and 3.8 ___ Python tracker <https://

[issue38081] Different behavior of in 3.7 and 3.8 os.path.realpath('nul')

2019-09-09 Thread Александр Семенов
Александр Семенов added the comment: 1) Python 3.8.0b4 (tags/v3.8.0b4:d93605d, Aug 29 2019, 23:21:28) [MSC v.1916 64 bit (AMD64)] on win32 2) Looks like identical with https://bugs.python.org/issue1311 -- ___ Python tracker <ht

[issue38081] Different behavior of in 3.7 and 3.8 os.path.realpath('nul')

2019-09-09 Thread Александр Семенов
New submission from Александр Семенов : Windows 10: ``` C:\Users\User\Downloads>py -3.7 -c "import os.path;os.path.realpath('nul')" C:\Users\User\Downloads>py -3.8 -c "import os.path;os.path.realpath('nul')" Traceback (most recent call last):

[issue25815] Improper subprocess output of arguments with braces in them on windows

2018-06-15 Thread Александр Бондарев
Александр Бондарев added the comment: Can you please re-open this bug? I'm not agree that this a correct behavior. Usually we are using subprocess.check_output([..]) version to not aware about argument escaping and it works good for Linux. In example: > subprocess.check_outpu

[issue27535] Memory leaks when opening tons of files

2016-07-16 Thread Александр Карпинский
Александр Карпинский added the comment: @serhiy.storchaka Any filters not solves the problem because warnings module SAVES EVERY WARNING MESSAGE for further duplication checks. Yes, the file name is helpful for determining the source of the POSSIBLE leak. While file name in error message IS

[issue27535] Memory leaks when opening tons of files

2016-07-16 Thread Александр Карпинский
New submission from Александр Карпинский: Actually, this issue is related to the warning module. The test script creates a lot of files with different names and deletes them. On the first pass the scripts calls the `f.close()` method for every file. On the second it doesn't. As a resul

[issue26882] The Python process stops responding immediately after starting

2016-04-29 Thread Александр Виноградов
New submission from Александр Виноградов: I start in Windows 7 virtual machine the Python x86 subprocess from another console application with commandline: c:\python35\python.exe -c print('hello') Immediately after the startup process stops responding and hanging forever. If you r

[issue26808] wsgiref.simple_server breaks unicode in URIs

2016-04-20 Thread Александр Эри
Александр Эри added the comment: My browser encodes url in utf-8. To resolve this bug we need to look in web standards, not in pep. -- ___ Python tracker <http://bugs.python.org/issue26

[issue26808] wsgiref.simple_server breaks unicode in URIs

2016-04-20 Thread Александр Эри
Александр Эри added the comment: look also #issue26717 -- nosy: +Александр Эри ___ Python tracker <http://bugs.python.org/issue26808> ___ ___ Python-bugs-list m

[issue26717] wsgiref.simple_server: mojibake with cp1252 bytes in PATH_INFO

2016-04-20 Thread Александр Эри
Александр Эри added the comment: Why wsgiref uses latin1? It must use utf-8. -- keywords: +patch nosy: +Александр Эри Added file: http://bugs.python.org/file42531/simple_server.py.diff ___ Python tracker <http://bugs.python.org/issue26

[issue25431] implement address in network in ipaddress module

2015-10-17 Thread Александр Балезин
New submission from Александр Балезин: Current realization of _BaseNetwork.__contains__ always returns False if other is _BaseNetwork. This patch implements proper comparison of _BaseNetwork objects. -- components: Library (Lib) files: ipaddress_contains_network.patch keywords: patch

[issue25430] speed up ipaddress __contain__ method

2015-10-17 Thread Александр Балезин
New submission from Александр Балезин: Current check "address in network" is seems a bit odd: int(self.network_address) <= int(other._ip) < int(self.broadcast_address) This patch make this in bit-operation manner. Perfomace test: import ipaddress import timeit cl

[issue5305] imaplib should support international mailbox names

2015-07-22 Thread Александр Цамутали
Changes by Александр Цамутали : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue5305> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue13671] double comma cant be parsed in config module

2011-12-28 Thread Александр Балезин
New submission from Александр Балезин : In conf file: "keyе_ = ,," Get next exception: File "/usr/lib/python2.6/dist-packages/configobj.py", line 1230, in __init__ self._load(infile, configspec) File "/usr/lib/python2.6/dist-packages/configobj.py", line

[issue12718] Logical mistake of importer method in logging.config.BaseConfigurator

2011-08-10 Thread Александр
Александр added the comment: As I understand, you created importer as a class attribute, so we can opportunity set import function to importer when inheritance new class from BaseConfigurator(# We might want to use a different one, e.g. importlib)? As example importer = import_module # from

[issue12718] Logical mistake of importer method in logging.config.BaseConfigurator

2011-08-10 Thread Александр
Александр added the comment: Install rpdb2 or winpdb for you python. And install django to you python path. Create empty djnago-project: django-admin createproject bbbtest Add line LOGGING_CONFIG = 'logging.config.dictConfig' to setting.py for use python logging.config for logging

[issue12718] Logical mistake of importer method in logging.config.BaseConfigurator

2011-08-09 Thread Александр
New submission from Александр : At line 377 __import__ function assing to class variable importer. __import__ get module name as first argument, but when we use self.importer at line 391 (http://hg.python.org/cpython/file/10f20ad2fbb6/Lib/logging/config.py#l391) we give class instance(self

[issue5305] imaplib should support international mailbox names

2011-03-24 Thread Александр Цамутали
Александр Цамутали added the comment: So noone is working on this issue ATM? -- nosy: +astsmtl ___ Python tracker <http://bugs.python.org/issue5305> ___ ___ Pytho