[issue43777] Remove description of "pip search" command from tutorial

2021-04-08 Thread Bob Kline
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

[issue43777] Remove description of "pip search" command from tutorial

2021-04-08 Thread Bob Kline
Bob Kline added the comment: PR submitted: https://github.com/python/cpython/pull/25287 -- ___ Python tracker <https://bugs.python.org/issue43777> ___ ___ Pytho

[issue43777] Remove description of "pip search" command from tutorial

2021-04-09 Thread Bob Kline
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

[issue43790] CLA check fails with a 500 error

2021-04-09 Thread Bob Kline
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

[issue43777] Remove description of "pip search" command from tutorial

2021-04-09 Thread Bob Kline
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

[issue43790] CLA check fails with a 500 error

2021-04-09 Thread Bob Kline
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

[issue43790] CLA check fails with a 500 error

2021-04-10 Thread Bob Kline
Bob Kline added the comment: Super, thanks! -- ___ Python tracker <https://bugs.python.org/issue43790> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43790] CLA check fails with a 500 error

2021-04-10 Thread Bob Kline
Bob Kline added the comment: Sorry, it's still failing with the same error message. -- status: closed -> open ___ Python tracker <https://bugs.python.org

[issue43790] CLA check fails with a 500 error

2021-04-10 Thread Bob Kline
Bob Kline added the comment: To reproduce, enter "bkline" in the GitHub username field and press Check. -- ___ Python tracker <https://bugs.python.o

[issue43790] CLA check fails with a 500 error

2021-04-10 Thread Bob Kline
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

[issue43790] CLA check fails with a 500 error

2021-04-10 Thread Bob Kline
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.

[issue42297] [argparse] Bad error message formatting when using custom usage text

2021-08-06 Thread Bob Blanchett
Change by Bob Blanchett : -- nosy: +bobblanchett ___ Python tracker <https://bugs.python.org/issue42297> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34858] MappingProxy objects should JSON serialize just like a dictionary

2020-06-06 Thread Bob Ippolito
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

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-07-27 Thread Bob Kline
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

[issue41577] Cannot use ProcessPoolExecutor if in a decorator?

2020-08-18 Thread Bob Fang
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

[issue41577] Cannot use ProcessPoolExecutor if in a decorator?

2020-08-18 Thread Bob Fang
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

[issue41633] pydoc skips methods of nested classes

2020-08-25 Thread Bob Kline
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:

[issue41633] pydoc skips methods of nested classes

2020-08-25 Thread Bob Kline
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 &

[issue37061] The strangest glitch I have ever seen - incorrect indenterror, even on commented out code.

2019-05-26 Thread Bob Vegene
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

[issue37061] The strangest glitch I have ever seen - incorrect indenterror, even on commented out code.

2019-05-26 Thread Bob Vegene
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

[issue37061] The strangest glitch I have ever seen - incorrect indenterror, even on commented out code.

2019-05-26 Thread Bob Vegene
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

[issue37061] The strangest glitch I have ever seen - incorrect indenterror, even on commented out code.

2019-05-26 Thread Bob Vegene
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.

[issue37061] The strangest glitch I have ever seen - incorrect indenterror, even on commented out code.

2019-05-26 Thread Bob Vegene
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

[issue37430] range is not a built-in function

2019-06-27 Thread bob gailer
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

[issue37430] range is not a built-in function

2019-06-27 Thread bob gailer
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

[issue31519] Negative number raised to even power is negative (-1 ** even = negative)

2017-09-19 Thread Bob Hunkins
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, -

[issue31519] Negative number raised to even power is negative (-1 ** even = negative)

2017-09-19 Thread Bob Hunkins
Bob Hunkins added the comment: Thanks. Stupid of me. Appreciate the correction. -- ___ Python tracker <https://bugs.python.org/issue31519> ___ ___ Python-bug

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2019-02-09 Thread Bob Kline
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

[issue29636] Specifying indent in the json.tool command

2017-03-16 Thread Bob Ippolito
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

[issue29863] Add a COMPACT constant to the json module

2017-03-21 Thread Bob Ippolito
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

[issue29992] Expose parse_string in JSONDecoder

2017-04-05 Thread Bob Ippolito
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

[issue30114] json module: it is not possible to override 'true', 'false' values during encoding bool

2017-04-20 Thread Bob Ippolito
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. --

[issue29992] Expose parse_string in JSONDecoder

2017-05-02 Thread Bob Ippolito
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

[issue29992] Expose parse_string in JSONDecoder

2018-01-11 Thread Bob Ippolito
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

[issue11849] glibc allocator doesn't release all free()ed memory

2018-01-16 Thread Bob Kline
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

[issue11849] glibc allocator doesn't release all free()ed memory

2018-01-16 Thread Bob Kline
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

[issue11849] glibc allocator doesn't release all free()ed memory

2018-01-16 Thread Bob Kline
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

[issue11849] glibc allocator doesn't release all free()ed memory

2018-01-16 Thread Bob Kline
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

[issue33060] Installation hangs at "Publishing product information"

2018-03-12 Thread Bob Klahn
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

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2018-03-27 Thread Bob Hossley
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

[issue1294959] Problems with /usr/lib64 builds.

2018-04-04 Thread Bob Vincent
Change by Bob Vincent : -- nosy: +pillarsdotnet ___ Python tracker <https://bugs.python.org/issue1294959> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31856] Unexpected behavior of re module when VERBOSE flag is set

2017-10-23 Thread Bob Kline
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

[issue31856] Unexpected behavior of re module when VERBOSE flag is set

2017-10-23 Thread Bob Kline
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

[issue31856] Unexpected behavior of re module when VERBOSE flag is set

