Joseph Perez added the comment:
There is also https://bugs.python.org/issue44293 about inspect.isclass
--
nosy: +joperez
___
Python tracker
<https://bugs.python.org/issue45
Joseph Fox-Rabinovitz added the comment:
I closed the issue (it's already been rejected), primarily based on
> a.__index__ = is an unauthorized use of a *reserved* word and the
> effect of such usage is not and need not be documented.
> The entry for __*__ does include
Joseph Riddle added the comment:
_Private__names seems to no longer exist in the Python 3.11 documentation.
https://docs.python.org/3.11/library/enum.html#private-names
It appears to have been removed in this PR
https://github.com/python/cpython/pull/23748/files
Should this issue be
Joseph Perez added the comment:
Indeed, sorry, my example was bad. My library was raising at several place, and
I've extrapolated about generic substitution.
I've indeed other substitutions (without `TypeVar`), and because they were
failing, I've assumed that all of my sub
New submission from Joseph Perez :
`types.UnionType` is not subscriptable, and this is an issue when type
manipulations are done.
A common maniputation I've to do is to substitute all the `TypeVar` of a
potential generic type by their specialization in the given context.
For example, gi
New submission from John Joseph Morelli :
I first noticed this and reported it on the W3 Schools Tutorial, the section
entitled "Add Two Numbers with User Input"
There were many behaviors that I did not understand, but for this bug report, I
will state that the input statements pr
New submission from Joseph Perez :
`typing.NewType` doesn't support PEP 604.
```
>>> import typing
>>> A = typing.NewType("A", int)
>>> B = typing.NewType("B", str)
>>> A | B
Traceback (most recent call last):
File "", l
Joseph Perez added the comment:
@Jelle Zijlstra Thank you for the explanation.
> The current implementation of GenericAlias has been around for a few releases
> by now, though, so that change might break some use cases.
I agree that a "fix" could have unexpected side-effect
New submission from Joseph Perez :
PEP 585 has the side-effect of making `list[int]` an instance of `type`. This
is not the case for other generic aliases.
It also implies that `inspect.isclass(list[int]) is True`, while `list[int]` is
not a class; as a proof of this statement `issubclass
New submission from Joseph Trask Still :
This issue occurs on my M1 MacBook Pro running macOS 11.3.1.
Steps to reproduce:
1. Open the Python installation package
2. When asked where to install the package, click "Customize" at the bottom of
the dialog
3. Uncheck the GUI Tools option
New submission from Joseph Ishac :
I have noticed an issue (Python 3.8.5) where an email can be read in as bytes,
but will not be returned as such with the as_bytes() call if the message is
multipart, has a boundary which is not properly quoted, and the message has
non-ascii text. It seems
Change by Joseph Shen :
--
nosy: +benjamin.peterson
___
Python tracker
<https://bugs.python.org/issue43278>
___
___
Python-bugs-list mailing list
Unsubscribe:
Joseph Shen added the comment:
Right now there is no need to keep this limits, and the __version__ info from
GCC is quite simple. Pls the attached snapshot image.
Therefor I don't think we should keep a commit from 2000.
--
___
Python tr
Change by Joseph Shen :
--
title: Inconsistent behavior of Py_GetCompiler() -> unnecessary leading '\n'
from Py_GetCompiler() when build with different complier
___
Python tracker
<https://bugs.pytho
Change by Joseph Shen :
--
keywords: +patch
pull_requests: +23384
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24606
___
Python tracker
<https://bugs.python.org/issu
New submission from Joseph Shen :
The function Py_GetCompiler() return the version info with a leading '\n' when
build with GCC/clang, while without this on other compilers. This inconsistent
make the REPL print the 'welcome message' quit different, which I think is not
New submission from Joseph Perez :
`typing.get_type_hints` gives a different result for a wrapper created with
`functools.wraps` in case of inferred `Optional` arguments (when the default
value of the argument is None)
```python
from functools import wraps
from typing import get_type_hints
Joseph Fox-Rabinovitz added the comment:
Last attempt before I give up:
ctypes.CDLL initializer defined in version 3.8 and beyond as
```
def __init__(self, name, mode=DEFAULT_MODE, handle=None,
use_errno=False,
use_last_error=False,
winmode=None
Joseph Fox-Rabinovitz added the comment:
Company firewall mutilated the text. Here is another attempt:
ctypes.CDLL initializer defined in version 3.8 and beyond as
```
def __init__(self, name, mode=DEFAULT_MODE, handle=None,
use_errno=False,
use_last_error=False
Change by Joseph Fox-Rabinovitz :
--
title: Documentation of -> Documentation of ctypes.CDLL does not correspond to
code
___
Python tracker
<https://bugs.python.org/issu
New submission from Joseph Fox-Rabinovitz :
ctypes.CDLL initializer defined in version 3.8 and beyond as
```
def __init__(self, name, mode=DEFAULT_MODE, handle=None,
use_errno=False,
use_last_error=False,
winmode=None):
```
Documentation says `winmode=0
Joseph Perez added the comment:
That's why it's not an interpreter issue but a lack in the official
documentation where the signature is documented.
I quote https://docs.python.org/3/library/functions.html#type:
> class type(object)
> class type(name, bases, dict)
The secon
New submission from Joseph Perez :
Class definition can have kwargs which are used by `__init_subclass__` (and
`__prepare__`).
However, passing these kwargs using `type` builtin function instead of class
definition syntax is not documented; kwargs are not mentioned in the function
signature
Joseph Perez added the comment:
However, PEP 563 will not solve the recursive type alias issue like `A =
list["A"]` but this is a minor concern.
--
___
Python tracker
<https://bugs.python.o
New submission from Joseph Perez :
PEP 585 current implementation (3.10.0a0) differs from current Generic
implementation about ForwardRef, as illustrated bellow:
```python
from dataclasses import dataclass, field
from typing import get_type_hints, List, ForwardRef
@dataclass
class Node
Joseph Perez added the comment:
Ok, I admit that I did not think about recursive type when proposing this "fix".
I've tried an implementation that just stop when recursion is encountered in a
PR.
--
___
Python tracker
<https
Change by Joseph Perez :
--
keywords: +patch
pull_requests: +20699
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21553
___
Python tracker
<https://bugs.python.org/issu
New submission from Joseph Perez :
(This issue is already broached in https://bugs.python.org/issue38605, and a in
some way in https://bugs.python.org/issue35834, but only as a secondary
subject, that's why I've opened a ticket on this particular issue)
ForwardRef of ForwardR
Joseph Hackman added the comment:
According to the DNS standard, hostnames with more than 63 characters per label
(the sections between .) are not allowed
[https://tools.ietf.org/html/rfc1035#section-2.3.1].
That said, enforcing that at the codec level might be the wrong choice. I threw
Change by Joseph Sible :
--
nosy: +Joseph Sible
___
Python tracker
<https://bugs.python.org/issue40425>
___
___
Python-bugs-list mailing list
Unsubscribe:
Joseph added the comment:
Sorry I should've added more context. I recently re-installed python on my
computer and started getting these errors. It's hard to pinpoint when I get the
error exactly, but I find it happens when I shutdown a Jupyter notebook. I'm
wondering if this
New submission from Joseph :
Process: Python [91080]
Path:
/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
Identifier:Python
Version: 3.7.7 (3.7.7)
Code Type
Change by Joseph Gordon :
--
nosy: -josephgordon
___
Python tracker
<https://bugs.python.org/issue25597>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Joseph Gordon :
--
nosy: -josephgordon
___
Python tracker
<https://bugs.python.org/issue25661>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Joseph Gordon :
--
nosy: -josephgordon
___
Python tracker
<https://bugs.python.org/issue24249>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Joseph Gordon :
--
nosy: -josephgordon
___
Python tracker
<https://bugs.python.org/issue14019>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Joseph Sible :
Currently, the cmdloop function in cmd has a preloop hook, which runs before
the large try block, and a postloop hook, which runs at the end of the body of
the large try block. This isn't sufficient for subclasses to safel
Joseph Reagle added the comment:
On 11/26/19 12:06 AM, Karthikeyan Singaravelan wrote:
> Karthikeyan Singaravelan added the comment:
>
> This seems more like an issue with lxml.
I posted a report over there now too:
https://bugs.launchpad.net/lxml/+bu
Joseph Reagle added the comment:
Here's the error:
```
Traceback (most recent call last):
File "", line 1, in
File "src/lxml/etree.pyx", line 2291, in lxml.etree._ElementTree.xpath
File "src/lxml/etree.pyx", line 1869, in
lxml.etree._Elemen
New submission from Joseph Reagle :
I've attached a simple XHTML file with which the 3.8 interpreter throws an
error on the following code, but 3.7 does not. (You'll have to change the path
in the code below.)
```
from io import StringIO, BytesIO
from lxml import etree
import
New submission from Joseph Myers :
RobotFileParser.crawl_delay and RobotFileParser.request_rate raise
AttributeError for a robots.txt with no matching entry for the given
user-agent, including no default entry, rather than returning None which would
be correct according to the documentation
Joseph Shen added the comment:
I reopened this issue, and change affected versions to 3.6, 3.7 and 3.8.
--
status: closed -> open
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issu
New submission from joseph...@yahoo.com :
After upgrade my python from 3.6 to 3.7, one of my program got following error
msgs and I suppose it is related to the 'ssl' module:
Traceback (most recent call last):
File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\co
Joseph Sible added the comment:
Re musl changing their behavior, see
https://www.openwall.com/lists/musl/2018/09/07/1 and the resulting thread.
In addition to the old kernel version issue, two other issues were raised:
1. EINTR makes programming mistakes more likely, as people won't thi
Joseph Sible added the comment:
How is this considered "fixed"? Why couldn't this be actually fixed by using
eventfd instead of semaphores when they're available, for example?
--
___
Python tracker
<https://bug
New submission from Joseph :
Every time IDLE is opened this message "IDLE's subprocess didn't make
connection. Either IDLE can't start a subprocess or personal firewall software
is blocking the connection" shows up.
When I open IDLE through .py programs the app cr
Joseph added the comment:
Problem saved... turns out I saved a math.py file in my python location and
thats what cause the crash. when i remove the math.py file or change its name,
python got back to work. thanks
--
___
Python tracker
<ht
Change by Joseph :
--
components: +macOS
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue34584>
___
___
Python-bugs-list mailin
Change by Joseph L. Casale :
--
nosy: -jcasale
___
Python tracker
<https://bugs.python.org/issue34006>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Joseph L. Casale :
--
nosy: +jcasale
___
Python tracker
<https://bugs.python.org/issue34006>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Joseph Sible :
When Python is built on Alpine Linux or in any other configuration that uses
musl libc, calls to Lock.acquire() can't be interrupted by signals. This bug is
caught by test_lock_acquire_interruption and test_rlock_acquire_interruption in
3.6/Lib
New submission from Joseph Martinot-Lagarde :
os.fspath() returns its argument if it is a str. That means that it bypasses
__fspath__ for str subclasses.
This is the case for the library path.py for example.
This is a corner case that was discovered while trying to fix
https://github.com
Joseph Mitzen added the comment:
Is this ever going to get merged? The gentoo bug report link includes a patch
that simply removes the nested comments, which is all that is needed to get the
code to compile properly on Bulldozer processors. There's no "manual massaging"
o
New submission from Joseph Hendrey :
The sidebar navigation menu jitters when scrolling on the 2.7 documentation
pages (at least in Chrome).
A seemingly unrelated issue is that the collapse symbol '<<' is a fixed
distance from the top of the page rather than staying in the
Joseph Fox-Rabinovitz added the comment:
I brought up the issue because it was really a point of confusion for me.
Could we make the change to "Roughly equivalent" and make that a link to
https://docs.python.org/3/reference/datamodel.html#special-method-lookup?
That would make it cle
New submission from Joseph Fox-Rabinovitz:
The docs for [`operator.index`][1] and `operator.__index__` state that
> Return *a* converted to an integer. Equivalent to `a.__index__()`.
The first sentence is correct, but the second is not. First of all, we have the
data model [docs][2]:
&g
Changes by Joseph Fox-Rabinovitz :
--
type: behavior ->
___
Python tracker
<http://bugs.python.org/issue31042>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Joseph Shen:
start from 3.6+, dict keys are ordered heir creation order.
the builtin print function works as we expected, but for
pprint, the keys is sorted. should we using the sorted version
or just obey the creation order as builtin print?
--
components: Library
Joseph Hackman added the comment:
Thanks for the tip! If you hadn't said that, I probably would have written it
into the init scripts.
I'll try to write something for python-ideas / PEP tomorrow, but have attached
a quick patch here so I can link to this issue for an example impl
New submission from Joseph Shen:
the released 3.6.0 PCbuild/build.bat required hg for building. but this
requirement is not necessary for build python from source. maybe it will be
better for us to remove this requirement as the old versions.
--
components: Build
messages: 284078
nosy
Joseph Hackman added the comment:
The flag is application specific. I.e. a python program that writes to console
using ansi codes, when used on windows, will just display the codes. If the
Output is redireced to file and then the file is printed to console using a
console tool, the colors
New submission from Joseph Hackman:
On windows, Python does not request that Windows enable VT100 for console
output for Python.
That is to say that ANSI codes such as \033[91m will function on Mac and Linux
Pythons, but not Windows.
As there is no good interface in core Python to the
Changes by Joseph L. Casale :
--
nosy: +jcasale
___
Python tracker
<http://bugs.python.org/issue14965>
___
___
Python-bugs-list mailing list
Unsubscribe:
Joseph Shen added the comment:
Oh, can't believe this, and I thought iPhone 8 will bring back my lovely
3.5mm jack ^_^
On Sat, Sep 10, 2016 at 22:16 Zachary Ware wrote:
>
> Zachary Ware added the comment:
>
> Joseph: "plat-win" was actually removed from the co
Joseph Shen added the comment:
Yeah it's true, anyway thanks for your support
On Sat, Sep 10, 2016 at 22:10 Steve Dower wrote:
>
> Steve Dower added the comment:
>
> I don't intend to change any defaults arbitrarily, but you can easily
> specify a folder with whateve
Joseph Shen added the comment:
I noticed someone use `plat-win` instead of `DLLs` in this
http://bugs.python.org/issue28046, so what's your opinion for this?
`plat-win` looks more meaningful than old `DLLs` at least for me,
do your have any plan for this in the 3.6 re
Joseph Shen added the comment:
thanks for the comment and make python work on Windows better :)
I will trace the 3.6 source code.
On Sat, Aug 27, 2016 at 8:58 PM Steve Dower wrote:
>
> Steve Dower added the comment:
>
> I don't entirely agree with the analysis or suggestio
Joseph Shen added the comment:
I don't know how to reopen this issue, please make some comments for
what I added just now, thanks.
--
status: closed -> open
___
Python tracker
<https://bugs.python.org
Joseph Shen added the comment:
Yea, thanks for review, I knew the pyven. But the behavior right now is
really what I think unnecessary complicated and confusing.
What I think, we all knew the DLLs is used for python keep the *.pyd
(actually just dll), so by default, why we want this directory
Joseph Shen added the comment:
second snapshot
--
Added file: https://bugs.python.org/file44239/2016-08-27_15-09-45.png
___
Python tracker
<https://bugs.python.org/issue27
New submission from Joseph Shen:
Found a inconsistent sys.path result when python packed with it's library with
zip package.
A. when NOT use zip package
sys.path is base the python.exe's absolute path, result is
1. ABS_PATH\pythonXX.zip
2. ABS_PATH\DLLs
3
Joseph Bane added the comment:
Thank you for your feedback. I definitely understand your reasoning and
commitment to not introducing breaking changes in externally facing codes. I
also agree that this does fall slightly more on the side of aesthetic rather
than functional changes. However
Joseph Bane added the comment:
Thank you for the feedback. Please find an updated patch attached.
--
Added file: http://bugs.python.org/file44061/patch.diff
___
Python tracker
<http://bugs.python.org/issue27
New submission from Joseph Bane:
The distutils strtobool function returns 0 or 1 rather than the native boolean
type True or False values:
https://hg.python.org/cpython/file/3.5/Lib/distutils/util.py#l304
Please see the attached patch for updates to this function. I have included
updates to
Joseph Hackman added the comment:
Updated documentation in fileinput.rst, Doc/whatsnew/3.6.rst, Misc/NEWS and
Misc/ACKS.
Thank you so much Serhiy for taking the time to review!
--
Added file: http://bugs.python.org/file42631/issue25788-3.patch
Joseph Hackman added the comment:
Uploading a new patch to address the issues in previous patch.
--
Added file: http://bugs.python.org/file42620/issue25788-2.patch
___
Python tracker
<http://bugs.python.org/issue25
Joseph Hackman added the comment:
Ping.
Just wondering if anyone on the nosy list would be willing to help review my
patch. :)
--
___
Python tracker
<http://bugs.python.org/issue25
Joseph Moran added the comment:
Deleted second ABSTRACTSET and added SET in typing docs
--
nosy: +joegotflow83
Added file: http://bugs.python.org/file42109/26322
___
Python tracker
<http://bugs.python.org/issue26
Changes by Joseph Hackman :
--
nosy: +Joseph.Hackman
___
Python tracker
<http://bugs.python.org/issue25300>
___
___
Python-bugs-list mailing list
Unsubscribe:
Joseph Hackman added the comment:
I haven't seen OP in over 30 days, so am posting my own patch.
I've added an optional argument that defaults to strict and gets passed along.
I've updated the primary test to verify the argument passing, as well as that
things get handled as s
Changes by Joseph Pyott :
--
components: +Library (Lib) -Extension Modules
___
Python tracker
<http://bugs.python.org/issue26091>
___
___
Python-bugs-list mailin
Changes by Joseph Pyott :
--
components: Extension Modules
files: decimal pow error.py
nosy: Pyottamus
priority: normal
severity: normal
status: open
title: decimal.Decimal(0)**0 throws decimal.InvalidOperation
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org
Joseph Gordon added the comment:
I uploaded a patch that appears to fix the issue.
--
keywords: +patch
Added file: http://bugs.python.org/file41396/issue25599.patch
___
Python tracker
<http://bugs.python.org/issue25
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue23846>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue19873>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue25324>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue25597>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue25599>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue25661>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue25664>
___
___
Python-bugs-list mailing list
Unsubscribe:
Joseph Gordon added the comment:
With the changes in the uploaded patch it looks like strings of the form
rb'...' are now recognized as raw byte strings.
--
keywords: +patch
Added file: http://bugs.python.org/file41382/issue23894.patch
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue23894>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue24249>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue14019>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joseph Gordon :
--
nosy: +josephgordon
___
Python tracker
<http://bugs.python.org/issue11551>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Joseph Schachner:
We should not make people who need to read Python documentation do an extra
transformation in their heads to correctly understand that in section 5.15
higher precedence is at the bottom of the table and lower precedence is at the
top. Because the
New submission from Joseph Weston:
Several fields in the Python 3.x documentation for the PyTypeObject API
have incorrectly documented types. This was probably due to a wholesale
shift of documentation from Python 2.x.
--
assignee: docs@python
components: Documentation
files
New submission from joseph:
Since the changeset 91853:88a532a31eb3 _freeze_importlib.c resides in the
Programs dir. The header comment of Python/importlib.h should be changed to
reflect this.
--
components: Build
files: freeze_importlib_comment.patch
keywords: patch
messages: 231617
New submission from Joseph Siddall:
putting something in Queue(multiprocessing.Queue) after closing it raises an
AssertionError.
Getting something out of a Queue after closing it raises an OSError.
I expected both scenarios to raise the same exception.
To Reproduce:
>>> from multip
Joseph Godbehere added the comment:
Very good point, Serhiy.
Here is an alternative patch, which instead changes Message.is_multipart from a
method to a property as per your suggestion. This way incorrect usage should
fail noisily.
This patch is against the relevant docs, tests, is_multipart
1 - 100 of 244 matches
Mail list logo