Re: Performance issue

2016-06-16 Thread Glenn Pierce
Wow changed to TBinaryProtocolAccelerated and it went down to 1.5 seconds. Something very wrong with the default python implementation. On 16 June 2016 at 20:34, Glenn Pierce <glenn.pie...@carnegosystems.com> wrote: > The important profile lines are > >ncalls <http://c

Re: Performance issue

2016-06-16 Thread Glenn Pierce
81.652 /usr/lib64/python2.7/socket.py:201(accept <http://carneab4.memset.net:8000/?func_name=accept>) 2 963.303 481.652 963.303 481.652 {method 'accept' of '_socket.socket' objects} On 16 June 2016 at 20:01, Glenn Pierce <glenn.pie...@carnegosystems.com> wrote: > That co

Re: Performance issue

2016-06-16 Thread Glenn Pierce
; using the buffer. > > -Randy > > > On Thu, Jun 16, 2016 at 9:08 AM, Glenn Pierce < > glenn.pie...@carnegosystems.com> wrote: > > > Hi I wonder if someone could give advice on a performance issue I have. > > > > I have written a test case in Python > >

Performance issue

2016-06-16 Thread Glenn Pierce
Hi I wonder if someone could give advice on a performance issue I have. I have written a test case in Python The server is class TestServerThriftHandler(object): def getData(self): with open('data.json', 'r') as f: results = ujson.loads(f.read())

Proxy Thrift call

2013-06-05 Thread Glenn Pierce
Hi can anyone think of a way to proxy a a thrift call. Essentially what I want is for client calls on a master server to forward the request on to other designated servers. I was thinking of overriding Transport and Server to forward certain calls on. I guess I would have to override protocol

[jira] [Commented] (THRIFT-600) Parser error on fields named e0, e1, ...

2012-12-14 Thread Glenn Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13532237#comment-13532237 ] Glenn Pierce commented on THRIFT-600: - May also effect parameters. Ie mapstring

[jira] [Comment Edited] (THRIFT-600) Parser error on fields named e0, e1, ...

2012-12-14 Thread Glenn Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13532237#comment-13532237 ] Glenn Pierce edited comment on THRIFT-600 at 12/14/12 11:08 AM

[jira] [Created] (THRIFT-1737) UDP socket support for python

2012-10-21 Thread Will Pierce (JIRA)
Will Pierce created THRIFT-1737: --- Summary: UDP socket support for python Key: THRIFT-1737 URL: https://issues.apache.org/jira/browse/THRIFT-1737 Project: Thrift Issue Type: New Feature

[jira] [Updated] (THRIFT-1737) UDP socket support for python

2012-10-21 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1737: Attachment: THRIFT-1737-UDP-v1.diff patch attached (v1) UDP socket support

Re: [VOTE] Release Apache Thrift 0.9.0

2012-10-15 Thread Will Pierce
Belated +1, and also a big *Thank You* for helping move thrift forward another step. We've come a long way! -w -- Will Pierce On Mon, Oct 15, 2012 at 7:18 AM, Jake Farrell jfarr...@apache.org wrote: With 3 binding +1's, 1 other +1 and no -1's the 0.9.0 release candidate passes. I'll get

[jira] [Resolved] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2012-05-21 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce resolved THRIFT-1115. - Resolution: Fixed terrific! python TBase class for dynamic (de)serialization

[jira] [Commented] (THRIFT-1604) Python exception handeling for changes from PEP 3110

2012-05-18 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13279362#comment-13279362 ] Will Pierce commented on THRIFT-1604: - (not that i like having to support python 2.4

[jira] [Commented] (THRIFT-1604) Python exception handeling for changes from PEP 3110

2012-05-18 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13279439#comment-13279439 ] Will Pierce commented on THRIFT-1604: - okie, i'm secretly happy to drop 2.4 support

[jira] [Updated] (THRIFT-600) Parser error on fields named e0, e1, ...

2012-04-04 Thread Will Pierce (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-600: --- Attachment: THRIFT-600-FIX-DOUBLE-REGEX-V1.patch The attached patch changes the lexer's regex

[jira] [Commented] (THRIFT-1528) Iconsistency in optional fields between Java/C# and python

2012-03-01 Thread Will Pierce (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13220311#comment-13220311 ] Will Pierce commented on THRIFT-1528: - i think the java and c# implementations should

[jira] [Updated] (THRIFT-1525) Serialization / Deterialization of oversized i32 problematic in TCompactProtocol

2012-02-28 Thread Will Pierce (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1525: Attachment: THRIFT-1525.compactproto_rangechecks_v1.patch Patch adds assertions to range check

[jira] [Reopened] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2012-01-13 Thread Will Pierce (Reopened) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce reopened THRIFT-1115: - missing import for TApplicationException, have 2 line patch python TBase class

[jira] [Commented] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2012-01-12 Thread Will Pierce (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13185383#comment-13185383 ] Will Pierce commented on THRIFT-1115: - Not yet. I'm in transit at the moment, but can

[jira] [Updated] (THRIFT-1480) python: remove tabs, adjust whitespace and address PEP8 warnings

2011-12-31 Thread Will Pierce (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1480: Attachment: THRIFT-1480-pep8ify-v1.patch python: remove tabs, adjust whitespace and address

[jira] [Commented] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-10-06 Thread Will Pierce (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13121876#comment-13121876 ] Will Pierce commented on THRIFT-1115: - Thanks Christian, I'll update the test cases

[jira] [Commented] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-09-04 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13096877#comment-13096877 ] Will Pierce commented on THRIFT-1115: - How does this look? The unit tests

[jira] [Commented] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-08-21 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13088445#comment-13088445 ] Will Pierce commented on THRIFT-1115: - FYI, this latest patch significantly changes

[jira] [Commented] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-08-14 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13084855#comment-13084855 ] Will Pierce commented on THRIFT-1115: - Here is sample comparison of the code

[jira] [Updated] (THRIFT-1262) update python compiler to parse unions, * namespaces and oneway services

2011-08-14 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1262: Attachment: THRIFT-1262-python_compiler_revival_v1.patch update python compiler to parse unions

[jira] [Created] (THRIFT-1262) update python compiler to parse unions, * namespaces and oneway services

2011-08-14 Thread Will Pierce (JIRA)
Type: Improvement Components: Python - Compiler Reporter: Will Pierce Attachments: THRIFT-1262-python_compiler_revival_v1.patch This patch adds python-compiler parser support for Unions, * namespaces, and oneway services in thrift files. The python compiler is still

[jira] [Commented] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-05-25 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13039352#comment-13039352 ] Will Pierce commented on THRIFT-1115: - After thinking about this latest version

[jira] [Commented] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-05-25 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13039502#comment-13039502 ] Will Pierce commented on THRIFT-1115: - Aha, the {{.im_func}} is the secret sauce

[jira] [Updated] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-05-25 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Attachment: THRIFT-1115.python_dynamic_code_and_slots_v5.patch version 5 of patch attached

[jira] [Updated] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-05-24 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Attachment: THRIFT-1115.python_dynamic_code_and_slots_v4.patch Hi David, thanks for the feedback

Review/commit of THRIFT-1115? (python TBase and __slots__ memory savings)

2011-05-16 Thread Will Pierce
tests that all pass for me on python 2.4 and 2.7...) I'd appreciate any additional feedback, or a commit... Thanks! -W -- J. Will Pierce

[jira] [Updated] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-05-10 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Component/s: Build Process python TBase class for dynamic (de)serialization, and __slots__

[jira] [Commented] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-05-01 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13027455#comment-13027455 ] Will Pierce commented on THRIFT-1115: - Does the updated patch address all your

[jira] [Updated] (THRIFT-1115) python TBase class for dynamic (de)serialization, and __slots__ option for memory savings

2011-04-22 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Summary: python TBase class for dynamic (de)serialization, and __slots__ option for memory

[jira] [Commented] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-04-19 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13021526#comment-13021526 ] Will Pierce commented on THRIFT-1115: - Took me some time to get back to this, but I

[jira] [Commented] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-04-19 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13021531#comment-13021531 ] Will Pierce commented on THRIFT-1115: - Hmm, bad news. The TBase class needs

[jira] [Commented] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-04-19 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13021545#comment-13021545 ] Will Pierce commented on THRIFT-1115: - David, at first I didn't understand what you

[jira] [Updated] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-04-19 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Attachment: THRIFT-1115.python_dynamic_code_and_slots_v3.patch Patch attached, version 3

[jira] [Commented] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-31 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13014320#comment-13014320 ] Will Pierce commented on THRIFT-1115: - Thanks Bryan! I'm thinking of adding

[jira] [Updated] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-29 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Attachment: THRIFT-1115.python_dynamic_code_and_slots_v2.patch version 2 of this patch makes some

[jira] [Updated] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-29 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Attachment: test_dynser.py benchmarking script, copy it into trunk/test/py/ and use the same

[jira] [Updated] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-27 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Attachment: test_size.py Attaching test benchmarking script test_size.py that measures the RAM

[jira] [Commented] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-27 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13011878#comment-13011878 ] Will Pierce commented on THRIFT-1115: - Results of testing default generated code

[jira] [Commented] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-27 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13011898#comment-13011898 ] Will Pierce commented on THRIFT-1115: - FYI, the object instantiation time

[jira] [Commented] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-25 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13011532#comment-13011532 ] Will Pierce commented on THRIFT-1115: - I forgot to mention, don't forget to re-run

[jira] [Created] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-24 Thread Will Pierce (JIRA)
/browse/THRIFT-1115 Project: Thrift Issue Type: New Feature Components: Python - Compiler, Python - Library Reporter: Will Pierce Assignee: Will Pierce This patch adds several new features to the compiler for python and the python libraries

[jira] [Updated] (THRIFT-1115) dynamic python object (de)serialization, using __slots__ for less memory, and custom object inheritance

2011-03-24 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1115: Attachment: THRIFT-1115.python_dynamic_code_and_slots_v1.patch dynamic python object (de

[jira] [Updated] (THRIFT-1107) improvement for compiler-generated python for 'None' object comparisons

2011-03-22 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1107: Attachment: test_isnotnone.py Attaching benchmark test script: test_isnotnone.py This takes

[jira] [Commented] (THRIFT-1107) improvement for compiler-generated python for 'None' object comparisons

2011-03-22 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13009988#comment-13009988 ] Will Pierce commented on THRIFT-1107: - Output from benchmark script

[jira] [Updated] (THRIFT-1107) improvement for compiler-generated python for 'None' object comparisons

2011-03-22 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1107: Attachment: THRIFT-1107.compiler_generate_py_is_not_none.patch Attached small patch to compiler

[jira] [Commented] (THRIFT-1094) bug in TCompactProto python readMessageEnd method and updated test cases

2011-03-21 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13009271#comment-13009271 ] Will Pierce commented on THRIFT-1094: - Teerific! Thanks! bug in TCompactProto

[jira] [Commented] (THRIFT-1103) TZlibTransport for python, a zlib compressed transport

2011-03-21 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13009283#comment-13009283 ] Will Pierce commented on THRIFT-1103: - Thanks for comitting THRIFT-1094, I'll update

[jira] [Commented] (THRIFT-1103) TZlibTransport for python, a zlib compressed transport

2011-03-21 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13009544#comment-13009544 ] Will Pierce commented on THRIFT-1103: - I updated the test suite to include running

[jira] [Updated] (THRIFT-1103) TZlibTransport for python, a zlib compressed transport

2011-03-20 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1103: Attachment: THRIFT-1103.tzlibtransport_for_python_v1.patch Patch attached. Adds

[jira] Updated: (THRIFT-1094) bug in TCompactProto python readMessageEnd method and updated test cases

2011-03-19 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1094: Attachment: THRIFT-1094.python_compactproto_fix_and_tests_v2.patch v2 of the patch attached

[jira] Created: (THRIFT-1100) python TSSLSocket improvements, including certificate validation

2011-03-19 Thread Will Pierce (JIRA)
: Improvement Components: Python - Library Reporter: Will Pierce Assignee: Will Pierce The python TSSLSocket.py module has TSSLSocket and TSSLServerSocket for outbound and inbound SSL connection wrapping. This ticket is for a patch that makes several improvements: * adds

[jira] Updated: (THRIFT-1100) python TSSLSocket improvements, including certificate validation

2011-03-19 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1100: Attachment: THRIFT-1100.python_ssl_enhance_and_cert_validate.patch patch attached: adds lots

[jira] Updated: (THRIFT-690) Update TApplicationException codes

2011-03-16 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-690: --- Attachment: THRIFT-690.python_app_exception_codes_update.patch This patch (THRIFT-690

[jira] Created: (THRIFT-1094) bug in TCompactProto python readMessageEnd method and updated test cases

2011-03-16 Thread Will Pierce (JIRA)
Type: Bug Components: Python - Library Affects Versions: 0.6 Reporter: Will Pierce Assignee: Will Pierce The python implementation of TCompactProtocol has a bug in readMessageEnd, an assert on its internal state being READ_VALUE when it's actually CLEAR. I

[jira] Updated: (THRIFT-1094) bug in TCompactProto python readMessageEnd method and updated test cases

2011-03-16 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1094: Attachment: THRIFT-1094.python_compactproto_fix_and_tests.patch patch attached. touches 2 lines

[jira] Commented: (THRIFT-1094) bug in TCompactProto python readMessageEnd method and updated test cases

2011-03-16 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13007443#comment-13007443 ] Will Pierce commented on THRIFT-1094: - looks like this readMessageEnd bug has been

[jira] Created: (THRIFT-1092) generated validate() method has wrong indentation

2011-03-15 Thread Will Pierce (JIRA)
- Compiler Affects Versions: 0.6 Reporter: Will Pierce Priority: Minor The generated validate() method is indented to the wrong level, making it an internal/unusable method inside the write() method of a struct Looks like the line to generate the validator just needs to move

[jira] Created: (THRIFT-1093) several bugs in python TCompactProtocol

2011-03-15 Thread Will Pierce (JIRA)
Versions: 0.6 Reporter: Will Pierce The python TCompactProtocol implementation has a few bugs: * In the writeBool method: ** the code has a typo in the spelling of AssertionError ** code fails when accessing a nonexistent types[] dict to encode the boolean * The TType.STOP token was missing

[jira] Updated: (THRIFT-1093) several bugs in python TCompactProtocol

2011-03-15 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1093: Attachment: THRIFT-1093.compactproto_encoding_bugs.patch patch attached several bugs in python

[jira] Updated: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-15 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1088: Attachment: THRIFT-1088_python_new_style_classes_v2.patch updated patch to work against trunk

[jira] Updated: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-14 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1088: Attachment: runtest2.sh Fixed runtest.sh (now called runtest2.sh) shell script so it will re-run

[jira] Commented: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-14 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13006390#comment-13006390 ] Will Pierce commented on THRIFT-1088: - % ./runtest2.sh Building libraries make[1

[jira] Updated: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-10 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1088: Attachment: perftest.py Thrift library python classes should be new-style classes

[jira] Updated: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-10 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1088: Attachment: runtest.sh Thrift library python classes should be new-style classes

[jira] Commented: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-10 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13005061#comment-13005061 ] Will Pierce commented on THRIFT-1088: - Here's the test results from my first stab

[jira] Commented: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-10 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13005070#comment-13005070 ] Will Pierce commented on THRIFT-1088: - To set up the perf test code, put perftest.py

[jira] Created: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-09 Thread Will Pierce (JIRA)
Components: Python - Library Affects Versions: 0.6 Reporter: Will Pierce Priority: Minor The included python thrift library classes (TType, TProtocolBase, etc...) are all defined using old-style python class definitions. This makes it somewhat more difficult

[jira] Updated: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-09 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1088: Attachment: THRIFT-1088_pthon_new_style_classes.patch svn diff attached, I am currently testing

[jira] Updated: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-09 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Pierce updated THRIFT-1088: Patch Info: [Patch Available] Thrift library python classes should be new-style classes

[jira] Commented: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-09 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004693#comment-13004693 ] Will Pierce commented on THRIFT-1088: - Sure thing. Without fastbinary.so in play

[jira] Commented: (THRIFT-1088) Thrift library python classes should be new-style classes

2011-03-09 Thread Will Pierce (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004702#comment-13004702 ] Will Pierce commented on THRIFT-1088: - Quick question, when you say 'generated