last day (15 days later) » 

3:10 AM
Here is a chat room for chatting, instead of text (how are you sending those?)
We can discuss pyparsing 2.x removal here
I've started some notes on the project GitHub wiki: github.com/pyparsing/pyparsing/wiki/Python-3-planning
 
I dm'd on Twitter - sorry if I woke or I interrupted your night! I was trying to contact in a low-key manner as possible.
 
Ah, ok, those were Twitter DM's - I was trying to think how we messaged you during PyTexas, forgot about The Twitter (I need to up my Twitter game...)
I do need about 10 minutes to finish something, but we can leave this chat room open for an extended period I think
 
Yes I saw. I was thinking of more public/popular projects I could contribute to. I don't know too much 2.x as I've really mainly used 3.6+, but this seems like something I could work on.
Oh these rooms can hang around forever, as far as I know. Simon and a couple of guys from python have one I look in on occasionally.
 
3:34 AM
They eventually get archived if they lie dormant for too long
I was wondering what got you thinking about pitching in on pyparsing
I don't expect the mechanics of removing the 2.x compat code to be too big a deal, the planning and decision-making will probably take more time than anything. I think I'm settling on targeting 3.5 or 3.6 as the 3.x version to support.
 
Well it seems to be an oft mentioned project, and I know you, and I saw the 2.x removal project. ve been told some contributions to such projects can help me out in the resumé dept, as well as experience dealing with collaboration and larger codebase.
Yeah, I was wondering what would be more that what I saw as low hanging fruit
- there's probably some ways to get some efficiency improvements with later 3.x features. Dict ordering in 3.6+ might be a job to implement if you want to let go of OrderedDict, implementing f-strings might make things more readable.
 
Maybe oft-mentioned by me, it gets a new SO question about every 10-15 days, so not really terribly active
 
3:49 AM
Well, it seems to be depended on by a bunch of packages!
 
I don't think I need to actually use f-strings too much. Probably some good example code showing how a ParseResults object would work in f-strings for output (much like I did in some of the code using one as a mapping for format(**results) or format_map(results)
For instance, I don't think I have any print() statements - or if I do, they are structured so as to be mostly Py2-Py3 agnostics
I think I'm content using OrderedDict explicitly - this would be for the code that implements the packrat parsing
I think 3.5 is a minimum target, as I would like to start adding type annotations
We've just started using them at work, and I really like them
I'd llke to pick a 3.x release that will not leave out too many people who might be on the not-quite-latest 3.x, within reason
 
I think they're brilliant.
 
So that would be one task as part of the conversion - adding type annotations
async/await are not really relevant, so those features are not going to be part of the tasks
There are some small applicatiilities for Enums, like opAssoc
 
No I didn't see any of them in there. Although I've just got on my laptop (was putting a small one to sleep) so I was reading on mobile.
 
nonlocal would finally be usable in the trim_arity parse action wrapper
as originally submitted by Raymond H
Another task that will take a little thought before just diving in is deciding about keyword arguments - which ones should be required as keyword vs keyword-or-positional?
 
4:08 AM
I'm going to say 'Yes'.
My first thought is just to say the less used ones which have defaults get to be keyword, or ones where you need the user to be explicit. Do you need to require any to be keyword?
I wasn't aware of nonlocal variables, so I can't comment there.
I've never touched IronPython or Jython.
Wow...I'm looking through the tests to see if I can tell how/if many of them test python2.x specific stuff, and almost the entire side of my editor is white/yellow marking warnings and issues.
 
4:29 AM
I'm going to have to sign off for this evening, I'm nodding off, and my day starts early (5-ish)
 
All good. I was really just trying to express some interest :)
 
Thanks for getting in touch. The unit tests are a ghastly mess, the simple_unit_tests.py are probably more readable
And I'm still a bit befuzzled about what is happening with results names now - I feel like a writer of a story who doesn't know what the characters will do next
I thought I had results names straightened out, but they reveal new behavior that I did not expect for certain parser constructs. That really annoys and worries me.
 
Oh well, from what I've gleaned, you "listen to the characters, they'll tell you what they're going to do next"
 
Ok let's check back in this weekend - next couple of days are busy with work and my artwork
You an also email me at ptmcg@austin.rr.com
Good night
 
Sounds good - I might be more effective at the lower level stuff, but glad to help :) take care
 

last day (15 days later) »