Doug Bates added the comment:
'cc' Terry to say thank you.
Just fyi I regressed my Chromebook to Debian/Buster form Bullseye, as IDLE
and Thonny had previously worked seamlessly but now it doesn't work on
Bullseye either -> so Google must have broken something along
Doug Bates added the comment:
Thank you Terry for your interest/helpfulness. I'm a bit out of my depth
but to explain, I first noticed the problem attempting to run Thonny as an
development tool for Raspberry Pi RP2040 Picos.
Previously it all worked great running on Buster. When
New submission from Doug Bates :
Having installed IDLE on Chromebbok/Linux Bullseye, on startup the UI crashes
as soon as a menu item is selected. Also when trying to use Thonny. Other
packages seem OK.
Used to work fine under Buster, but not since fresh install to Bullseye.
Apologies from
New submission from Doug Hoskisson :
I'm running into an issue with the syntax of
https://www.python.org/dev/peps/pep-0589/
```
class C(TypedDict):
to: int
from: int
SyntaxError: invalid syntax
```
I'm not sure any change needs to be made to the specificatio
Change by Doug Richardson :
--
nosy: -drichardson
___
Python tracker
<https://bugs.python.org/issue37945>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Harris added the comment:
+1 on this documentation change.
@xtreak yes, patching the correct object has bit me a couple times.
The pattern that I work with the most is when mocking calls to external
services and APIs. I want to test my code that, say, sends email or sends user
Doug Day added the comment:
To clarify: either python version generates the same path. On 3.8.2 though an
open error results
--
___
Python tracker
<https://bugs.python.org/issue42
New submission from Doug Day :
The following code generates a path that works in Pythons 3.7.6 on macOS Big
Sur but not in Catalina with 3.8.2..
mySrcFldr="~/Library/Mobile Documents/com~apple~CloudDocs/Utilities/"
srcFldr=os.path.expanduser(mySrcFldr)
f=os.path.join(srcFldr,&q
Change by Doug Richardson :
--
nosy: +drichardson
___
Python tracker
<https://bugs.python.org/issue37945>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<https://bugs.python.org/issue37857>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Addy added the comment:
And a patch:
After the end of a message entry the options for the next line are:
1. A comment - we already reset msgctxt to None here
2. A blank line - we can have empty lines anywhere we want, so do nothing
3. A new msgctxt line - Set msgctxt to the new context
4
Doug Addy added the comment:
Test po file included
--
Added file: https://bugs.python.org/file49205/test.po
___
Python tracker
<https://bugs.python.org/issue40
New submission from Doug Addy :
Running msgfmt.py with the attached po file will produce an incorrect context
for the entry "test".
Looking at the script, we require a comment to follow a contexted section for
the context to be cleared. The gettext documentation makes clea
New submission from Doug O'Riordan :
Ran into Segfaults while trying to use pysnmp with 3.8.0rc1.
The code is running fine on 3.8.0b04.
$ python3.8
Python 3.8.0rc1 (default, Oct 2 2019, 14:15:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux
Type "help", "copyright&quo
Change by Doug :
--
nosy: +beck
___
Python tracker
<https://bugs.python.org/issue12458>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<https://bugs.python.org/issue32998>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Freed added the comment:
It already checks for gethostbyname_r, but the comments in socketmodule.c
mention that configure seems to get it wrong. Those comments are probably old,
though, so perhaps that can be revisited as well.
--
___
Python
New submission from Doug Freed:
On at least Linux (and probably most other UNIXes, except OS X), the C
functions getservbyname(), getservbyport(), and getprotobyname() are not
threadsafe. CPython's wrappers around these functions in the socket module do
nothing to cover up this fact. S
Doug Hellmann added the comment:
@Antoine - The idea behind introducing some API mechanism is exactly as you
say, to let the developer say "this use of this algorithm is not related to
security" to tell FIPS systems to not b
Doug Hellmann added the comment:
@Robert, I thought you were proposing a hashlib.fips module that did not
include md5() at all. If it does include the function, and the function does
whatever is needed to disable the "die when using MD5" on a FIPS system, then I
agree it would wo
Doug Hellmann added the comment:
@rbcollins, I don't think providing a hashlib.fips module without md5() solves
the problem. The idea is to have a way to call md5() in non-secure situations,
and to signal to the FIPS system that the call is OK. A separate module would
work if it includ
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue9216>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Coleman added the comment:
Six years later and I'm still running into this exact bug with
``subprocess.CalledProcessError`` on python 2.7.12 when doing a
``multiprocessing.Pool.map`` and trying to catch errors from
``subprocess.check_output``.
What's the reason it was never
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue22233>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Hoskisson added the comment:
My suggestion was not to delete the "approximate" entirely. Just move it out of
the first sentence to make it more consistent with the other documentation.
This is the model I'm seeing in empty() and full():
The first sentence is something si
Doug Hoskisson added the comment:
If the specification of the empty method is to return whether the queue is
empty, then the programmers have failed to meet that specification, because by
the time you get that return value, it might not be empty anymore
Doug Hoskisson added the comment:
It is inconsistent with other documentation right next to it.
Should the documentation for empty() say "Return True if the queue is
approximately empty, False otherwise."?
Should the documentation for full() say "Return True if the queue is
app
Doug Hoskisson added the comment:
More explicit is ok, if that's what people want, but just not in the first
sentence, because that stuff has nothing to do with what is being documented
specifically (as evidenced by referencing a wikipedia article that doesn't even
mention python)
Doug Hoskisson added the comment:
My suggestion for this documentation:
"""
Return the number of items in the queue. Note, in multi-threading this mostly
just serves as an approximation, and information from this doesn’t guarantee
that a subsequent get() or put()
Doug Hoskisson added the comment:
One thing that is important to recognize in considering this, is which
information is specific to what is being documented, and which information is
more general.
Some people may think that documentation should only give information specific
to what is being
Doug Hoskisson added the comment:
The way that this whole page of documentation is written does not suggest that
this class is ONLY for use in a multi-threaded setting.
This class can be used without multi-threading, right?
Wouldn't it be useful to know whether this function does giv
Doug Hoskisson added the comment:
Some strategies for approximating might report a size the the queue has never
been and never will be. For example, a strategy could gather data and find the
size is increasing at some rate, and approximate based on that rate, but then
the rate of increase
New submission from Doug Hoskisson:
The documentation for Queue.qsize():
"Return the approximate size of the queue."
"approximate" is unclear. It might suggest some strategy used for
approximating, or it might be the exact size at an arbitrary time.
It shoul
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue24955>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue24452>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Hellmann added the comment:
@Nick - Being able to get to the source is ok, but if I can get the actual type
I can always get the source from that. I don't need the actual type object
except to know what it is, and it seems more flexible to return the class
object than a name or
Doug Hellmann added the comment:
The specific case I have right now is with a large code base written by someone
else who is seeing a TypeError when they call super(their-local-class,
self).__init__() because whatever class super() is returning is expecting
arguments to __init__(). The
New submission from Doug Hellmann:
Under python 2.7 using the "run" command within pdb and passing it arguments
causes those arguments to be printed out. Under 3.5, this is no longer true.
$ python2.7 -m pdb pdb_run.py
> /Users/dhellmann/Dropbox/PyMOTW/Python3/pymotw-3/source/p
Doug Hellmann added the comment:
I should also mention that I haven't tested early versions of 3.x to see where
exactly the regression was introduced.
--
___
Python tracker
<http://bugs.python.org/is
Doug Rohm added the comment:
I realize this hasn't been commented on for a long time, but I'm noticing the
same issue trying to do a silent install with the 3.4.3 x64 windows installer.
The 3.4.2 x64 windows installer worked perfectly fine, but I can't seem to get
the registry
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue23574>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Gorley added the comment:
I expected the second call to strpdate() to throw an exception, because %Y
consumed '2014', %m consumed '11', and %d consumed '10', leaving nothing for %H
and %M to match. That would be
New submission from Doug Gorley:
strptime() is returning the wrong date if I try to parse today's date
(2014-11-10) as a string with no separators, and if I ask strpdate() to look
for nonexistent hour and minute fields.
>>> datetime.datetime.strptime('20141110', '
Doug Royal added the comment:
This patch only addresses the proven errors with UserList, UserString, and
collections.
--
keywords: +patch
nosy: +doug.royal
Added file: http://bugs.python.org/file37145/fix_issue18473.patch
___
Python tracker
<h
Doug Zongker added the comment:
So, what happens now? What do I need to do to make progress on this?
--
___
Python tracker
<http://bugs.python.org/issue22
New submission from Doug Zongker:
Condition.wait() modifies self._waiters without holding the lock (when a wait
with timeout times out without the condition being notified).
If this happens to occur in between construction of the _islice and _deque
objects in Condition.notify():
def
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue19570>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue11638>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Doug Hellmann:
Under python 2 when an atexit callback raised an exception the full traceback
was displayed. Under python 3, only the summary of the exception is shown.
Input file:
import atexit
def exit_with_exception(message):
raise RuntimeError(message
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue1680961>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue1257>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue17998>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Hellmann added the comment:
LGTM
--
___
Python tracker
<http://bugs.python.org/issue18191>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue18191>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Hellmann added the comment:
+1 on adding this
I found today via @dabeaz's cookbook that iter() has a sentinel-detection use
case. Having one in min/max seems *far* more obviously useful. It's also
consistent with quite a few methods on builtin types where we provide a way to
Doug Ransom added the comment:
The problem described was in respect to the python installed by the installer
from python.org, not the python that ships with mac. Using OSX 10.8.1.
Installing python from python.org binary installer does not fix the problem. I
ran the installer before
New submission from Doug Ransom:
A number of .py files are not installed in the mac installer. While python
programs run OK, this thwarts users from using IDEs like Aptana Studio/PyDev.
For those of us who are python dabblers, this makes it nearly impossible to
write/debug python code
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue13817>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue12841>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue11879>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Hellmann added the comment:
Is unicode supported by shlex in 3.x already? It's curious that unicode support
is considered a new feature, rather than a bug. I understand wanting to
allocate development resources carefully, though. If someone were to prepare a
patch, would it even h
Doug Hellmann added the comment:
Right. Any program that needs to parse command lines containing filenames or
other arguments with unicode characters will encounter this problem.
--
___
Python tracker
<http://bugs.python.org/issue1
Changes by Doug Latornell :
--
keywords: +patch
Added file: http://bugs.python.org/file21326/collections.abc-docs.patch
___
Python tracker
<http://bugs.python.org/issue11
New submission from Doug Latornell :
There is a minor type in note (1) regarding use of Set and MutableSet mixins.
The method to be overridden when a special constructor signature is required
should be _from_iterator, not from_iterator
Changes by Doug Latornell :
--
assignee: docs@python
components: Documentation
nosy: dlatornell, docs@python
priority: normal
severity: normal
status: open
title: Typo in collections.abc docs
___
Python tracker
<http://bugs.python.org/issue11
Changes by Doug Hellmann :
--
nosy: +doughellmann
___
Python tracker
<http://bugs.python.org/issue1170>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Hellmann added the comment:
I just ran into this problem with pstats under Python 2.7. The ticket is
marked as "fixed", but it looks like the change was only checked in under the
py3k branch.
What's the policy on fixing stuff like this for 2.7 patch releases
Doug Shea added the comment:
It's actually not quite a solution, either. Working your changes into the build
process, I *do* get a math module... but it does *not* have a round function.
> python
Python 2.7 (r27, Nov 23 2010, 11:54:39)
[GCC 3.3.2] on sunos5
Type "help", &qu
Doug Shea added the comment:
I don't think there's anything wrong with the setup we've been looking at so
far, per se. The libpython2.7.a file produced has the 'round' function like it
should:
> nm libpython2.7.a | grep round
[116] | 1360|
Doug Shea added the comment:
> ./python
Python 2.7 (r27:82500, Nov 22 2010, 10:06:14)
[GCC 3.3.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.float_repr_style
short
S
Doug Shea added the comment:
Certainly!
--
Added file: http://bugs.python.org/file19773/pyconfig.h
___
Python tracker
<http://bugs.python.org/issue9742>
___
___
Doug Shea added the comment:
I unpacked a fresh tarball, made this change, then did a ./configure and make
as normal. Exact same error as originally reported. :(
--
___
Python tracker
<http://bugs.python.org/issue9
Doug Shea added the comment:
I have some knowledge of these things, so I'll try to find out what's going on,
but I could also upload output and/or debug files here for you to examine, if
that helps. If you give me the files you'd like to see from my build, or the
commands
Doug Hellmann added the comment:
Oh, yeah, a test is a good idea.
--
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Python-bugs-list mailin
Doug Hellmann added the comment:
Hi, Tarsis,
That patch looks good to me.
Thanks!
Doug
--
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Pytho
Doug Shea added the comment:
Is there perhaps a work-around we could use to get this to compile and have a
math module? Force it to export that 'round' symbol in the core, perhaps?
--
nosy: +Doug.Shea
___
Python tracker
<http://bu
Changes by Doug Hellmann :
--
nosy: +tarek
___
Python tracker
<http://bugs.python.org/issue10263>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Hellmann added the comment:
Adding a print to the site.py in Distribute's egg shows it is being run when I
use 'python -m site'. However, when I run 'python -c "import site; print
site.__file__"' I get the version from the stdlib, as expected.
I gue
Doug Hellmann added the comment:
That's strange. I have Distribute 0.6.10, including an easy-install.pth file,
installed under 2.6 and it doesn't exhibit the problem. Is there some
interaction between a change in Python 2.7 and
Doug Hellmann added the comment:
Ah, I assumed that since the revision number was older there might be a newer
build available now.
--
___
Python tracker
<http://bugs.python.org/issue10
Doug Hellmann added the comment:
Actually I'm trying to update the PyMOTW article about site, and I discovered
that the output from the old examples that showed using --user-base and
--user-site were no longer producing any output. It looks like the build of
2.7 I downloaded is fairl
Doug Hellmann added the comment:
I downloaded an OS X installer from python.org, but I don't remember the date I
did that.
Here's the output when I start the interpreter:
$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
$ python
Python 2.7 (r27:82508, J
New submission from Doug Hellmann :
Running "python -m site" is supposed to print a report about the current import
path and its components (like USER_BASE and USER_SITE).
This works under 2.6 and 3.1, but not 2.7. No output is produced under 2.7 at
all.
When I add a print st
Doug Hellmann added the comment:
Thanks, Gerhard!
--
status: pending -> open
___
Python tracker
<http://bugs.python.org/issue10020>
___
___
Python-bugs-lis
Changes by Doug Hellmann :
--
assignee: -> d...@python
components: +Documentation
nosy: +d...@python
___
Python tracker
<http://bugs.python.org/issu
New submission from Doug Hellmann :
The documentation for the sqlite3 module describes enable_load_extension() and
load_extension() methods of the Connection object, but those functions are only
available if the user has compiled from source *after* modifying the setup.py
to turn off
Changes by Doug Hellmann :
--
keywords: +easy
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Doug Hellmann :
Added file: http://bugs.python.org/file18381/argparse_int_error.py
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Python-bug
New submission from Doug Hellmann :
Most of the argparse type converters handle exceptions with a single line error
message explaining the problem. For example, if an argument -i is declared as
an int, but the value given ('a') cannot be converted to an int, the message is
some
Doug Hellmann added the comment:
Thanks, everyone!
--
___
Python tracker
<http://bugs.python.org/issue9444>
___
___
Python-bugs-list mailing list
Unsubscribe:
Doug Hellmann added the comment:
Yes, that doc change is clear. Thanks!
--
nosy: +ted.turocy
___
Python tracker
<http://bugs.python.org/issue9444>
___
___
Pytho
Doug Hellmann added the comment:
Sorry I'm not being clear: I do like the patch, I think the exception should
not be raised.
--
___
Python tracker
<http://bugs.python.org/i
Doug Hellmann added the comment:
Explicitly specifying aliases makes sense, it just wasn't clear that was the
intent from the existing documentation. So, I don't think the behavior needs
to change, but a doc update might help.
--
Doug Hellmann added the comment:
I was actually surprised that prefix_chars didn't allow *any* of those
characters to indicate an option. For example, a program on Unix might use
options that start with '-', but also support '/' as a prefix under Windows.
If tha
Doug Hellmann added the comment:
Oh, I should point out that last comment is describing what I see when using
the unpatched 2.7 version of the module.
--
___
Python tracker
<http://bugs.python.org/issue9
Doug Hellmann added the comment:
I haven't read the existing tests, but I am not seeing the behavior described
by Ted in msg112258. If I specify the prefix_chars as '+/' and define a long
option '//myopt' then using ++myopt on the command line gives an error that th
Doug Hellmann added the comment:
One solution would be to use the first character of prefix_chars when building
those default options.
--
___
Python tracker
<http://bugs.python.org/issue9
New submission from Doug Hellmann :
If an ArgumentParser is created with a prefix_chars string that does not
include '-', the default options created for showing help (-h and --help) and
the version (-v and --version) are invalid and generate an exception.
--
components: Li
Doug Hellmann added the comment:
Committed to py3k as r83016, release31-maint as r83017, and release27-maint as
r83018.
Thanks for your help, everyone.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.p
Doug Hellmann added the comment:
Ray, thanks for the patches. Antoine, I appreciate the review. I'll try to
get these checked in to svn in the next day or two.
I see that this ticket is tagged as related to versions 2.7, 3.1, and 3.2.
Should the changes be applied to any branches
1 - 100 of 112 matches
Mail list logo