2017-10-23 Thread Bob Kline
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

[issue31652] make install fails: no module _ctypes

2018-07-07 Thread Bob Kline
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

[issue34364] problem with traceback for syntax error in f-string

2018-08-08 Thread bob gailer
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 "",

[issue34529] add the option for json.dumps to return newline delimited json

2018-08-29 Thread Bob Ippolito
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

[issue34529] add the option for json.dumps to return newline delimited json

2018-08-30 Thread Bob Ippolito
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

[issue35005] argparse should accept json and yaml argument types

2018-10-18 Thread Bob Ippolito
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

[issue35111] Make Custom Object Classes JSON Serializable

2018-10-30 Thread Bob Ippolito
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

[issue35111] Make Custom Object Classes JSON Serializable

2018-10-31 Thread Bob Ippolito
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
Change by bob moth : Added file: https://bugs.python.org/file47922/life.py ___ Python tracker <https://bugs.python.org/issue35211> ___ ___ Python-bugs-list mailin

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
Change by bob moth : Added file: https://bugs.python.org/file47923/life2.py ___ Python tracker <https://bugs.python.org/issue35211> ___ ___ Python-bugs-list mailin

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
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

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
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

[issue18726] json functions have too many positional parameters

2013-09-01 Thread Bob Ippolito
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

[issue18726] json functions have too many positional parameters

2013-09-02 Thread Bob Ippolito
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

[issue18726] json functions have too many positional parameters

2013-09-02 Thread Bob Ippolito
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

[issue14740] get_payload(n, True) returns None

2012-05-07 Thread Bob Glickstein
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

[issue14740] get_payload(n, True) returns None

2012-05-07 Thread Bob Glickstein
Bob Glickstein added the comment: Incidentally, a workaround is: msg.get_payload(n).get_payload(decode=True) -- ___ Python tracker <http://bugs.python.org/issue14

[issue15252] Delivery reports about your e-mail

2012-07-05 Thread Bob Ippolito
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

[issue21279] str.translate documentation incomplete

2014-04-16 Thread bob gailer
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

[issue21352] improve indexing

2014-04-25 Thread bob gailer
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

[issue19361] Specialize exceptions thrown by JSON parser

2014-05-22 Thread Bob Ippolito
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

[issue21213] Memory bomb by incorrect custom serializer to json.dumps

2014-05-22 Thread Bob Ippolito
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

[issue13212] json library is decoding/encoding when it should not

2014-05-26 Thread Bob Ippolito
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/

[issue13212] json library is decoding/encoding when it should not

2014-05-26 Thread Bob Ippolito
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

[issue14621] Hash function is not randomized properly

2012-12-02 Thread Bob Ziuchkovski
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

[issue11844] Update json to upstream simplejson latest release

2013-01-11 Thread Bob Ippolito
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

[issue19584] IDLE fails - Python V2.7.6 - 64b on Win7 64b

2013-11-14 Thread Bob Wake
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

[issue21874] test_strptime fails on rhel/centos/fedora systems

2014-06-26 Thread Bob Lightfoot
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

[issue21874] test_strptime fails on rhel/centos/fedora systems

2014-06-26 Thread Bob Lightfoot
Changes by Bob Lightfoot : Added file: http://bugs.python.org/file35789/fail.summary.log.fc20 ___ Python tracker <http://bugs.python.org/issue21874> ___ ___ Python-bug

[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Bob Ippolito
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

[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Bob Ippolito
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

[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Bob Ippolito
Changes by Bob Ippolito : -- assignee: bob.ippolito -> rhettinger ___ Python tracker <http://bugs.python.org/issue21514> ___ ___ Python-bugs-list mai

[issue20585] urllib2 unrelease KQUEUE on Mac OSX 10.9+

2014-07-18 Thread Bob Carroll
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

[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header

2014-08-19 Thread Bob Chen
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

[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header

2014-08-22 Thread Bob Chen
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

[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header

2014-08-27 Thread Bob Chen
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

[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header

2014-08-27 Thread Bob Chen
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

[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header

2014-09-16 Thread Bob Chen
Bob Chen added the comment: up... -- ___ Python tracker <http://bugs.python.org/issue22231> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue6566] json.dumps converts None to "null" (not null)

2009-07-25 Thread Bob Ippolito
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

[issue7198] csv.writer

2009-10-24 Thread Bob Cannon
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

[issue7198] csv.writer

2009-10-24 Thread Bob Cannon
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

[issue7198] csv.writer

2009-10-24 Thread Bob Cannon
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.

[issue7198] csv.writer

2009-10-24 Thread Bob Cannon
Changes by Bob Cannon : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7198> ___ ___ Python-bugs-list mailing list Unsubscri

[issue1628484] Python 2.5 64 bit compile fails on Solaris 10/gcc 4.1.1

2009-10-30 Thread Bob Atkins
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

[issue1628484] Python 2.5 64 bit compile fails on Solaris 10/gcc 4.1.1

2009-10-30 Thread Bob Atkins
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

[issue6594] json C serializer performance tied to structure depth on some systems

2009-11-19 Thread Bob Ippolito
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

[issue7444] Allow for a default method in the JSON decoder

2009-12-05 Thread Bob Ippolito
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&#

[issue7444] Allow for a default method in the JSON decoder

2009-12-05 Thread Bob Ippolito
Changes by Bob Ippolito : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7444> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7451] improve json decoding performance

2009-12-27 Thread Bob Ippolito
Bob Ippolito added the comment: I applied most of this patch to r206 of simplejson trunk -- ___ Python tracker <http://bugs.python.org/issue7451> ___ ___ Pytho

<    1   2   3   >