New submission from Sascha Hesse :
Given a docker container on raspbian 10.11
based on bullseye:
docker run --rm -it --entrypoint sh python:3.10-slim
time.time() fails with error
# python
Python 3.10.0 (default, Nov 18 2021, 00:56:34) [GCC 10.2.1 20210110] on linux
Type "help",
Sascha Desch added the comment:
That definition of `.parse()` definitely makes sense. Do you then think this is
out of scope for `Formatter` in general or just for `.parse()`?. Just for
reference, this is what I currently use to get automatic numbering to work for
my use case.
```
def
Sascha Desch added the comment:
Another thing that occurred to me is the question of what `.parse()` should do
when a mix of auto-numbered and manually numbered fields is supplied e.g.
`{}{1}`. As of now `.parse()` happily processes such inputs and some other
piece of code deals with this
Sascha Desch added the comment:
Yes it should return a string containing the index of the positional argument
i.e. `"0"` so that it is compatible with `.get_field()`. Side note: It's a
somewhat weird that `.get_field` expects a string while `.get_value` expects an
int
New submission from Sascha Desch :
It appears when adding auto-numbered positional fields in python 3.1
`Formatter.parse` was not updated to handle them and currently returns an empty
string as the field name.
```
list(Formatter().parse('hello {}')) # [('hello ',
Change by Kagami Sascha Rosylight :
--
title: multiprocessing.Pool(64) crashes on Windows -> multiprocessing.Pool(64)
throws on Windows
___
Python tracker
<https://bugs.python.org/issu
Kagami Sascha Rosylight added the comment:
The argument-less instantiation also fails, which is worse.
```
>>> multiprocessing.Pool()
>>> Exception in thread Thread-1:
Traceback (most recent call last):
File
"C:\Users\sasch\AppData\Local\Programs\Python\Python39\
New submission from Kagami Sascha Rosylight :
Similar issue as the previous issue 26903.
```
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more
Sascha added the comment:
hi,
if you know that it will lead to confusion why is this confusion not written
here:
https://docs.python.org/3/using/windows.html
If you do software deployment in a company you will only have one version so
having more than one version is not the point. And if
Kagami Sascha Rosylight added the comment:
It seems libuv and pwsh decided to detect and read them just as symlinks:
https://github.com/libuv/libuv/pull/2812
https://github.com/PowerShell/PowerShell/pull/10331
Could Python do the same
New submission from Kagami Sascha Rosylight :
After installing Python from Microsoft Store, this fails:
```
>>> open('C:\\Users\\Kagami\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python.exe')
Traceback (most recent call last)
Kagami Sascha Rosylight added the comment:
Should `ntpath.normpath` make the drive letter uppercase?
--
___
Python tracker
<https://bugs.python.org/issue40
Kagami Sascha Rosylight added the comment:
I mentioned `os.path.abspath` because `os.path.abspath(".")` on console
returned `'c:\\Users\\Kagami\\Documents\\GitHub\\gecko-dev'`. It seems this
incompatibility is partially because MSYS shell prefers lowercase letter for
New submission from Kagami Sascha Rosylight :
```
$ python3.7
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Change by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<https://bugs.python.org/issue34271>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<https://bugs.python.org/issue23837>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<https://bugs.python.org/issue35545>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<https://bugs.python.org/issue32170>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<https://bugs.python.org/issue29708>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<https://bugs.python.org/issue34033>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Sascha Fuhrmann :
For my python development I have several directories on my Windows system:
common:
F:\python\scripts -> one-file-scripts based on python 2
F:\python\scripts3 -> one-file-scripts base on python 3
projects:
F:\python\projects\timetracking
...
Change by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<https://bugs.python.org/issue4963>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<https://bugs.python.org/issue1043134>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Sascha :
Try
from types import SimpleNamespace
import copy
class Person(SimpleNamespace):
def __init__(self, name, **kwargs):
self.name = name
super().__init__(**kwargs)
bob = Person('Bob', job='tester')
clone = copy.copy(bob)
Fo
Changes by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<http://bugs.python.org/issue1025395>
___
___
Python-bugs-list mailing list
Unsubscribe:
Sascha Silbe added the comment:
Has there been any progress on this? For my application I'd very much like
"ssh-like" operation, using the public key itself as identifier rather than
requiring some kind of automated CA setup.
Being able to set a custom verification callback
New submission from Sascha Falk:
The following statement makes python report a syntactic error:
1.__add__(2)
The following works:
(1).__add__(2)
--
components: Interpreter Core
messages: 231711
nosy: sfalk
priority: normal
severity: normal
status: open
title: Integer type and __add__
Sascha Peilicke added the comment:
Happens since Sphinx-1.2b3, here's some context:
https://bitbucket.org/birkenfeld/sphinx/issue/1142
--
___
Python tracker
<http://bugs.python.org/is
New submission from Sascha Peilicke:
Encountered an isssue with Unicode paths when invoking Sphinx' distutils
command (i.e. 'setup.py build_sphinx'):
$ python setup.py build_sphinx
running build_sphinx
error: 'source_dir' must be a directory name (got `doc/
Sascha added the comment:
Actually I'd have no problem using 3.2
Though with 3.2 I got the problem described here:
https://groups.google.com/forum/?fromgroups=#!topic/vim_dev/5MYb23t9ZBM
I was hoping this is fixed in 3.3, but now I can't even
New submission from Sascha:
Hello there,
I hope I'm right here.
I tried to compile vim with Python 3.3 32bit support.
OS: Windows 7 64bit
Compiler: MinGW
Compiling vim with Python 3.2 32bit support works!
The error message:
obj/if_python3.o:if_python3.c:(.text+0x739): undefined referen
Changes by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<http://bugs.python.org/issue2504>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Sascha :
It seem that there's a dash missing.
http://docs.python.org/dev/library/codecs.html#standard-encodings
>>> u'Sorry, this in here makes no sense'.encode('windows1256')
Traceback (most recent call last):
File ""
Changes by Sascha Silbe :
--
nosy: +sascha_silbe
___
Python tracker
<http://bugs.python.org/issue1488934>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Sascha Müller <[EMAIL PROTECTED]>:
--
nosy: +giampaolo.rodola
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3908>
___
_
Sascha Müller <[EMAIL PROTECTED]> added the comment:
heapq expects a _lt_ method, and the error doesn't occur when the _le_
method is changed to _lt. According to the SVN log, this was changed due
to consistency with lists.sort().
--
nosy: +einmaliger -giamp
36 matches
Mail list logo