[issue18800] Document Fraction's numerator and denominator properties

2013-08-21 Thread icedream91
New submission from icedream91: The document (http://docs.python.org/3/library/fractions.html) doesn't mention Fraction's numerator and denominator properties, I knew these properties from dir(). Since sometimes these two properties are very useful, for example: http://projec

[issue18518] timeit bug?

2013-07-21 Thread icedream91
New submission from icedream91: When I ran code below, it printed -1. The question is, the code in variable snippet, has wrong syntax, it can't be run. I think timeit should return only non-negative float type. from timeit import timeit snippet=""" for i in rang

[issue18326] Not Clear Docs

2013-06-29 Thread icedream91
New submission from icedream91: I think the documents talking about list.sort() in page http://docs.python.org/3/library/stdtypes.html#list.sort is not clear enough. What asterisk means in "sort(*, key=None, reverse=None)", may be cmp argument from Python 2, or anything else? Or it

[issue18252] timeit makes code run faster?

2013-06-18 Thread icedream91
icedream91 added the comment: I did some tests, Richard Oudkerk (sbt) is right. Thanks a lot. -- ___ Python tracker <http://bugs.python.org/issue18252> ___ ___

[issue18252] timeit makes code run faster?

2013-06-18 Thread icedream91
icedream91 added the comment: I used Python 3.3.2 to try this problem: http://projecteuler.net/problem=23 , and I got a correct answer. When I wanted to check how long it took, I found something strange: When I ran 23.py directly, it showed that it took about 13s. But if I use timeit module

[issue18252] timeit makes code run faster?

2013-06-18 Thread icedream91
Changes by icedream91 : Removed file: http://bugs.python.org/file30633/23.py ___ Python tracker <http://bugs.python.org/issue18252> ___ ___ Python-bugs-list mailin

[issue18252] timeit makes code run faster?

2013-06-18 Thread icedream91
New submission from icedream91: I used Python 3.3.2 to try this problem: http://projecteuler.net/problem=23 , and I got a correct answer. When I wanted to check how long it took, I found something strange: When I ran 23.py directly, it showed that it took about 13s. But if I use timeit module

[issue18177] Typo in Documents

2013-06-09 Thread icedream91
New submission from icedream91: In library.pdf file(Release 3.3.2, June 09, 2013), I found a typo in page 149: I think the quotation marks are wrong in "datetime.isoformat(sep=’T’)" sentence, they should both be "'". But it's right in online documents (ht