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
Bob Kline added the comment:
PR submitted: https://github.com/python/cpython/pull/25287
--
___
Python tracker
<https://bugs.python.org/issue43777>
___
___
Pytho
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
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:
I have reported the failure of the CLA check tool.
https://bugs.python.org/issue43790
--
___
Python tracker
<https://bugs.python.org/issue43
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:
Super, thanks!
--
___
Python tracker
<https://bugs.python.org/issue43790>
___
___
Python-bugs-list mailing list
Unsubscribe:
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:
To reproduce, enter "bkline" in the GitHub username field and press Check.
--
___
Python tracker
<https://bugs.python.o
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:
And now it's working for me as well. Thanks, @Mariatta.
--
resolution: third party -> fixed
status: open -> closed
___
Python tracker
<https://bugs.python.
Change by Bob Blanchett :
--
nosy: +bobblanchett
___
Python tracker
<https://bugs.python.org/issue42297>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 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
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
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 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:
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 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 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
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:
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:
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
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 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 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 Hunkins added the comment:
Thanks. Stupid of me. Appreciate the correction.
--
___
Python tracker
<https://bugs.python.org/issue31519>
___
___
Python-bug
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 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
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:
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:
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:
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:
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:
Would it be inappropriate for this fix to be applied to 2.7?
--
nosy: +bkline
___
Python tracker
<https://bugs.python.org/issue11
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:
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:
> ... 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
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 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
Change by Bob Vincent :
--
nosy: +pillarsdotnet
___
Python tracker
<https://bugs.python.org/issue1294959>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 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
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:
Confirming that this is still failing with 3.7.0 released.
--
nosy: +bkline
___
Python tracker
<https://bugs.python.org/issue31
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 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
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 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:
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:
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
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 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
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
Change by bob moth :
Added file: https://bugs.python.org/file47922/life.py
___
Python tracker
<https://bugs.python.org/issue35211>
___
___
Python-bugs-list mailin
Change by bob moth :
Added file: https://bugs.python.org/file47923/life2.py
___
Python tracker
<https://bugs.python.org/issue35211>
___
___
Python-bugs-list mailin
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
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:
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:
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:
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:
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:
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 Ippolito added the comment:
I tend to agree with Raymond here. While I also don't like the positional
arguments, I don't think the benefit of API churn them is high enough to remove
them. Other than this issue, I have not seen any requests for this change.
I have seen proble
Bob Ippolito added the comment:
Other than when subclassing (which is actively discouraged), I haven't seen
anyone try and use positional args for these APIs. I simply don't think this is
an issue in practice. If you go far enough back in simplejson history, these
module-global func
Bob Ippolito added the comment:
My evidence is only anecdotal. I haven't actively searched for code that uses
json/simplejson to try and find cases that are using positional arguments.
One way to test this assumption would be to release a version of simplejson
that deprecates using posit
New submission from Bob Glickstein :
Passing both a value for i and decode=True to
email.message.Message.get_payload(), when self is a multipart, returns None
when it should return a string. The reason is that an is_multipart() test is
done on self when it should instead be done on the
Bob Glickstein added the comment:
Incidentally, a workaround is:
msg.get_payload(n).get_payload(decode=True)
--
___
Python tracker
<http://bugs.python.org/issue14
Bob Ippolito added the comment:
I doubt it, it's more likely that this email came from somewhere else with
my address.
On Thursday, July 5, 2012, Larry Hastings wrote:
>
> Larry Hastings > added the comment:
>
> What fresh hell is this? Bob, do you have
New submission from bob gailer:
Documentation for str.translate only mentions a dictionary for the translation
table. Actually any iterable can be used, as long as its elements are integer,
None or str.
Recommend wording:
str.translate(translation_table)
Return a copy of the s where all
New submission from bob gailer:
Inconsistencies / confusion with documentation Index Tab. Example (line numbers
added for comments that follow):
1 max
2 built-in function
3 max (datetime.date attribute)
4 (datetime.datetime attribute)
5 (datetime.time attribute)
6 max() built-in
Bob Ippolito added the comment:
simplejson v3.5.1 is probably a good target, let me know if there's anything
that you'd like me to merge back in from stdlib to make maintenance easier. I
haven't been tracking stdlib except when I've
Bob Ippolito added the comment:
I agree with ebfe. It's a case that only comes up if you're writing your own
default handlers, and there's not a reasonable solution to avoid this issue.
You would've gotten a "RuntimeError: maximum recursion depth exceeded" if
Bob Ippolito added the comment:
As Chris Rebert mentioned, the JSON standards have adopted this (unsurprising)
behavior. Ruby hasn't, and I doubt Crockford has, but I think they're in the
minority at this point. JavaScript's own JSON implementation works the same way
json/
Bob Ippolito added the comment:
In other words, I would consider this to be fixed by the documentation change
made elsewhere.
--
___
Python tracker
<http://bugs.python.org/issue13
Bob Ziuchkovski added the comment:
Why not redefine -R to mean "use secure hashing algorithms for built-in types"?
When specified, use hashing algorithms that are secure against
denial-of-service and other known attacks, at the possible expense of
performance. When not spec
Bob Ippolito added the comment:
To try and make this as painless as possible I have done both things.
simplejson is now explicitly dual-licensed MIT or AFL v2.1 and there is also an
explicit sentence in LICENSE.txt that states "This code is also licensed to the
Python Software Foundation
New submission from Bob Wake:
IDLE won't start on Python 2.7.6, 64 bit running on Windows 7, 64 bit. It
crashes in less than 1 second, before opening a window. Python appears to work
from the command line. The CPU is a quad core i7 with 8GB memory and 2TB disk
space.
--
compo
New submission from Bob Lightfoot:
when attempting build of 3.3.2-15 and 3.4.1 saw this error on both el7 and fc20
systems.
--
components: Tests
files: fail.summary.log.el7
messages: 221667
nosy: boblfoot
priority: normal
severity: normal
status: open
title: test_strptime fails on rhel
Changes by Bob Lightfoot :
Added file: http://bugs.python.org/file35789/fail.summary.log.fc20
___
Python tracker
<http://bugs.python.org/issue21874>
___
___
Python-bug
Bob Ippolito added the comment:
This patch looks reasonable to me as-is.
With regard to "Infinite and NaN number values are accepted and output;"
there's an option for that (allow_nan=False in encoding,
parse_constant=some_function_that_raises in decoding). Since an exception c
Bob Ippolito added the comment:
Good call, I was just doing a quick review of the patch in isolation. Now I
don't have anything at all to comment on :)
--
___
Python tracker
<http://bugs.python.org/is
Changes by Bob Ippolito :
--
assignee: bob.ippolito -> rhettinger
___
Python tracker
<http://bugs.python.org/issue21514>
___
___
Python-bugs-list mai
Bob Carroll added the comment:
I'm not forking, but this is possibly related my issue. I have a twisted
application that periodically crashes when attempting to make an HTTP request.
Based on the stack trace showing _scproxy, I tried the work around and it seems
to have helped. The cras
New submission from Bob Chen:
Try to run these two script below, and you will understand what I'm talking
about.
If you specified an url and it happened to be an unicode string(which is quite
common in python because python processes string as unicode and you could
possibly get it
Bob Chen added the comment:
I personally suggest httplib convert the url and other elements to be string,
at the begging of the class init.
--
___
Python tracker
<http://bugs.python.org/issue22
Changes by Bob Chen <175818...@qq.com>:
--
keywords: +patch
Added file: http://bugs.python.org/file36492/httplib.py.patch
___
Python tracker
<http://bugs.python.org/i
Bob Chen added the comment:
This patch ensures the url not to be unicode, so the 'join' would not cause
error when there is utf-8 string behind.
--
___
Python tracker
<http://bugs.python.o
Bob Chen added the comment:
up...
--
___
Python tracker
<http://bugs.python.org/issue22231>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Bob Ippolito added the comment:
JP is correct, this is how JSON works. The behavior of coercing keys to
strings is often desirable, although I agree it could be confusing if you
aren't familiar with the JSON spec.
--
components: +Documentation -Library
Changes by Bob Cannon :
--
nosy: zacktu
severity: normal
status: open
title: csv.writer
type: behavior
versions: Python 2.6
___
Python tracker
<http://bugs.python.org/issue7
New submission from Bob Cannon :
I used csv.writer to open a file for writing with comma as separator and
dialect='excel'. I used writerow to write each row into the file. When
I execute under linux, each line is terminated by '\r\n'. When I
execute under windows, each l
Bob Cannon added the comment:
Probably so. I'm sorry to report this as a bug if it's not. I asked
abut this on a Python group on IRC and got no suggestions. Thanks for
taking a look.
--
___
Python tracker
<http://bugs.python.
Changes by Bob Cannon :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue7198>
___
___
Python-bugs-list mailing list
Unsubscri
Bob Atkins added the comment:
I see that Martin's broken record still hasn't changed. I had warm,
nostalgic feelings as I re-read this thread. It is so sad to see that
this matter remains unresolved almost 3 years after I filed this bug.
As usual Martin is just flat wrong in his
Bob Atkins added the comment:
3 years and counting while everyone rings their hands and debates this
trivial issue.
3 years and counting while hundreds of builders encounter this problem
wasting countless of hours troubleshooting, possibly re-reporting the
problem.
Software is not a religion
Bob Ippolito added the comment:
Did you try the trunk of simplejson? It doesn't work quite the same way as
the current json module in Python 2.6+.
Without the data or a tool to produce data that causes the problem, there
isn't much I can
Bob Ippolito added the comment:
If it had JavaScript style Date objects in it, it wasn't a JSON document.
While it may be easy enough to do this in the version that happens to be
included with Python, the optimizations in later versions of simplejson
make this no longer possible. You
Changes by Bob Ippolito :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue7444>
___
___
Python-bugs-list mailing list
Unsubscri
Bob Ippolito added the comment:
I applied most of this patch to r206 of simplejson trunk
--
___
Python tracker
<http://bugs.python.org/issue7451>
___
___
Pytho
101 - 200 of 267 matches
Mail list logo