1. 05 Nis, 2009 1 kayıt (commit)
    • Georg Brandl's avatar
      Merged revisions… · 8943caf7
      Georg Brandl yazdı
      Merged revisions 70642,70648,70656,70661,70765,70773,70789,70824-70825,70828,70830,70832,70836,70838,70842,70851,70855,70857-70858 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r70642 | georg.brandl | 2009-03-28 01:48:48 +0100 (Sa, 28 Mär 2009) | 1 line
      
        Fix typo.
      ........
        r70648 | georg.brandl | 2009-03-28 20:10:37 +0100 (Sa, 28 Mär 2009) | 1 line
      
        #5324: document __subclasses__().
      ........
        r70656 | georg.brandl | 2009-03-28 20:33:33 +0100 (Sa, 28 Mär 2009) | 2 lines
      
        Add a script to fixup rst files if the pre-commit hook rejects them.
      ........
        r70661 | georg.brandl | 2009-03-28 20:57:36 +0100 (Sa, 28 Mär 2009) | 2 lines
      
        Add section numbering to some of the larger subdocuments.
      ........
        r70765 | georg.brandl | 2009-03-31 00:09:34 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5199: make warning about vars() assignment more visible.
      ........
        r70773 | georg.brandl | 2009-03-31 00:43:00 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5039: make it clear that the impl. note refers to CPython.
      ........
        r70789 | georg.brandl | 2009-03-31 03:25:15 +0200 (Di, 31 Mär 2009) | 1 line
      
        Fix a wrong struct field assignment (docstring as closure).
      ........
        r70824 | georg.brandl | 2009-03-31 17:43:20 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5519: remove reference to Kodos, which seems dead.
      ........
        r70825 | georg.brandl | 2009-03-31 17:46:30 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5566: fix versionadded from PyLong ssize_t functions.
      ........
        r70828 | georg.brandl | 2009-03-31 17:50:16 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5581: fget argument of abstractproperty is optional as well.
      ........
        r70830 | georg.brandl | 2009-03-31 18:11:45 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5529: backport new docs of import semantics written by Brett to 2.x.
      ........
        r70832 | georg.brandl | 2009-03-31 18:31:11 +0200 (Di, 31 Mär 2009) | 1 line
      
        #1386675: specify WindowsError as the exception, because it has a winerror attribute that EnvironmentError doesnt have.
      ........
        r70836 | georg.brandl | 2009-03-31 18:50:25 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5417: replace references to undocumented functions by ones to documented functions.
      ........
        r70838 | georg.brandl | 2009-03-31 18:54:38 +0200 (Di, 31 Mär 2009) | 1 line
      
        #992207: document that the parser only accepts \\n newlines.
      ........
        r70842 | georg.brandl | 2009-03-31 19:13:06 +0200 (Di, 31 Mär 2009) | 1 line
      
        #970783: document PyObject_Generic[GS]etAttr.
      ........
        r70851 | georg.brandl | 2009-03-31 20:26:55 +0200 (Di, 31 Mär 2009) | 1 line
      
        #837577: note cryptic return value of spawn*e on invalid env dicts.
      ........
        r70855 | georg.brandl | 2009-03-31 20:30:37 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5245: note that PyRun_SimpleString doesnt return on SystemExit.
      ........
        r70857 | georg.brandl | 2009-03-31 20:33:10 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5227: note that Py_Main doesnt return on SystemExit.
      ........
        r70858 | georg.brandl | 2009-03-31 20:38:56 +0200 (Di, 31 Mär 2009) | 1 line
      
        #5241: document missing U in regex howto.
      ........
      8943caf7
  2. 30 Mar, 2009 1 kayıt (commit)
    • Benjamin Peterson's avatar
      Merged revisions… · 5879d412
      Benjamin Peterson yazdı
      Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line
      
        this is better written using assertRaises
      ........
        r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line
      
        this can be slightly less ugly
      ........
        r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines
      
        Adjusted _tkinter to compile without warnings when WITH_THREAD is not
        defined (part of issue #5035)
      ........
        r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line
      
        Fix typo.
      ........
        r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line
      
        give os.symlink and os.link() better parameter names #5564
      ........
        r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line
      
        Switch to fixed Sphinx version.
      ........
        r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines
      
        Add section numbering to some of the larger subdocuments.
      ........
        r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line
      
        Typo fix.
      ........
        r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line
      
        Make life easier for non-CPython implementations.
      ........
        r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line
      
        this has been fixed since 2.6 (I love removing these)
      ........
        r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line
      
        thanks to guido's bytecode verifier, this is fixed
      ........
        r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line
      
        use the awesome new status iterator
      ........
        r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line
      
        there's actually three methods here #5600
      ........
      5879d412
  3. 28 Mar, 2009 1 kayıt (commit)
  4. 16 Şub, 2009 1 kayıt (commit)
  5. 27 Ock, 2009 1 kayıt (commit)
  6. 19 Agu, 2008 1 kayıt (commit)
  7. 30 Agu, 2007 1 kayıt (commit)
  8. 17 Tem, 2007 1 kayıt (commit)
  9. 03 Tem, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      Merged revisions 56125-56153 via svnmerge from · c1f779cb
      Guido van Rossum yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/p3yk
      
      ........
        r56127 | georg.brandl | 2007-06-30 09:32:49 +0200 (Sat, 30 Jun 2007) | 2 lines
      
        Fix a place where floor division would be in order.
      ........
        r56135 | guido.van.rossum | 2007-07-01 06:13:54 +0200 (Sun, 01 Jul 2007) | 28 lines
      
        Make map() and filter() identical to itertools.imap() and .ifilter(),
        respectively.
      
        I fixed two bootstrap issues, due to the dynamic import of itertools:
      
        1. Starting python requires that map() and filter() are not used until
           site.py has added build/lib.<arch> to sys.path.
        2. Building python requires that setup.py and distutils and everything
           they use is free of map() and filter() calls.
      
        Beyond this, I only fixed the tests in test_builtin.py.
        Others, please help fixing the remaining tests that are now broken!
        The fixes are usually simple:
        a. map(None, X) -> list(X)
        b. map(F, X) -> list(map(F, X))
        c. map(lambda x: F(x), X) -> [F(x) for x in X]
        d. filter(F, X) -> list(filter(F, X))
        e. filter(lambda x: P(x), X) -> [x for x in X if P(x)]
      
        Someone, please also contribute a fixer for 2to3 to do this.
        It can leave map()/filter() calls alone that are already
        inside a list() or sorted() call or for-loop.
      
        Only in rare cases have I seen code that depends on map() of lists
        of different lengths going to the end of the longest, or on filter()
        of a string or tuple returning an object of the same type; these
        will need more thought to fix.
      ........
        r56136 | guido.van.rossum | 2007-07-01 06:22:01 +0200 (Sun, 01 Jul 2007) | 3 lines
      
        Make it so that test_decimal fails instead of hangs, to help automated
        test runners.
      ........
        r56139 | georg.brandl | 2007-07-01 18:20:58 +0200 (Sun, 01 Jul 2007) | 2 lines
      
        Fix a few test cases after the map->imap change.
      ........
        r56142 | neal.norwitz | 2007-07-02 06:38:12 +0200 (Mon, 02 Jul 2007) | 1 line
      
        Get a bunch more tests passing after converting map/filter to return iterators.
      ........
        r56147 | guido.van.rossum | 2007-07-02 15:32:02 +0200 (Mon, 02 Jul 2007) | 4 lines
      
        Fix the remaining failing unit tests (at least on OSX).
        Also tweaked urllib2 so it doesn't raise socket.gaierror when
        all network interfaces are turned off.
      ........
      c1f779cb
  10. 17 Nis, 2007 1 kayıt (commit)
  11. 24 Agu, 2006 1 kayıt (commit)
    • Guido van Rossum's avatar
      Restructure comparison dramatically. There is no longer a default · 47b9ff6b
      Guido van Rossum yazdı
      *ordering* between objects; there is only a default equality test
      (defined by an object being equal to itself only).  Read the comment
      in object.c.  The current implementation never uses a three-way
      comparison to compute a rich comparison, but it does use a rich
      comparison to compute a three-way comparison.  I'm not quite done
      ripping out all the calls to PyObject_Compare/Cmp, or replacing
      tp_compare implementations with tp_richcompare implementations;
      but much of that has happened (to make most unit tests pass).
      
      The following tests still fail, because I need help deciding
      or understanding:
      
      test_codeop -- depends on comparing code objects
      test_datetime -- need Tim Peters' opinion
      test_marshal -- depends on comparing code objects
      test_mutants -- need help understanding it
      
      The problem with test_codeop and test_marshal is this: these tests
      compare two different code objects and expect them to be equal.
      Is that still a feature we'd like to support?  I've temporarily
      removed the comparison and hash code from code objects, so they
      use the default (equality by pointer only) comparison.
      
      For the other two tests, run them to see for yourself.
      (There may be more failing test with "-u all".)
      
      A general problem with getting lots of these tests to pass is
      the reality that for object types that have a natural total ordering,
      implementing __cmp__ is much more convenient than implementing
      __eq__, __ne__, __lt__, and so on.  Should we go back to allowing
      __cmp__ to provide a total ordering?  Should we provide some other
      way to implement rich comparison with a single method override?
      Alex proposed a __key__() method; I've considered a __richcmp__()
      method.  Or perhaps __cmp__() just shouldn't be killed off...
      47b9ff6b
  12. 14 Kas, 2002 1 kayıt (commit)
  13. 06 Ara, 2001 1 kayıt (commit)
  14. 22 Mar, 2001 1 kayıt (commit)
  15. 09 Şub, 2001 1 kayıt (commit)
  16. 26 Eyl, 2000 1 kayıt (commit)
  17. 28 Haz, 2000 1 kayıt (commit)
  18. 18 Ara, 1998 1 kayıt (commit)