Re: [Python-Dev] Status on PEP-431 Timezones

2015-07-28 Thread Łukasz Rekucki
ken", Python just needs a more clear separation between timezone aware objects and "naive" ones? [1]: https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html Best Reagards, Łukasz Rekucki ___ Python-Dev mailing list Pytho

Re: [Python-Dev] doctest and pickle

2013-06-08 Thread Łukasz Rekucki
have no idea. This is my first time using doctest. > AFAIK, stdlib uses Sphinx, so you can provide a testsetup block[1]. At least if you're running them via Sphinx. [1]: http://sphinx-doc.org/ext/doctest.html -- Łukasz Rekucki ___ Python-Dev mailin

[Python-Dev] performance of {} versus dict(), de fmd(**kw): return kw trumps all ; -)

2012-11-15 Thread Łukasz Rekucki
ict=dict): return dict(a=1, b=2, c=3, d=4, e=5, f=6)" "xdict()" raw times: 1.72 1.71 1.71 1.71 1.71 100 loops, best of 5: 1.71 usec per loop C:\Users\lrekucki>py -3.3 -m timeit -n 100 -r 5 -v -s "def xdict(dict=lambda **kw: kw): return dict(a=1, b=2, c=3, d=4, e=5, f

Re: [Python-Dev] chained assignment weirdity

2012-11-07 Thread Łukasz Rekucki
item assignment statements: > > What do other Pythons than CPython do currently? Or is it "The > reference implementation is right, the docs are wrong"? PyPy and IronPython are the same as CPython. Only Jython (both 2.5 and 2.7a) follows the docs. Regards, Łukasz Rekucki ___

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-21 Thread Łukasz Rekucki
people with larger > fonts. > > --Ned. FYI, the current paragraph font size on docs.python.org is 16px, while for http://www.python.org/~gbrandl/build/html/ it's 13px, so increasing that should help readability :) You can use @media queries to adjust it to screen resolution, which

Re: [Python-Dev] Data descriptor doc/implementation inconsistency

2010-01-10 Thread Łukasz Rekucki
> Date: Mon, 11 Jan 2010 01:51:09 +0100 > From: "Amaury Forgeot d'Arc" > To: Benjamin Peterson > Cc: Python Dev > Subject: Re: [Python-Dev] Data descriptor doc/implementation >        inconsistency > Message-ID: >         > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > 2010/1/11 Benja