Александр Семенов 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
Александр Семенов 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
Александр Семенов 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
Александр Семенов 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
Александр Семенов 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
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://
Александр Семенов 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
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):
Александр Бондарев 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
Александр Карпинский 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
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
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
Александр Эри 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
Александр Эри added the comment:
look also #issue26717
--
nosy: +Александр Эри
___
Python tracker
<http://bugs.python.org/issue26808>
___
___
Python-bugs-list m
Александр Эри 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
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
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
Changes by Александр Цамутали :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue5305>
___
___
Python-bugs-list mailing list
Unsubscrib
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
Александр 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
Александр 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
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
Александр Цамутали added the comment:
So noone is working on this issue ATM?
--
nosy: +astsmtl
___
Python tracker
<http://bugs.python.org/issue5305>
___
___
Pytho
23 matches
Mail list logo