New submission from Alex Quinn :
The documentation says subprocess replaces os.system(). However, subprocess
does not handle built-in Windows shell commands as os.system() does.
Works:
- os.system("dir /w")
- subprocess.Popen("cmd /c dir /w", stdout=subprocess.PIPE).commun
Alex Quinn added the comment:
Sorry. My mistake. Thanks for clarifying.
--
___
Python tracker
<http://bugs.python.org/issue8632>
___
___
Python-bugs-list mailin
New submission from Alex Robinson <[EMAIL PROTECTED]>:
On a Mac running 10.5.2 in IDLE 1.2.1, the scroll bars don't move as
expected & track pad/mouse scrolling is not enabled. I believe this is
also the case on Tiger (10.4)
When using the scroll bar to scroll up through code,
New submission from Alex Coventry <[EMAIL PROTECTED]>:
The modules test.bad_coding and test.badsyntax_pep3120.py cause the
command "help('modules ftp')" to fail with the errors
LookupError: unknown encoding: uft-8
and
SyntaxError: Non-UTF-8 code starting with '
Changes by Alex Coventry <[EMAIL PROTECTED]>:
--
versions: +Python 3.0
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4135>
___
__
Changes by Alex Willmer <[EMAIL PROTECTED]>:
--
nosy: +moreati
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2636>
___
___
Python
New submission from Alex Samuel <[EMAIL PROTECTED]>:
Methods of set and frozenset that return new set or frozenset instances
return instances of subclasses, but these instances are not initialized
correctly. In the attached code sample, z is an instance of MySet but
MySet.__new__ and
Alex Samuel <[EMAIL PROTECTED]> added the comment:
In the sample code I attached, z is an instance of MySet under 3.0rc2. Is
that expected?
Thanks,
Alex
Mark Dickinson wrote:
> Mark Dickinson <[EMAIL PROTECTED]> added the comment:
>
> The bug is that the set operation
New submission from Alex Stapleton <[EMAIL PROTECTED]>:
Following a discussion on reddit it seems that the unicode case
conversion algorithms are not being followed.
$ python3.0
Python 3.0rc1 (r30rc1:66499, Oct 10 2008, 02:33:36)
[GCC 4.0.1 (Apple Inc. build 5488)] on darwin
Type
Alex Stapleton <[EMAIL PROTECTED]> added the comment:
I agree with loewis that ICU is probably the best way to get this
functionality into Python.
lemburg, yes it seems like extending those methods would be required at
the very least. We would probably also need to support ICUs collat
New submission from Alex Roper :
Hi,
I wrote a simple script (attached) to do some preprocessing of MediaWiki
XML dumps. When it has a 8 MB chunk ready to dump to disk, it forks, and
the child writes it out and (will) compress it, then exit. The main
thread continues as before. Note that the
Alex Stapleton added the comment:
I am trying to get a PEP together for this. Does anyone have any thoughts
on how to handle comparison between unicode strings in a locale aware
situation?
Should __lt__ and __gt__ be specified as ignoring locale? In which case do
we need to add a new method
New submission from Alex Fainshtein :
How to reproduce:
1. Start IDLE -> "Python Shell" window opens.
2. Open Options|"Configure Idle...".
3. In "idle" dialog select "Keys" tab.
4. Click "Set as New Custom Key Set" button.
5 In "New
New submission from Alex Robinson :
Corrected code in writeframesraw():
self._datawritten = self._datawritten + len(data) *
self._sampwidth
else:
self._file.write(data)
self._datawritten = self._datawritten + len(data) *
self._sampwidth
Note that
Alex Robinson added the comment:
Oh golly. I was confused. For some reason I was thinking
"writesamples()" when using "writeframes()".
So the current code reads ok. Which makes this "bug" a request for
writesamples() and readsamples() to be added to wave.py. Th
Alex Robinson added the comment:
Oh gob. I left a debug artifact in that code.
wavs= [ wavs, wv ]
needs to be without the 'wv'.
___
Python tracker
<http://bugs.python.
Alex Robinson added the comment:
I might be able to do doc/test/patch in a month or two, but know
zero.zero about the process so would expect it to take far more than a
few hours when I do have time.
___
Python tracker
<http://bugs.python.org/issue4
Alex Robinson added the comment:
Polo: "I could do it, but I'm in disagreement with big part of your patch."
Why surely you can't mean the bug. :) (The test program has it fixed.)
What is the disagreement?
Apparently this bug system allows file attachments, so I will u
Alex Robinson added the comment:
"8 bit samples stored as unsigned bytes"?
8 bit samples are 0..255 in the file. But to work with them, you'll want
them -128..127. The code assumes DC==0 sample values for simplicity.
"if len(wavs) not in [ 1, 2, 4 ]" ?
That way if you&
Alex Robinson added the comment:
"DC (0 hz) assumption"?
wave.py makes the assumption that what the user wants is whatever
happens to be in the file, however arbitrary. (That 8 bit samples are
unsigned bytes is probably an artifact of early ADC logic. Typically you
got an absolute, n
Alex Robinson added the comment:
I'll upload the latest monkey-patch file, wave_futz.py, and
test_wave.py, which has a gob of tests added to it.
I found a 64-bit bug in the wave.py formats for 32-bit sample wave files.
The pcm files read in to CoolEdit ok, including the 32-bit sample
Alex Waygood added the comment:
Thanks so much to Ken, Łukasz, Jelle, Guido, and everybody else who helped
review these PRs!
--
___
Python tracker
<https://bugs.python.org/issue45
Alex Waygood added the comment:
I think this might be a duplicate of Issue46361?
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46
Alex Waygood added the comment:
+1 for the more minimal changeset proposed in PR 31781. I've never felt a need
for NamedTuple multiple inheritance other than with Generic, so wouldn't be
opposed to restricting it only to Generic.
--
Change by Alex Waygood :
--
nosy: +AlexWaygood, Jelle Zijlstra, gvanrossum, iritkatriel
___
Python tracker
<https://bugs.python.org/issue46967>
___
___
Python-bug
Alex Waygood added the comment:
I agree with Jelle — a valid protocol cannot inherit from a concrete type, and
the whole point of NamedTuple is that it creates a tuple subclass (and tuple is
obviously a concrete type).
--
___
Python tracker
Alex Grönholm added the comment:
Yeah, I'm still interested. I'll create a new BPO when I have something.
--
___
Python tracker
<https://bugs.python.o
Change by Alex Waygood :
--
stage: patch review -> backport needed
___
Python tracker
<https://bugs.python.org/issue46677>
___
___
Python-bugs-list mai
Change by Alex Waygood :
--
stage: patch review -> backport needed
___
Python tracker
<https://bugs.python.org/issue46581>
___
___
Python-bugs-list mai
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue43224>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +Jelle Zijlstra
___
Python tracker
<https://bugs.python.org/issue46581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood
nosy_count: 3.0 -> 4.0
pull_requests: +29902
pull_request: https://github.com/python/cpython/pull/31801
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +Jelle Zijlstra
___
Python tracker
<https://bugs.python.org/issue46982>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: -AlexWaygood
___
Python tracker
<https://bugs.python.org/issue46961>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +AlexWaygood
___
Python tracker
<https://bugs.python.org/issue47006>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue47016>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +asvetlov, giampaolo.rodola, josiahcarlson, stutzbach, yselivanov
___
Python tracker
<https://bugs.python.org/issue47
Change by Alex Waygood :
--
pull_requests: +30031
pull_request: https://github.com/python/cpython/pull/31941
___
Python tracker
<https://bugs.python.org/issue46
New submission from Alex Waygood :
I have tried several times now to upgrade to Python 3.10.3 using the 64-bit
installer for Windows at https://www.python.org/downloads/release/python-3103/.
Each time, I encounter an error message stating that "The feature you are
trying to use is
Alex Waygood added the comment:
Attaching the log file from the installation.
--
Added file: https://bugs.python.org/file50687/installer_log_file.txt
___
Python tracker
<https://bugs.python.org/issue47
Alex Waygood added the comment:
> Looks like you may have "cleaned up" your package cache at some point, which
> means you can't uninstall the old version anymore.
Not knowingly!
> Try getting the 3.10.2 installer and running it directly.
Alex Waygood added the comment:
Hmm, well if I try running the 3.10.2 installer, it now presents me with an
error message saying that "a newer version of Python 3.10 is already installed".
--
___
Python tracker
<https://bugs.python.o
Change by Alex Waygood :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
stage: patch review -> backport needed
versions: +Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/i
Change by Alex Waygood :
--
title: IDLE: Convert browswers to use ttk.Treeview -> IDLE: Convert browsers to
use ttk.Treeview
___
Python tracker
<https://bugs.python.org/issu
Change by Alex Waygood :
--
versions: +Python 3.11 -Python 3.5
___
Python tracker
<https://bugs.python.org/issue433030>
___
___
Python-bugs-list mailin
Alex Waygood added the comment:
Typeshed maintainer here: I agree. Feel free to open an issue over at
https://github.com/python/typeshed if this is still a problem!
--
nosy: +AlexWaygood
resolution: -> third party
stage: -> resolved
status: pending -&g
Change by Alex Waygood :
--
nosy: +JelleZijlstra, gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue47067>
___
___
Python-bugs-list mailin
Change by Alex Waygood :
--
nosy: +AlexWaygood, JelleZijlstra
___
Python tracker
<https://bugs.python.org/issue43463>
___
___
Python-bugs-list mailing list
Unsub
Change by Alex Waygood :
--
nosy: +eric.smith
___
Python tracker
<https://bugs.python.org/issue47073>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Waygood added the comment:
Thanks Guido for your insight, and Jelle/Łukasz for the reviews and backports!
I'm on holiday right now, but when I'm back, I'll take a look at maybe
proposing some minor revisions to PEP 484 as well, as
New submission from Alex Hedges :
The documentation page for the grp module says to "see ", even though
the source code
(https://github.com/python/cpython/blob/v3.11.0a6/Modules/grpmodule.c) uses
grp.h.
I plan to release a PR for this shortly.
--
assignee: docs@python
Change by Alex Hedges :
--
keywords: +patch
pull_requests: +30176
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32091
___
Python tracker
<https://bugs.python.org/issu
Alex Waygood added the comment:
I think implementing this would add complexity to the code in dataclasses.py
(though Eric's the expert!).
For your use case, is it essential that the type alias declaration be inside
the class scope? Would it be possible for you to simply have the
Change by Alex Waygood :
--
nosy: +pablogsal
title: arrow at wrong place -> Incorrect location of caret in SyntaxError
type: enhancement -> behavior
___
Python tracker
<https://bugs.python.org/i
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alex Waygood added the comment:
(Feel free to reopen this issue if there's more to be done, Matthew!)
--
___
Python tracker
<https://bugs.python.org/is
Alex Waygood added the comment:
(My solution for now has been to install python on my other laptop. Thanks for
the help Steve!)
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Change by Alex Waygood :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alex Waygood added the comment:
Closing due to lack of response from OP.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Alex Waygood :
--
nosy: +AlexWaygood, JelleZijlstra, eric.smith, gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue47237>
___
___
Pytho
Change by Alex Waygood :
--
title: Add object.__getstate__() introduced refleaks -> New
object.__getstate__() method introduced refleaks
___
Python tracker
<https://bugs.python.org/issu
Alex Waygood added the comment:
Please try to make your messages more concise.
--
___
Python tracker
<https://bugs.python.org/issue47234>
___
___
Python-bug
Alex Itkes added the comment:
Although the Document, Element, etc. classes are well documented in online
docs, it is sometimes easier to use pydoc to view the documentation. I think
documentation strings should be included to these classes. Just created a PR
adding some docstrings
Change by Alex Itkes :
--
pull_requests: -15938
___
Python tracker
<https://bugs.python.org/issue13743>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Itkes :
--
pull_requests: +15939
pull_request: https://github.com/python/cpython/pull/16355
___
Python tracker
<https://bugs.python.org/issue13
Change by Alex Shkop :
--
keywords: +patch
pull_requests: +16041
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16459
___
Python tracker
<https://bugs.python.org/issu
New submission from Alex Grund :
`setup.py` runs ` -E -v - /dev/null` to figure out include and
library paths from the compiler in the function `add_gcc_paths`.
However sample output from the compiler is:
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=g++
Ziel: x86_64-pc-linux
New submission from Alex Mashianov :
Python docs says print() function default sep='':
http://joxi.ru/EA44JnfonNwLAb.png
While in reality sep=' ':
http://joxi.ru/n2YXyRsbw6oYm6.png
Probably it's a bug with space not being escaped in html to prevent trimming.
---
New submission from Alex Walters :
https://docs.python.org/3.8/library/zipfile.html#zipfile.Path.listdir
The docs for zipfile.Path list a method named 'listdir', the closest
approximation to the functionality described in the actual code is a method
named 'iterdir'
-
New submission from Alex Hall :
In a decorator such as `@a()`, the ast.Call node has a col_offset starting from
the @ symbol. This doesn't happen for decorators without arguments (e.g. `@a`)
or with some arguments (e.g. `@a(x)`).
--
components: Interpreter Core
Alex Hall added the comment:
I assume this also happens on 3.9, it's just a bit hard for me to test that now.
--
___
Python tracker
<https://bugs.python.org/is
Alex Grund added the comment:
This seems to be a locale issue. So a solution would be to use `LC_ALL=C`
before invoking the compiler (or the cross-platform equivalent)
--
___
Python tracker
<https://bugs.python.org/issue38
New submission from Alex Grund :
In e.g. Linux users can set CPATH and LIBRARY_PATH to a list of paths
considered by e.g. GCC, Clang, ... as if they were passed to `-I`, `-L`
These paths show up in the verbose compiler output too.
However in native builds (not cross-compiling) these
Change by Alex Hall :
--
nosy: +Mark.Shannon
___
Python tracker
<https://bugs.python.org/issue39316>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Hall added the comment:
I just came across https://www.python.org/dev/peps/pep-0626/, seems like this
would need to be fixed to satisfy the PEP, but on the latest CPython it's not:
```
➜ ~ python3.10 ~/Downloads/trace_skipping_lines_bug.py
14 slug = "doing_the_thing"
1
Alex Kanitz added the comment:
Given that people were asking for real-world use cases, here's one:
high-throughput sequencing, e.g., in RNA-Seq
(https://en.wikipedia.org/wiki/RNA-Seq), typically yields either one or two
output files, depending on the type of the sequencing library. A
Alex Mijalis added the comment:
Agreed, it would be really nice to integrate these changes. These special
fields are found in gzipped .bam files, a common DNA sequence alignment format
used in the bioinformatics community. It would be nice to be able to read and
write them with the standard
Alex Vandiver added the comment:
It seems reasonable to fail on hostnames that are too long -- but it feels like
the weirdness is that it is categorized as a UnicodeError, and not as, say, a
ValueError.
Would a re-categorization as ValueError seem like a reasonable adjustment here
Alex Hall added the comment:
Pablo, check out https://github.com/aroberge/friendly/discussions/197,
particularly the second bullet point which has a dataset of syntax errors.
--
nosy: +alexmojaki
___
Python tracker
<https://bugs.python.
Change by Alex Willmer :
--
nosy: -Alex.Willmer
___
Python tracker
<https://bugs.python.org/issue31904>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex DeLorenzo :
According to the documentation, asyncio.as_completed() takes a positional
argument, aws, as an iterable of awaitables[1]:
asyncio.as_completed(aws, *, loop=None, timeout=None)
Run awaitable objects in the aws iterable concurrently.
As seen in
Change by Alex DeLorenzo :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue44176>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Alex DeLorenzo :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue44176>
___
___
Python-bugs-list mailing list
Unsub
New submission from Alex Hall :
Found on:
Python 3.9.5
GCC 11.1 on Linux (x86_64)
Reproduced on:
Python 3.9.5
Clang 9.0.8 Linux (arm)
When setting the recursion limit to a high enough amount, trying to reach that
recursion limit ends in a segmentation fault (stack overflow?)
code:
```py
New submission from alex rakowski :
Hello,
I've noticed that when type hinting paths, it often becomes a bit verbose:
from typing import Union
import pathlib
custom_path = Union[str, pathlib.Path]
def foobar(x:custom_path):
...
Writing functions which handle paths are pretty ro
alex rakowski added the comment:
I just noticed this issue was raised and dismissed in PEP 519 -- Adding a file
system path protocol.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Alex Hall added the comment:
I believe this is the outcome of https://bugs.python.org/issue39316 which I
filed, so I'm pulling in . Naturally I think the new behaviour is not a bug but
a feature.
I think it's more important for the traceback to show the attribute access
(`two`
Alex Hall added the comment:
(meant to say "so I'm pulling in @Mark.Shannon)
--
___
Python tracker
<https://bugs.python.org/issue44576>
___
___
New submission from Alex Waygood :
In a Python dictionary, `.popitem()` returns (key, value) pairs from the
dictionary in a LIFO order. `collections.OrderedDict` and `collections.Counter`
both do the same. However, a class inheriting from
`collections.abc.MutableMapping` (which includes, in
Change by Alex Waygood :
--
nosy: +rhettinger, stutzbach
___
Python tracker
<https://bugs.python.org/issue44750>
___
___
Python-bugs-list mailing list
Unsub
Alex Waygood added the comment:
Thanks, Raymond -- that makes sense, and seems very fair. I still think a note
somewhere in the documentation stating this might be helpful -- as a user, it
wasn't what I was expecting. I would argue this is especially true for
UserDict, a class whic
Alex Waygood added the comment:
+1 to this suggestion. I had a use case for this the other day. It currently
feels like something of a discrepancy between ABCs and `typing.Property`, which
can be seen as analogous in some ways to "an ABC for the static type-checker".
`typin
Alex Waygood added the comment:
This same bug (where classmethod properties are accidentally called by other
parts of Python) is also present for non-abstract class properties, and has the
side effect of causing doctest.py to crash with a fairly incomprehensible
`AttributeError`:
Script
Alex Waygood added the comment:
Tomasz -- as discussed in the original BPO issue for `abstractmethod`
implementations (https://bugs.python.org/issue1706989), this works as a
workaround:
```
>>> from abc import ABCMeta
>>> class AbstractAttribute:
... __isabstr
Alex Waygood added the comment:
^And, that only works for class attributes, not instance attributes.
--
___
Python tracker
<https://bugs.python.org/issue44
New submission from Alex Zaslavskis :
If we will try to split bytes we will got quite strange error in console.
Traceback (most recent call last):
File "C:/Users/ProAdmin/Desktop/bug_in_python.py", line 6, in
byte_message.split(",")
TypeError: a bytes-like object i
Change by Alex Zaslavskis :
--
type: compile error -> behavior
___
Python tracker
<https://bugs.python.org/issue45087>
___
___
Python-bugs-list mailing list
Un
Change by Alex Zaslavskis :
Added file: https://bugs.python.org/file50258/bug_in_python.py
___
Python tracker
<https://bugs.python.org/issue45087>
___
___
Python-bug
501 - 600 of 1613 matches
Mail list logo