[issue26259] Memleak when repeated calls to asyncio.queue.Queue.get is performed, without push to queue.

2016-02-02 Thread Jonas Brunsgaard
Jonas Brunsgaard added the comment: You are right that get_nowait() is the correct api for my use case, using get_nowait() nothing is pushed to the internal _getters deque. The reason for my us of get() is that job futures are created one place in the code and then thrown in a processing funct

[issue26229] Make number serialization ES6/V8 compatible

2016-02-02 Thread Mark Dickinson
Mark Dickinson added the comment: > An easier fix than mucking around in the pretty complex number serializer > code would be adding an "ES6Format" option to the "json.dump*" methods > which could use the supplied conversion code as is. Certainly if this were added we'd want to do it in a backwa

[issue26244] zlib.compressobj level default value documentation

2016-02-02 Thread Martin Panter
Martin Panter added the comment: I also made a small change to the compressobj() doc string. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue26229] Make number serialization ES6/V8 compatible

2016-02-02 Thread Mark Dickinson
Mark Dickinson added the comment: > For JSON parsing in an ES6-compatible way you must anyway use an > "OrderedDict" hook option to get the right (=original) property order. Why? From the JSON spec: "An object is an *unordered* set of name/value pairs." (emphasis mine). What do you mean by "JS

[issue26238] httplib use wrong hostname in https request with SNI support

2016-02-02 Thread lirenke
Changes by lirenke : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue26219] implement per-opcode cache in ceval

2016-02-02 Thread STINNER Victor
STINNER Victor added the comment: I'm concerned by the test_descr failure. == ERROR: test_vicious_descriptor_nonsense (test.test_descr.ClassPropertiesAndMethods) -

[issue26238] httplib use wrong hostname in https request with SNI support

2016-02-02 Thread Martin Panter
Martin Panter added the comment: I still cannot reproduce any problem. When using set_tunnel(), this is the request sent to the proxy: b'CONNECT 128.6.42.21:8088 HTTP/1.0\r\n' b'\r\n' This is the SNI and request sent through the proxy to the end server: >>> wrapped = context.wrap_socket(conn,

[issue26229] Make number serialization ES6/V8 compatible

2016-02-02 Thread Anders Rundgren
Anders Rundgren added the comment: An easier fix than mucking around in the pretty complex number serializer code would be adding an "ES6Format" option to the "json.dump*" methods which could use the supplied conversion code as is. For JSON parsing in an ES6-compatible way you must anyway use

<    1   2