Opened 4 years ago

Closed 4 years ago

#26346 closed defect (fixed)

py3: a bit of work in src/doc

Reported by: jhpalmieri Owned by:
Priority: minor Milestone: sage-8.4
Component: python3 Keywords:
Cc: chapoton, tscrim Merged in:
Authors: John Palmieri Reviewers: Travis Scrimshaw
Report Upstream: N/A Work issues:
Branch: a70559f (Commits, GitHub, GitLab) Commit: a70559f9c9da2e6a1beb79e3bd63dffe8f72930c
Dependencies: Stopgaps:

Status badges


Fix some doctests in src/doc. There is a lot more work to do there.

Change History (4)

comment:1 Changed 4 years ago by jhpalmieri

  • Branch set to u/jhpalmieri/docs-py3

comment:2 Changed 4 years ago by jhpalmieri

  • Cc chapoton tscrim added
  • Commit set to a70559f9c9da2e6a1beb79e3bd63dffe8f72930c
  • Status changed from new to needs_review

I should say that I don't like thematic_tutorials/functional_programming.rst: I think we should be suggesting that people use list comprehensions and for loops instead of map and reduce. That certainly seems to be the direction Python is going, especially since reduce is no longer a built in function in Python 3. But I didn't want to rewrite that document right now. Should I open up another ticket for that rewrite?

New commits:

a70559ftrac 26346: some Python 3 doctest fixes for src/doc

comment:3 Changed 4 years ago by tscrim

  • Reviewers set to Travis Scrimshaw
  • Status changed from needs_review to positive_review

Yes, a rewrite should be a second ticket. Python3 still supports a number of functional programming operations/paradigms, but all are returning views (AFAIK). We probably want someone who does functional programming (e.g., a lisp programmer) to do the bulk of the rewrite.

comment:4 Changed 4 years ago by vbraun

  • Branch changed from u/jhpalmieri/docs-py3 to a70559f9c9da2e6a1beb79e3bd63dffe8f72930c
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.