git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Use Python's "print" as a function, not as a keyword

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Dec 21, 2011, 02:48 UTC
Message-ID
<CACBZZX7PVyCFfHTJN_QZfyt5wAcr4UAiJSmo54PSi=8pgv3sYA@mail.gmail.com>
In-Reply-To
<20111221021930.GA31364@thinkpad>
On Wed, Dec 21, 2011 at 03:19, Sebastian Morr <sebastian@morr.cc> wrote:
> But, as nobody seems to have cared before: Is Git designed to be
> compatible only with versions prior 3.0?

I'm running Debian unstable and it has Python 2.7. Most people are still using Python 2.x as their default system Python since 3.x breaks backwards compatibility for common constructs like print.

Does this only break Python 2.6, or all 2.x versions of Python?

What's our currently supported Python version for the Python code in Git? It's 5.8.0 for Perl, do we have any particular aim for a supported Python version?

Previous: Sebastian MorrNext: Sverre Rabbelier
Message 2 of 5 in “Use Python's "print" as a function, not as a keyword”
  1. Use Python's "print" as a function, not as a keywordSebastian Morr, Dec 21, 2011
  2. Ævar Arnfjörð BjarmasonDec 21, 2011
  3. Sverre RabbelierDec 21, 2011
  4. Pete WyckoffDec 27, 2011
  5. Frans KlaverDec 21, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.