Bob Rivoir added the comment:
According to synaptic, I have openssl 1.1.1-1ubuntu2.1~18.04-14 installed. On
the openssl.org site they mention that this version doesn't eol till 2023.
Shouldn't this still work? Or does python require the 3
New submission from Bob Rivoir :
_hashlib and _ssl modules failed to compile on my Ubuntu 18.04 system.
Attached is a file with the error outputs.
--
files: python-3.10.1-build-errors.txt
messages: 409853
nosy: rhr242
priority: normal
severity: normal
status: open
title: Python
Change by Bob Blanchett :
--
nosy: +bobblanchett
___
Python tracker
<https://bugs.python.org/issue42297>
___
___
Python-bugs-list mailing list
Unsubscribe:
Bob Kline added the comment:
And now it's working for me as well. Thanks, @Mariatta.
--
resolution: third party -> fixed
status: open -> closed
___
Python tracker
<https://bugs.python.
Bob Kline added the comment:
I can, if you prefer, close this ticket and create a new one on GitHub (even
though this is the same issue, not a different "further" issue).
--
___
Python tracker
<https://bugs.python.o
Bob Kline added the comment:
To reproduce, enter "bkline" in the GitHub username field and press Check.
--
___
Python tracker
<https://bugs.python.o
Bob Kline added the comment:
Sorry, it's still failing with the same error message.
--
status: closed -> open
___
Python tracker
<https://bugs.python.org
Bob Kline added the comment:
Super, thanks!
--
___
Python tracker
<https://bugs.python.org/issue43790>
___
___
Python-bugs-list mailing list
Unsubscribe:
Bob Kline added the comment:
Apparently, it doesn't fail when you enter a name for which it can't find a
b.p.o. account. So it knows how to say "beelzebub does not have bpo account"
but fails when I put in "bkline" in the GitHub username field. It's temp
Bob Kline added the comment:
I have reported the failure of the CLA check tool.
https://bugs.python.org/issue43790
--
___
Python tracker
<https://bugs.python.org/issue43
New submission from Bob Kline :
The tool to check whether the CLA has been received fails with a 500 error.
Steps to reproduce:
1. Add your GitHub name to your b.p.o. record.
2. Navigate to https://check-python-cla.herokuapp.com/
3. Enter your GitHub name and press the "Check" butt
Bob Kline added the comment:
Thanks for the clarification. I submitted a PR, but I'm unable to remove the
"CLA not signed" tag from it (even though I have signed the CLA) and form at
https://check-python-cla.herokuapp.com/ ("You can check yourself to see if the
C
Bob Kline added the comment:
PR submitted: https://github.com/python/cpython/pull/25287
--
___
Python tracker
<https://bugs.python.org/issue43777>
___
___
Pytho
New submission from Bob Kline :
The official tutorial instructs users to find third-party packages by using the
"pip search" command, which no longer works (and will be deprecated -- and
presumably subsequently removed -- according to the error message). See
https://docs.pytho
Change by Bob :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue43183>
___
___
Python-bugs-list mailing list
Change by Bob :
--
assignee: -> christian.heimes
components: +SSL
nosy: +christian.heimes
versions: +Python 3.10, Python 3.7, Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Change by Bob :
Added file: https://bugs.python.org/file49799/server.py
___
Python tracker
<https://bugs.python.org/issue43183>
___
___
Python-bugs-list mailin
New submission from Bob :
I wrote a simple proxy with Python3.8 and Asyncio, but I found it couldn't
handle passive close correctly, a lot of CLOSE_WAIT sockets couldn't be
released. I had trouble shot it for a long time with no progress.
netstat -anop tcp | grep CLOSE_WAIT
tc
Change by Bob :
--
components: asyncio
nosy: Bob_2021, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Asyncio can't close sockets properly on Linux cause CLOSE_WAIT
type: behavior
versions: Python 3.8
___
Python tr
Bob Kline added the comment:
Here is the generated documentation. Note that no mention is made of the inner
class's method.
--
Added file: https://bugs.python.org/file49429/Screen Shot 2020-08-25 at
11.26.39 AM.png
___
Python tracker
&
New submission from Bob Kline :
Although the documentation for the pydoc says that it produces documentation of
the classes recursively, this isn't actually true.
--
components: Library (Lib)
files: repro.py
messages: 375891
nosy: bkline
priority: normal
severity: normal
status:
Change by Bob Fang :
--
versions: +Python 3.6, Python 3.7, Python 3.9
___
Python tracker
<https://bugs.python.org/issue41577>
___
___
Python-bugs-list mailin
New submission from Bob Fang :
I have this minimal example:
```
from functools import wraps
from concurrent import futures
import random
def decorator(func):
num_process = 4
def impl(*args, **kwargs):
with futures.ProcessPoolExecutor() as executor:
fs
New submission from Bob Kline :
The documentation for tempfile.mkstemp() says "If text is specified, it
indicates whether to open the file in binary mode (the default) or text mode.
On some platforms, this makes no difference." That might have been true for
Python 2.x, but in Pytho
Bob Ippolito added the comment:
I would certainly reconsider it at this point, I think a bona fide ABC
*specific to JSON encoding* would be a good way to do it. simplejson has two
ways to do this, the `for_json` parameter which will use a `for_json()` method
on any object as the JSON
New submission from Bob Alexander :
This program:
import argparse
ap = argparse.ArgumentParser()
ap.add_argument("arg", nargs="*")
ap.parse_args()
Gives usage message:
usage: help_complexity.py [-h] [arg [arg ...]]
It's correct, but unnecessarily complex and chal
New submission from Bob Dowling :
The doc string for str.strip() has a typo: the "d" at the end of "removed" is
missing.
help(str.strip)
Currently:
Return a copy of the string with leading and trailing whitespace remove.
Should be:
Return a copy of the string with
Bob Kline added the comment:
OK, I give up. In parting I will point out that the official Python 2
documentation says "basestring() This abstract type is the superclass for str
and unicode. It cannot be called or instantiated, but it can be used to test
whether an object is an instan
Bob Kline added the comment:
> Unless you have a specific proposal, ...
I _do_ have a specific proposal: replace `basestring` with `(str, bytes)`,
which preserves the behavior of the original code. So,
if isinstance(value, basestring)
becomes
if isinstance(value, (str, by
Bob Kline added the comment:
> Use str instead.
Sure. I understand the advantages of the new approach to strings. Which, by the
way, weren't available when this project began. I don't disagree with anything
you say in the context of writing new code. I was, however, surprised
New submission from Bob Kline :
We are attempting to convert a large Python 2 code base. Following the guidance
of the official documentation
(https://docs.python.org/2/library/functions.html#basestring) we created tests
in many, many places that look like this:
if isinstance(value
Bob Kline added the comment:
In fact, I suppose it's possible that the warning as I worded it is still not
restrictive enough, and that there are subtle dependencies between the fixers
which would make the action of one of them render the code no longer safely
fixable as Python 2 co
Bob Kline added the comment:
Thanks, I understand. However, this highlights something which had slipped
under my radar. You get one shot at running a code set through the tool. You
can't do what I was doing, which was to run the tool in "don't write" mode,
then fix
Bob Kline added the comment:
Ah, this is worse than I first thought. It's not just converting code by adding
extra backslashes to regular expression strings, where at least the regular
expression engine will do what the original code was asking the Python parser
to do (unless user
Bob Kline added the comment:
The original string had u"""...""" and the u had already been removed by hand
in preparation for moving to Python 3.
--
___
Python tracker
<h
New submission from Bob Kline :
-UNWANTED = re.compile("""['".,?!:;()[\]{}<>\u201C\u201D\u00A1\u00BF]+""")
+UNWANTED =
re.compile("""['".,?!:;()[\]{}<>\\u201C\\u201D\\u00A1\\u00BF]+""")
The
bob gailer added the comment:
Thanks for explaining. Indeed range appears in __builtins__. It is a surprise
to type range and get in response. sum otoh gives . The distinction between function, type and class seems muddy.
When I enter "range" in the index box in the windows doc
New submission from bob gailer :
In section 8.3 The for statement there is a reference to range as a built-in
function. That was true in python 2. Now range is a built-in type.
--
assignee: docs@python
components: Documentation
messages: 346745
nosy: bgailer, docs@python
priority
Bob Vegene added the comment:
I decided to check the file in notepad++ and I saw that there actually is an
indentationerror... However, the save button wasn't working I guess. I can't
tell you how many times i hit ctrl+s and clicked save. Wow, so it still
Bob Vegene added the comment:
uhm, the current file is attached now
is there some sort of error and you guys see it differently???
i can't be the only one getting this. I swear i have everything right, and i'll
attach an image if i need too.
--
Added file: https://bugs.
Bob Vegene added the comment:
The error it gives is
unexpected indent (sys32pack.py, line 41)
(im also using IDLE)
FYI.
--
___
Python tracker
<https://bugs.python.org/issue37
Bob Vegene added the comment:
No, I removed that before. I actually did have one, but I removed that and it
still shows.
--
___
Python tracker
<https://bugs.python.org/issue37
New submission from Bob Vegene :
So, I'm making a simple program that will allow me to quickly copy programs to
System32 for use on the command line. When I tried testing this in a file
called test.py in the same directory as sys32move.py, I got a very strange
error. IndentError. I am
Bob Kline added the comment:
I had to add $HOME/usr/lib64 to LD_LIBRARY_PATH to get make to work.
--
nosy: +bkline
___
Python tracker
<https://bugs.python.org/issue34
bob moth added the comment:
Here is a debugged version of mylife, which cloned life2.py to
use a class for turtle-ing. Note the difficulties at the
end of the code -- ontimer(fun, delay) calls for a zero arg
function, so draw() cannot be inside the class. Greatly annoying.
But now we know
bob moth added the comment:
Apparently the draw() function must call itself via ontimer.
That is not in the docs. But 56 variations later...I just copied
Grant Jenks. Apparently he knows what's what.
And done() must be the last line.
If first omitted, only one draw loop executed, b
bob moth added the comment:
Thanks. I appreciate the time and effort.
But I disagree with the characterization of
this problem as 'Resolved'. Turtle is
supposed to be simple enough for children yet
no one can fix simple turtle code and stop
an endless loop?
What is the rus
bob moth added the comment:
OK, thanks. The generated launcher shell command generated
includes '-d -i' flags...
so I tried running without those and voila, life.py terminates
normally. Yay. :-)
2nd, I reviewed the order of commands and I saw that
life2.py and mylife.py (the +1 ve
bob moth added the comment:
hi - i do not use ‘i’...just drag to
launcher...
and sequence of commands is
a good tip but smells like some
kind of bug to me if the commands
follow written rules.
thanks for looking -
>
>
--
___
Python t
bob moth added the comment:
I rewrote the life2.py using a class in order to eliminate global
variable declarations, and some other things, such as bringing
freegames.util#square() instream to be independent of freegames,
carefully accounting for every pixel output, etc.
Works a little
bob moth added the comment:
looking at the screen snapshot 'life.py alt-q once.jpg' -- the
turtle code keeps running even though System.exit has been completed,
and notice the traceback display in the shell caused by the alt-Q.
a second press of alt-Q terminates the shell and the t
Change by bob moth :
Added file: https://bugs.python.org/file47923/life2.py
___
Python tracker
<https://bugs.python.org/issue35211>
___
___
Python-bugs-list mailin
Change by bob moth :
Added file: https://bugs.python.org/file47922/life.py
___
Python tracker
<https://bugs.python.org/issue35211>
___
___
Python-bugs-list mailin
bob moth added the comment:
Here is the source, just simply Turtles...
https://github.com/grantjenks/free-python-games
<https://github.com/grantjenks/free-python-games>
Attached life.py and life2.py
I don't know what cause the problem. I suspect
there is more of a problem than
bob moth added the comment:
send to you?
.
> On Nov 10, 2018, at 14:41, Eric V. Smith wrote:
>
>
> Eric V. Smith added the comment:
>
> Please create a small program that reproduces the problem. You should strip
> out everything that isn't needed. There
New submission from bob moth :
Running life.py from the Free Python Games requires
alt-Q twice, and the GUI keeps running after System.exit.
Running life2.py, (which is my clone, and I will happily
share it if you want a great stress tester that gobbles
100% of a CPU core for as long as you
Bob added the comment:
Hi Josh thanks for answering me and so quick.
So if I understood correctly, by inserting an unexpected and unchecked on
value, it could lead to a potential vulnerability in the program? Or just a
plain failure (which could be a denial of service also)?
Thanks again
New submission from Bob :
~Description of the problem:
I was using ctypes to get a directory file descriptor, and to do so I found
this mailing list (https://lists.gt.net/python/dev/696028) from 2008 where a
user wrote a piece that could do what the asking user and me were looking for.
What
Bob Ippolito added the comment:
That's what the for_json method is in simplejson, it does not have widespread
usage.
You can implement that when encoding:
```
def json_default(obj):
try:
return obj.__json__()
except AttributeError:
raise TypeError("{} can n
Bob Ippolito added the comment:
The trouble with having such a hook is that it would take precedence over any
customization you might want or need to do to satisfy the protocol you're
implementing. Other than the limited set of types that are part of the JSON
specification, th
Bob Ippolito added the comment:
I don't think that this has anything in particular to do with the json module,
at least it certainly shouldn't need any additional functionality from there.
YAML parsing isn't available in the stdlib last I checked, so that is probably
no
Bob Ippolito added the comment:
I suggested that each module would likely implement its own functions tailored
to that project's IO and error handling requirements. The implementation may
differ slightly depending on the protocol. This is consistent with how JSON is
typically dealt
Bob Ippolito added the comment:
I think the best start would be to add a bit of documentation with an example
of how you could work with newline delimited json using the existing module
as-is. On the encoding side you need to ensure that it's a compact
representation without emb
New submission from bob gailer :
Inconsistent tracebacks. Note that the traceback for bug.py does not
reference the
module file and line number.
# bug.py
def f():
f'''
{d e}'''
a=b
import bug
Traceback (most recent call last):
File "",
Bob Kline added the comment:
Confirming that this is still failing with 3.7.0 released.
--
nosy: +bkline
___
Python tracker
<https://bugs.python.org/issue31
Change by Bob Vincent :
--
nosy: +pillarsdotnet
___
Python tracker
<https://bugs.python.org/issue1294959>
___
___
Python-bugs-list mailing list
Unsubscribe:
Bob Hossley added the comment:
Mike,
Thank you.
I moved to Python 3 some time ago. I confirm that Python 3 does not
have the problem. But I can't conveniently verify your workaround for
Python 2.
Regards,
Bob
bhoss...@ieee.org
On 2018-03-27 11:30 AM, Mike Edmunds wrote:
>
> M
New submission from Bob Klahn :
I am unable to install Python 2.7.14 on my Windows 7 PC. Using
python-2.7.14.amd64.msi . The installation hangs at the "Publishing product
information" step.
Subsequent installation attempts result in the message "Python 2.7.14 (64-bit)
setup
Bob Kline added the comment:
> ... jemalloc can reduce memory usage ...
Thanks for the tip. I downloaded the source and successfully built the DLL,
then went looking for a way to get it loaded. Unfortunately, DLL injection,
which is needed to use this allocator in Python, seems to be m
Bob Kline added the comment:
Thanks for your responses to my comments. I'm working as hard as I can to get
my customer's systems migrated into the Python 3 world, and I appreciate the
efforts of the community to provide incentives (such as the resolution for this
failure) for dev
Bob Kline added the comment:
Sorry, I should have used the language of the patch author ("the resolution").
Without the resolution, Python 2.7 eventually runs out of memory and crashes
for some correctly written user code.
--
___
Pyth
Bob Kline added the comment:
Would it be inappropriate for this fix to be applied to 2.7?
--
nosy: +bkline
___
Python tracker
<https://bugs.python.org/issue11
Bob Ippolito added the comment:
Generally speaking, parsing some things as decimal or datetime are schema
dependent. It's unlikely that you would want to parse every string that looks
enough like a decimal as a decimal, or that you would want to pay the cost of
checking every string i
Bob Kline added the comment:
The light finally comes on. I actually *was* putting a backslash into the
string value, with the raw flag (which is, of course, what you were trying to
tell me). Thanks for your patience. :-)
--
___
Python tracker
Bob Kline added the comment:
I had been under the impression that "escaped" in this context meant that an
escape character (the backslash) was part of the string value for the regular
expression (there's a little bit of overloading going on with that word).
Thanks for sett
New submission from Bob Kline :
According to the documentation of the re module, "When this flag [re.VERBOSE]
has been specified, whitespace within the RE string is ignored, except when the
whitespace is in a character class or preceded by an unescaped backslash; this
lets you organiz
Bob Hunkins added the comment:
Thanks. Stupid of me. Appreciate the correction.
--
___
Python tracker
<https://bugs.python.org/issue31519>
___
___
Python-bug
New submission from Bob Hunkins:
Hello,
I'm only a novice with Python, so please take it easy on me if I have
transgressed.
I am using Python 3.6.2 on a win10 64 bit machine, and entered this:
>>> a= [-1 ** x for x in range(1,10)]
>>> print(a)
[-1, -1, -1, -1, -1, -1, -
Bob Ippolito added the comment:
That's not a very convincing argument. Python 2 only returns byte strings if
the input is a byte string and the contents of the string are all ASCII.
Facilitating that sort of behavior in 3 would probably cause more issues than
it s
Bob Ippolito added the comment:
Agreed, this does seem unnecessary. The library has been in active use for over
a decade, and this is the first time I've seen this request. I would recommend
preprocessing the data that you're going to encode if you have a need for this.
--
Bob Ippolito added the comment:
I agree with that sentiment. If we were to want to support this use case I
would rather put together a coherent way to augment the parsing/encoding of
anything than bolt it on to what we have.
--
___
Python tracker
Bob Ippolito added the comment:
I suppose I'm +0. I don't think this is particularly useful, but this is closer
to the ideal of just having a boolean option. We should probably also plan to
remove the documentation for what the type of separators is to give the
impression that COMPA
Bob Ippolito added the comment:
Probably the best thing we could do here is to mirror the options available in
similar tools, such as jq: https://stedolan.github.io/jq/manual/#Invokingjq
The relevant options here would be:
--indent
--tab
--compact-output
--sort-keys
The
New submission from Bob Kline:
The socket module does not always return response packets which are
successfully delivered to the client host. We ran into this problem with an
HTTP request for which socket.recv() raised an exception instead of returning
the 301 redirection response which the
Bob Ippolito added the comment:
I would recommend a moratorium on new options until we have a plan to make the
usage of the JSON APIs simpler overall. It's accumulated too many options over
time. The real trouble is figuring out how to do this in a backwards compatible
way that doe
Bob Ippolito added the comment:
I agree, in isolation it's a fine proposal, but the interface here is already a
bit too complex and the benefit is pretty minimal. When the size really does
matter, you can take care to set it correctly once and be done wi
Bob Alexander added the comment:
Oops, clarification...
I just reread my kind of long previous post, and realized it wasn't very
explicit that anything concerning file extensions or prepending the current
directory to the PATH apply to Windows only; not Unix (of course).
The "
Bob Alexander added the comment:
Since there seems to be ongoing work on the "which"
function, here are a few more thoughts on this function's
future:
- The existing version does not prepend the current
directory to the path if it is already in the path.
If the current
Bob Hossley added the comment:
Thank you R. David Murray.
I look forward to being able to move my application to Python 3.
--
___
Python tracker
<http://bugs.python.org/issue25
New submission from Bob Hossley:
In my function makeMsg(), there is:
msg = email.mime.nonmultipart.MIMENonMultipart('text',
'plain', charset='utf-8')
msg['Subject'] = email.header.Header(subject, 'utf-8')
subject has no spac
Bob Hossley added the comment:
msg249272
Thank you Martin Panter for the documentation URL's. The import machinery is
so complicated that I have given up trying to understand what is "correct"
behavior.Depending on the code in the relevant __init__.py and/or
explicitly re
Bob Hossley added the comment:
msg<249269>
Thank you David Murray.
I should have asked myself, what is reasonable behavior? In the case of
email.mime.nonmultipart an explicit import is clearly needed.
I was misled by my experience with the os library. As a "package" it is
New submission from Bob Hossley:
This seems like a bug to me, but it may be a recognized limitation even though
I couldn't find any documentation suggesting that my tests should not work
reliably. I see no reason why my tests should not work reliably.
I have reliably reproduce
Bob Ippolito added the comment:
This seems like a very reasonable proposal. It would be great if we could also
include a path in the error message (e.g. `obj["foo"][1]["bar"]`) as well to
provide enough context to track do
Bob Ippolito added the comment:
On further investigation, simplejson has implemented this functionality under a
different name since 2.5.0 (2012-03-29).
"""
If item_sort_key is a callable (not the default), then the output of
dictionaries will be sorted with it. The callable wi
Bob Ippolito added the comment:
Seems like a good idea to me, I'll make sure this gets in simplejson as well.
--
___
Python tracker
<http://bugs.python.org/is
Bob Alexander added the comment:
Hi R. David --
My report is just to notify y'all of a bug that I noticed. The bug is
causing me no problem, and it's your option as to whether to fix it or not.
I offered a fix, but I haven't the time to perform diffs, etc. You could
make tha
New submission from Bob Alexander:
Python session with 3.5b2
Showing existing error:
>>> from shutil import which
Works OK
>>> which("python")
'C:\\Python27\\python.EXE'
Also works OK
>>> which('C:\\Python27\\python.EXE')
'C:
Bob Alexander added the comment:
Thanks for the note, Martin. I agree that it's a duplicate. (I had done a
brief search for possible dups, but didn't find that one!)
Bob
On Sun, May 17, 2015 at 8:29 PM, Martin Panter
wrote:
>
> Martin Panter added the comment:
>
&g
New submission from Bob Alexander:
Here is simple example of failure to parse arguments that should parse OK. In
the following little program, the second from last line contains an aargument
sequence that parses OK, but the last line should but doesn't.
import argpar
1 - 100 of 267 matches
Mail list logo