Commits

Author Commit Message Labels Comments Date
Serhiy Storchaka
Issue #16761: Raise TypeError when int() or long() called with base argument only.
Branches
2.7
Raymond Hettinger
Make the from_iterable() recipe more usable. The code isn't exactly equivalent because a classmethod would only make sense inside a chain class, and it would need "cls" as a first argument, and it would need to return an instance of "chain" rather than a generator. The updated example drops the @classmethod decorator so that it can be used standalone: list(from_iterable(['abc', 'def'])) This should be communicate what from_iterable does.
Branches
2.7
Chris Jerdonek
Issue #15302: Switch regrtest from using getopt to using argparse. This is the first step in refactoring regrtest to use argparse. The regrtest module's main() function still expects a getopt-style return value rather than an argparse.Namespace instance.
Chris Jerdonek
Merge from 3.3: Issue #15324: Fix regrtest --fromfile, --match, --randomize.
Chris Jerdonek
Merge from 3.2: Issue #15324: Fix regrtest --fromfile, --match, --randomize.
Branches
3.3
Chris Jerdonek
Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.
Branches
3.2
Chris Jerdonek
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
Branches
2.7
Ezio Melotti
#16796: merge with 3.3.
Ezio Melotti
#16796: merge with 3.2.
Branches
3.3
Ezio Melotti
#16796: fix typo. Patch by Michael Schurter.
Branches
3.2
Ezio Melotti
#16796: fix typo. Patch by Michael Schurter.
Branches
2.7
Serhiy Storchaka
Issue #16792: Use assertIs() to test identity.
Branches
2.7
Serhiy Storchaka
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Serhiy Storchaka
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Branches
3.3
Serhiy Storchaka
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Branches
2.7
Serhiy Storchaka
Issue #16792: Mark small ints test as CPython-only.
Serhiy Storchaka
Issue #16792: Mark small ints test as CPython-only.
Branches
3.3
Serhiy Storchaka
Issue #16792: Mark small ints test as CPython-only.
Branches
3.2
Serhiy Storchaka
Issue #16792: Mark small ints test as CPython-only.
Branches
2.7
Ezio Melotti
Null merge with 3.3.
Ezio Melotti
Null merge with 3.2.
Branches
3.3
Chris Jerdonek
Issue #16790: add some of the recent issue #16045 int tests to test_long. This patch also provides a simple way to share tests going forward between test_int and test_long.
Branches
2.7
Brian Curtin
Fix #16759. Convert DWORD registry values using unsigned long. When converting REG_DWORD registry values into Python, the conversion needs to be made from an *unsigned* long (k instead of i) to match the DWORD type.
Branches
2.7
Brian Curtin
another merge
Branches
3.3
Brian Curtin
Merge
Branches
3.2
Brian Curtin
merge
Brian Curtin
Merge 3.3
Brian Curtin
Merge 3.2
Branches
3.3
Brian Curtin
Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong. When converting REG_DWORD registry values into Python ints, the conversion needs to be made from an *unsigned* long to match the DWORD type.
Branches
3.2
Serhiy Storchaka
Null merge.
Branches
2.7
  1. Prev
  2. Next