[Pywikipedia-l] Interested in hacking on pywikibot

2014-06-06 Thread Travis Briggs
Hi, My name is Travis Briggs and I'm a software developer who currently works at Google in California. I've always had a soft spot for Wikipedia and wondered how I could get more involved and contribute more. Today, I was thinking about how it's a shame that Media Wiki is written in PHP, as that

Re: [Pywikipedia-l] lists vs tuples

2014-06-06 Thread Harsh Kothari
Hi For constant tuples ( once whose items are expressed by literals ) it is true. Thanks Harsh On Sat, Jun 7, 2014 at 3:19 AM, Ricordisamoa ricordisa...@openmailbox.org wrote: Should we always use tuples when instantiating them only once? E.g. *if* abc *in* ('e', 'f'): instead of *if*

[Pywikipedia-l] Core

2014-06-06 Thread John
Ive been waiting for core to get usable, and Im tired of waiting. In the next month or two Ill be taking a good look and probably end up re-writing half the code, and implementing quite a bit more new code so that we can actually make core into a respectable, non-crapy product that people can

Re: [Pywikipedia-l] Core

2014-06-06 Thread Merlijn van Deen
Hi John, Great to see you contributing to core. I'm looking forward to your patches. Merlijn On 7 June 2014 00:02, John phoenixoverr...@gmail.com wrote: Ive been waiting for core to get usable, and Im tired of waiting. In the next month or two Ill be taking a good look and probably end up

Re: [Pywikipedia-l] lists vs tuples

2014-06-06 Thread info
The performance searching in a list or a tuple is both the same and both bad. Better performance has searching inside a string or in indexed types like set and dict whereas instantiating them is time consuming. Using list may lead to unexpected side effects because they are mutable objects