Changes by James Athey <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file11622/zeroes.zip
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from James Mills <[EMAIL PROTECTED]>:
Trying to use pydoc in it's webserver mode fails:
$ pydoc3.0 -p 8000
pydoc server ready at http://localhost:8000/
Exception happened during processing of request from ('127.0.0.1
James Athey <[EMAIL PROTECTED]> added the comment:
Why not include this in 2.6.1 or 3.0.1? The patch fixes several bugs;
it does not provide any new functionality.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from James Sparenberg :
Python produces rounding errors when adding decimals.
ython 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Changes by James Cooper :
--
nosy: +jamescooper
___
Python tracker
<http://bugs.python.org/issue1856>
___
___
Python-bugs-list mailing list
Unsubscribe:
James Antill added the comment:
I've applied the last patch I posted to recent RHEL and Fedora
releases, and it doesn't seem to break anything ... and from what I
could see it fixed the problem.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.p
James Henstridge added the comment:
>From RFC 2487 section 5.2: "The client MUST discard any knowledge
obtained from the server, such as the list of SMTP service extensions,
which was not obtained from the TLS negotiation itself. The client
SHOULD send an EHLO command as the first comma
James Cooper added the comment:
Though these exceptions while shutting down are mostly harmless, they
are very noisy and must be squelched in a production application. Here
is the patch which we at Solido Design (www.solidodesign.com) are using
to hide the exceptions. Note that this doesn
New submission from James Henstridge <[EMAIL PROTECTED]>:
When I want to use valgrind to check for leaks in a Python program (or
test suite), I generally want pymalloc disabled. When not running
valgrind I generally want it enabled.
Attached is a patch that automatically bypasses the py
James Henstridge <[EMAIL PROTECTED]> added the comment:
A slightly cleaned up version of the previous patch. I only needed to
include .
Added file:
http://bugs.python.org/file9780/disable-pymalloc-on-valgrind-v2.patch
__
Tracker <[EMAIL PROTECTE
Changes by James Henstridge <[EMAIL PROTECTED]>:
Added file:
http://bugs.python.org/file9781/disable-pymalloc-on-valgrind-v3.patch
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by James Henstridge <[EMAIL PROTECTED]>:
Removed file:
http://bugs.python.org/file9780/disable-pymalloc-on-valgrind-v2.patch
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
James Henstridge <[EMAIL PROTECTED]> added the comment:
Here's the updated version of my patch (the obmalloc.c bits applied
without conflicts to the newer source tree).
The configure changes are a bit different to Lauro's ones, in that they
check for the existence of the he
James Henstridge <[EMAIL PROTECTED]> added the comment:
An updated version of the patch. The previous ones were missing the
valgrind check, resulting in the pymalloc code paths being executed
(which in turn cause unintialised read warnings from valgrind).
Added file:
http://bugs.pyth
James Henstridge <[EMAIL PROTECTED]> added the comment:
There are probably a few other performance optimisations that would be
good to turn off when running under valgrind.
A big one is the tuple cache: if there are tuple reference counting
issues, they won't necessarily be seen by
James Henstridge <[EMAIL PROTECTED]> added the comment:
Is repeating a test with the same TestCase instance ever safe? It'd be
better to create a new instance and run that.
If any of the variables in test.globs are changed by the test (e.g.
appending to a list), then rerunning th
James Henstridge <[EMAIL PROTECTED]> added the comment:
If I create a test case with a command like:
test = DocFileSuite('foo.txt', globs={'somelist': [42]})
The doctest isn't doing anything wrong if it modifies somelist.
Furthermore, Glyph has said he thi
New submission from James Nadir <[EMAIL PROTECTED]>:
Python fails to correctly add 'lists' into a 'dictionary' in nested
loop. The attached py file has two examples; the first is the failing
example, the seond is the passing example.
This might be a known issu
Changes by James Athey <[EMAIL PROTECTED]>:
--
title: ZipFileExt.read() can be incredibly slow -> ZipFileExt.read() can be
incredibly slow; patch included
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.py
Changes by James Brotchie :
--
nosy: +brotchie
___
Python tracker
<http://bugs.python.org/issue4769>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by James Brotchie :
--
nosy: +brotchie
___
Python tracker
<http://bugs.python.org/issue4768>
___
___
Python-bugs-list mailing list
Unsubscribe:
James Cooper added the comment:
Our company recently rediscovered this bug in 2.5.2. After a couple
hours of debugging, we realized the error message was incorrect and
found the bug in the destinsrc function.
This may not be a show-stopping bug, but it's non-obvious, annoying,
unnece
James Henstridge added the comment:
Attached is an updated version of the patch against trunk (2.7). It
simply fixes the conflicts that have occurred since the previous patch.
Added file:
http://bugs.python.org/file12935/disable-pymalloc-on-valgrind-py27.patch
New submission from James Wheare :
As described here: http://james.wheare.org/notes/2009/02/import-site-
failed-use-v-for-traceback.php
The addpackage function will result in a TypeError being raised from
os.path.exists(dir) -> from os.stat(path) if the contents of an
inspected .pth f
James Wheare added the comment:
To clarify, the exception doesn't interrupt the interpreter, but the
only indication of a problem is the following message:
'import site' failed; use -v for traceback
And you're then unable to import modules from site-packages.
Also, her
New submission from James Abel :
In activate.bat, the else needs to be on the same line as the if
--
components: Windows
messages: 353722
nosy: James Abel, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: activate.bat else needs to be
Change by James Abel :
--
keywords: +patch
pull_requests: +16122
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16533
___
Python tracker
<https://bugs.python.org/issu
New submission from James Allsopp :
Hi,
I like to build my Url's using url unparse, e.g.
site_to_test = urllib.parse.urlunparse((scheme, host, page, '', '', ''))
r = requests.get(site_to_test)
However, we reach a lot of sites through SSH tunnels, as our n
New submission from James Gerity :
The documentation for the `re` library¹ describes the behavior of the specifier
'\w' as matching "Unicode word characters," which is very vague. The closest
thing I can find that corresponds to this language is the guidance offered i
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
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
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
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
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
Change by Sam James :
--
nosy: +thesamesam
___
Python tracker
<https://bugs.python.org/issue44751>
___
___
Python-bugs-list mailing list
Unsubscribe:
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/issue45668>
___
___
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/issue44828>
___
___
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/issue45256>
___
___
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/issue45350>
___
___
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/issue14527>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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 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 Bowery added the comment:
My mistake. Disregard.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
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 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
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
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
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
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 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:
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
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
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
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
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
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 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 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
Change by James Addison :
--
pull_requests: +19259
pull_request: https://github.com/python/cpython/pull/19945
___
Python tracker
<https://bugs.python.org/issue18
Change by James Addison :
--
pull_requests: +19264
pull_request: https://github.com/python/cpython/pull/19949
___
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
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
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
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 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
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
Change by James Guillochon :
--
components: +macOS
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue42504>
___
___
Python-bug
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
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:
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 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
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
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:
`
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
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 `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: +20172
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/20997
___
Python tracker
<https://bugs.python.org/issu
James Barrett added the comment:
Is there any further movement on this?
--
___
Python tracker
<https://bugs.python.org/issue40782>
___
___
Python-bugs-list m
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
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue2>
___
___
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/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/issue1047397>
___
___
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/issue24764>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Rhodri James :
--
nosy: -Rhodri James
___
Python tracker
<https://bugs.python.org/issue38863>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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 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
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
101 - 200 of 579 matches
Mail list logo