Change by James Gerity :
--
nosy: +SnoopJeDi
___
Python tracker
<https://bugs.python.org/issue46726>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from James Marchant :
When using `create_autospec()` to create a mock object, it doesn't respect
values passed through in the style described for passing mock configurations in
the Mock constructor
(https://docs.python.org/3.8/library/unittest.mock
James Gerity added the comment:
> Why was it decided to not raise a syntax error...
I'm not sure if such a decision was even ever made, the error happens before
normalization is applied. I.e. the parser is doing two things here: (1)
validating the syntax against the grammar and (2)
Change by James Gerity :
--
nosy: +SnoopJeDi
___
Python tracker
<https://bugs.python.org/issue46555>
___
___
Python-bugs-list mailing list
Unsubscribe:
James Gerity added the comment:
My thought was to add something like this to the top of functions.rst:
```
Note that some of the functions listed here have the :ref:`default return value
of ``None``.
```
For reference, the builtins this applies to are:
* breakpoint()
* delattr()
* exec
James Gerity added the comment:
> advertising that all functions default to returning None
This is already communicated in § 4.7 ("Defining Functions") of the official
tutorial.
I think it would be a good idea to revise that section so that this property of
functions is a litt
Change by James Gerity :
--
title: print() docs do not indicate its return value -> return value of
builtins is not clearly indicated
___
Python tracker
<https://bugs.python.org/issu
Change by James Casbon :
--
components: +Library (Lib)
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue46292>
___
___
Python-bugs-lis
New submission from James Casbon :
LogRecord makes microseconds available via the msecs attribute. This patch
adds microseconds via usecs attribute.
Some regulators (eg MIFID II) require accuracy greater than 1ms in some
industries.
This patch calls time_ns rather than time so that the
James Gerity added the comment:
The original question was closer to the related issue of "indicate return types
for all built-ins," conversation log follows (UTC-5):
```
09:33:50 ringo__ | is there a stdlib api docs which actually has *full*
functions
James Gerity added the comment:
I opened this ticket on behalf of a user who asked about print() specifically
in #python on the Libera IRC network, who I assume does not find this obvious.
I don't think it would be tenable to add this note to every built-in, but
that's not th
Change by James Gerity :
--
keywords: +patch
pull_requests: +28642
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30435
___
Python tracker
<https://bugs.python.org/issu
Change by James Gerity :
--
assignee: docs@python
components: Documentation
nosy: SnoopJeDi, docs@python
priority: normal
severity: normal
status: open
title: print() docs do not indicate its return value
versions: Python 3.11
___
Python tracker
New submission from James Lawrie :
The datagram_received:
def datagram_received(self, data, addr):
if self.recvfrom:
self.recvfrom.set_result((data, addr))
self.recvfrom = None
Throws an exception if self.recvfrom is a Future Cancelled:
Exception in callback
James Gerity added the comment:
Correction: the bug whose resolution adds the OverflowError mentioned above is
bpo-24522, not bpo-43255
--
___
Python tracker
<https://bugs.python.org/issue46
Change by James Gerity :
--
keywords: +patch
pull_requests: +28168
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29943
___
Python tracker
<https://bugs.python.org/issu
New submission from James Gerity :
The docstrings for `json.JSONEncoder, json.dump(), json.dumps()` all refer to
`OverflowError` when describing the behavior of the `check_circular` parameter,
but the module's test of this parameter catches a `RecursionError` and the
documentation does
James Ferguson added the comment:
Echoing nmatravolgyi's comments - I got here after hitting this bug and I too
am amazed it's been around so long and hasn't been addressed.
It makes cancellation in my application very unreliable, and the reason I need
well-controll
James Gerity added the comment:
The Makefile issue was fixed in bpo-37725 (GitHub:
https://github.com/python/cpython/commit/c6bbcd258302b4b9b3d4f3c39bb5f7ff0120ec67),
but the change wasn't ported to the 3.7, 3.8 branches. Those versions are now
security-only, so this issue can probably
James Bowery added the comment:
My mistake. Disregard.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
New submission from James Bowery :
Comment out the |= line and it prints "{'b':2}" as expected.
$ cat t.py
scoped_dict = {'b':2}
def scoped_def():
print(scoped_dict)
scoped_dict |= {'a',1}
scoped_def()
$ p t.py
Traceback (most recent call last)
James Lawrie added the comment:
Sorry. This was a pebkac error, I was setting nameserver instead of nameservers
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from James Lawrie :
The DNS async resolver allows you to specify a list of nameservers to use, but
they are ignored and the system nameservers are used instead.
Test code below demonstrating the issue:
# cat test.py
import dns.asyncresolver
import asyncio
from pprint import
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue14527>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue45598>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue45350>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue45643>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue45256>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue44525>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue44828>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue45484>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue45668>
___
___
Python-bugs-list mailing list
Unsubscribe:
Zayden Micheal James added the comment:
Oh so the problem will resolve itself when they, support Python 3.10 PIP 21.2.4.
Sorry for the inconvenience. Can't wait for the libraries to be resolved and
optimized
--
___
Python tracker
&
Zayden Micheal James added the comment:
I am using Python 3.10 and PIP 21.2.4. All installations worked fine with
Python 3.9.
I tried combinations such as:
["pip", "pip3", "python3 -m pip", "python -m pip3", "python -m pip","python3
Zayden Micheal James added the comment:
This issue is still persisting with other libraries aswell such as matplotlib
and the above mentioned.
--
nosy: -eric.smith
resolution: third party ->
status: closed -> open
type: compile error ->
New submission from Zayden Micheal James :
When I try to install numpy using python version 3.10, pip version 21.2.4
it gives me a PEP517 error, with a bunch of other exceptions.
When I try to install tensorflow using python version 3.10, pip version 21.2.4
it gives me an error saying that
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue45433>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue44751>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from James Wilcox :
This program behaves differently when run under the profiler (either profile or
cProfile) versus when run normally.
```
from __future__ import annotations # ***
import dataclasses
@dataclasses.dataclass
class C:
x: dataclasses.InitVar[int]
def
James Gerity added the comment:
The cause of DeprecationWarning sometimes [1] not being issued is I believe
because in string_parser.c [2] the module is explicitly set to NULL and the
filename will be '' or '' or somesuch, which eventually that
ends up being normaliz
James Saryerwinnie added the comment:
> What's the actual scenario that this broke?
I only noticed this because a project that I work on
(https://github.com/aws/chalice/) started failing CI for seemingly unrelated
changes. A specific test run is here:
https://github.com/jamesls
New submission from James Saryerwinnie :
There was a change in behavior in Python 3.8.10 when using relative paths in
sys.path. It appears that the paths are now converted to absolute paths that
are cached and can cause import errors in some cases.
Repro:
$ cat repro.sh
#!/bin/bash
python
New submission from James Murphy :
Currently, the bisect module's functions all assume the user is maintaining a
sorted list/sequence in increasing order. From the docs:
"This module provides support for maintaining a list in sorted order without
having to sort the list after each
James Russell added the comment:
I have been reviewing the Install process as we need to start installing /
patching Python and I have seen the same issue as mentioned below however the
difference for me is I am running the install on a Silent command line.
I cannot seem to override
James Oldfield added the comment:
There's some confusion here over what autocommit=True would do. I believe the
last three comments give three different interpretations! Géry said
conn.autocommit would change to False when I start a transaction with
execute("BEGIN"), Mike s
James Oldfield added the comment:
> Yes if you are talking about SQLite, the database ENGINE
I sure was! In this comment I will stick to saying either "SQLite engine" or
"sqlite3 driver" as appropriate, hopefully that will be clearer.
> But here I am talking
James Oldfield added the comment:
If this ever gets implemented, "autocommit" would be a terrible name for it.
That word has a very specific meaning in SQLite, which is essentially the same
as "not in a transaction started with BEGIN ...". At the moment, if you want to
New submission from James B Wilkinson :
> On Dec 21, 2020, at 11:11 PM, Raymond Hettinger
> wrote:
>
>
> Change by Raymond Hettinger :
>
>
> --
> stage: -> resolved
> status: open -> closed
I see that this has been marked “resolved” and closed
Change by James B Wilkinson :
--
nosy: the.doc
priority: normal
severity: normal
status: open
title: I
___
Python tracker
<https://bugs.python.org/issue42
Change by James Guillochon :
--
components: +macOS
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue42504>
___
___
Python-bug
James Guillochon added the comment:
Closing in favor of https://bugs.python.org/issue42504 which has more details
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
New submission from James Guillochon :
See the discussion here
https://github.com/Homebrew/homebrew-core/pull/65866#issuecomment-735366297,
but this is currently a blocker for compilation via home-brew on Apple Silicon.
Current workaround is to set the deployment target to "11.0&quo
Change by James Gerity :
--
keywords: +patch
nosy: +SnoopJeDi2
nosy_count: 2.0 -> 3.0
pull_requests: +22414
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23532
___
Python tracker
<https://bugs.python.org/i
New submission from James Gerity :
Now that CPython uses the new PEG parser, it would be helpful to include a
reference to the guiding PEP (617) on the docs page
(https://docs.python.org/3/reference/grammar.html) that gives the grammar.
--
assignee: docs@python
components
James Addison added the comment:
Thanks Senthil; please take your time. This isn't urgent, and would likely
benefit from further standardization of the URL query string and/or
form-encoded data formats (outside the Python project) to achieve consensus.
A fully-considered answer at a
James Addison added the comment:
No problem, and thanks for the heads-up Tal! I'll raise this as a topic on
python-dev if it still seems worth pursuing, after collecting some more
thoughts about it.
--
___
Python tracker
&
James Barrett added the comment:
https://github.com/python/cpython/pull/21852
--
___
Python tracker
<https://bugs.python.org/issue40782>
___
___
Python-bug
Change by James Barrett :
--
keywords: +patch
pull_requests: +20979
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21852
___
Python tracker
<https://bugs.python.org/issu
James Franks added the comment:
Hope this helps:
I'm running Python Shell 3.8.5 on MacOSx 10.15.6 (Catalina). I can reproduce
this hang easily.
Open any existing module or create a new one. Can save the existing module or
a new one just fine under the same name. (File menu - Save)
James Gray added the comment:
Bonjour, je vois que nous ne sommes pas les seuls dans ce cas, nous avons
besoin que les robots indexent nos pages html mais qu'elles n'indexent pas
celles en /*.php$ ainsi que les ressources PC en PDF. Nous avons tenté en vain
plusieurs solutions en p
James Corbett added the comment:
I would love to get this issue resolved; it seems like everyone agrees that
it's a bug. It came up for me recently: https://bugs.python.org/issue41047.
Judging from the comments above, the consensus is that the relevant line,
`self._check_value(action,
James Corbett added the comment:
I think this would have been a better fit for a StackOverflow issue:
https://stackoverflow.com/questions/tagged/python. Also, it's not a compilation
error and it doesn't have anything to do with CPython's testing framework.
Anyway, I don
Change by James Corbett :
--
keywords: +patch
pull_requests: +20816
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21673
___
Python tracker
<https://bugs.python.org/issu
New submission from James Corbett :
As described in
https://stackoverflow.com/questions/25847035/what-are-signature-and-text-signature-used-for-in-python-3-4,
https://bugs.python.org/issue20586, and
https://stackoverflow.com/questions/50537407/add-a-signature-with-annotations-to-extension
James Corbett added the comment:
I was careless in my example, it would need to be `cls.skipTest(reason)`.
However, that really doesn't have anything to do with why it should be a
`classmethod` instead of an instance method: it's so that you can call
`skipTest` from `classmethod
New submission from James Thistlewood :
I stumbled across this by trying to implement a call to the latter, while
reading the docs for the former.
I think this is quite confusing and unnecessary that the APIs between these two
definitions should differ. The same goes for
New submission from James Foster :
https://docs.python.org/3.8/library/ast.html shows seven elements:
arguments = (arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs,
expr* kw_defaults, arg? kwarg, expr* defaults)
https://docs.python.org/3.7/library/ast.html shows
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue38863>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue24764>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue21705>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue1047397>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue39727>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue10879>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue9968>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue41140>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue41139>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue2>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from James McCorkindale :
The Scripts folder is empty and I'm not sure what's wrong. I'm trying to
install modules and looked it up on the internet and I think I need this folder
not to be empty. How should i fix this?
Thanks, James
--
components: W
James Barrett added the comment:
Is there any further movement on this?
--
___
Python tracker
<https://bugs.python.org/issue40782>
___
___
Python-bugs-list m
Change by James Corbett :
--
keywords: +patch
pull_requests: +20172
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/20997
___
Python tracker
<https://bugs.python.org/issu
New submission from James Corbett :
The `argparse.ArgumentParser` sometimes rejects positional arguments with no
arguments when `choices` is set and `nargs="*"`.
When there are no arguments and `nargs` is `"*"`, the default value is chosen,
or `[]` if there is no defau
Change by James Corbett :
--
keywords: +patch
pull_requests: +20171
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/20996
___
Python tracker
<https://bugs.python.org/issu
New submission from James Corbett :
The `unittest.TestCase.skipTest` method, used to skip the current test, is
currently an instance method. There's nothing to stop it from being a
`classmethod` or a `staticmethod` though---it doesn't use its reference to
`self` since it's
New submission from James Barrett :
As discussed in <
https://github.com/python/typeshed/issues/3999#issuecomment-634097968 > the
type of `AbstractEventLoop.run_in_executor` is defined at <
https://github.com/python/cpython/blob/master/Lib/asyncio/events.py#L286 > as
follows:
`
James Addison added the comment:
NB: There appears to be some relevant discussion in
https://github.com/whatwg/url/issues/469
--
___
Python tracker
<https://bugs.python.org/issue18
James Addison added the comment:
The pair of pull requests below implement None-preserving urlencode and
parse_qs* via a default-disabled flag 'standalone_keys'.
- https://bugs.python.org/pull_request19259
- https://bugs.python.org/pull_request19264
(they're also already l
Change by James Addison :
--
pull_requests: +19264
pull_request: https://github.com/python/cpython/pull/19949
___
Python tracker
<https://bugs.python.org/issue18
Change by James Addison :
--
pull_requests: +19259
pull_request: https://github.com/python/cpython/pull/19945
___
Python tracker
<https://bugs.python.org/issue18
James Addison added the comment:
Chiming in here to add that I'd appreciate the ability to render 'standalone'
(i.e. no '=') query-string keys in order to distinguish between
absence-of-value and empty-string situations.
The backwards-compatibility concerns in her
New submission from Jerry James :
Python 3.8:
>>> import random
>>> r = random.Random(False)
>>> r
Python 3.9 alpha 4:
>>> import random
>>> r = random.Random(False)
Traceback (most recent call last):
File "", line 1, in
File
James Edington added the comment:
Here is a file to try it out in an instant.
(lines 11–28 are not necessary; they are just "luxuries" allowing easier
testing of the issue in a web browser)
--
Added file: https://bugs.python.org/file489
New submission from James Edington :
It appears that cgi.parse() in Python 3.7.6 [GCC 9.2.1 20190827 (Red Hat
9.2.1-1)] fatally chokes on POST requests with multipart/form-data due to some
internal processing still relying on assumptions from when str and bytes were
the same object.
I
New submission from James :
Creating a Bitfield from a ctypes union and structure results in unexpected
behaviour. It seems when you set the bit-width of a structure field to be
greater than 8 bits it results in the subsequent bits being set to zero.
class BitFieldStruct
James Brown added the comment:
This is a surprising change to put in a minor release. This change totally
changes the semantics of parsing scheme-less URLs with ports in them and ended
up breaking a significant amount of my software. It turns out that urls like
`example.com:80` are more
Change by Clinton James :
--
keywords: +patch
pull_requests: +17204
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17768
___
Python tracker
<https://bugs.python.org/issu
New submission from Clinton James :
Currently, sqlite3 returns rows by tuple or sqlite3.Row for dict-style, index
access. I constantly find myself wanting attribute access like namedtuple for
rows. I find attribute access cleaner
without the brackets and quoting field names. However
James Hennessy added the comment:
The quickest fix for the data corruption problem is to delete the line
newfile.seek(file.tell(), 0)
from the rollover() method.
This doesn't fix the inconsistency of tell() and seek(), but it's very low
risk. It's technically a change t
James Hennessy added the comment:
I don't like the idea of using a TemporaryFile right from the beginning in text
mode. You might as well remove text mode support altogether if that's the
approach you want to take, since it undoes any potential performance benefit
James Hennessy added the comment:
I have to disagree with the idea that SpooledTemporaryFile is not useful.
Although on some systems, the file system may appear as fast as memory, that
cannot be assumed to be universally true. I think the idea behind
SpooledTemporaryFile is completely
James Gerity added the comment:
Cheers for the additional context. My recommendation would be to change the
language to avoid confusion with the consortium's formal specifications.
Describing what SRE does should be fine:
> Matches any alphanumeric Unicode character, as well as
1 - 100 of 579 matches
Mail list logo