GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ipython breaks on Python-3.13.0b1 when a 'tempfilepager' is not defined · Issue #119185 · python/cpython

ipython breaks on Python-3.13.0b1 when a 'tempfilepager' is not defined  #119185

New issue
Copy link
New issue
Copy link
Closed
Closed
ipython breaks on Python-3.13.0b1 when a 'tempfilepager' is not defined #119185
Copy link
Labels
3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixeseasytriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@stonebig
stonebig
opened on May 19, 2024
Issue body actions

Bug report

Bug description:

on a windows Python-3.13.0b1 non-english

test:

Python 3.13.0b1 (tags/v3.13.0b1:2268289, May  8 2024, 12:20:07) [MSC v.1938 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.24.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: help(len)

result:

Unexpected exception formatting exception. Falling back to standard exception
Traceback (most recent call last):
  File "......\python-3.13.0b1.amd64\Lib\site-packages\IPython\core\interactiveshell.py", line 3577, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<ipython-input-1-1dda769017ba>", line 1, in <module>
    help(len)
    ~~~~^^^^^
  File "<frozen _sitebuiltins>", line 103, in __call__
  File "......\python-3.13.0b1.amd64\Lib\pydoc.py", line 1983, in __call__
    self.help(request)
    ~~~~~~~~~^^^^^^^^^
  File "......\python-3.13.0b1.amd64\Lib\pydoc.py", line 2044, in help
    else: doc(request, 'Help on %s:', output=self._output, is_cli=is_cli)
          ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "......\python-3.13.0b1.amd64\Lib\pydoc.py", line 1757, in doc
    pager(render_doc(thing, title, forceload), f'Help on {what!s}')
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "......\python-3.13.0b1.amd64\Lib\pydoc.py", line 1656, in pager
    pager(text, title)
    ~~~~~^^^^^^^^^^^^^
  File "......\python-3.13.0b1.amd64\Lib\_pyrepl\pager.py", line 38, in <lambda>
    return lambda text, title='': tempfilepager(plain(text), 'more <')
                                  ^^^^^^^^^^^^^
NameError: name 'tempfilepager' is not defined. Did you mean: 'tempfile_pager'?

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Linked PRs

  • gh-119185: Fix typo in _pyrepl.pager: tempfilepager should be tempfile_pager #118881
  • [3.13] gh-119185: Fix typo in _pyrepl.pager: tempfilepager should be tempfile_pager (GH-118881) #119211

Activity

  1. stonebig
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on May 19, 2024
  2. stonebig commented on May 19, 2024

    @stonebig
    stonebig
    on May 19, 2024
    Author
    More actions

    the fingerprint says:
    image

    version of packages used:

              ipython==8.24.0 ,
                   decorator==5.1.1
                   jedi==0.19.1 >=0.16,
                        parso==0.8.4 (<0.9.0,>=0.8.3)
                   matplotlib-inline==0.1.6 ,
                        traitlets==5.14.1
                   prompt-toolkit==3.0.43 <3.1.0,>=3.0.41,
                        wcwidth==0.2.13
                   pygments==2.17.2 >=2.4.0
                   stack-data==0.6.3 ,
                        executing==2.0.1 >=1.2.0
                        asttokens==2.4.1 >=2.1.0,
                             six==1.16.0 >=1.12.0
                        pure-eval==0.2.2
                   traitlets==5.14.1 >=5.13.0
                   colorama==0.4.6
    
  3. graingert commented on May 19, 2024

    @graingert
    graingert
    on May 19, 2024
    Contributor
    More actions

    This is a typo it should be tempfile_pager

    Reacted by stonebig
  4. graingert
    added
    triagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.
    3.13only security fixesonly security fixes
    3.14bugs and security fixesbugs and security fixes
    easy
    on May 19, 2024
  5. terryjreedy
    changed the title [-]ipython breaks on Python-3.13.0b1 with a 'tempfilepager' is not defined [/-] [+]ipython breaks on Python-3.13.0b1 when a 'tempfilepager' is not defined [/+] on May 19, 2024
  6. Eclips4 commented on May 19, 2024

    @Eclips4
    Eclips4
    on May 19, 2024
    Member
    More actions

    We have already a PR for fix that: #118881

    Reacted by stonebig
  7. JelleZijlstra
    added a commit that references this issue on May 20, 2024

    gh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should be `te…

    05e1dce
  8. miss-islington
    added a commit that references this issue on May 20, 2024

    pythongh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should …

    3f0adf5
  9. JelleZijlstra
    added a commit that references this issue on May 20, 2024

    [3.13] gh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should…

    a52ed7e
  10. vstinner commented on May 20, 2024

    @vstinner
    vstinner
    on May 20, 2024
    Member
    More actions

    Fixed by 05e1dce

    Reacted by stonebig
  11. vstinner
    closed this as completedon May 20, 2024
  12. estyxx
    added a commit that references this issue on Jul 17, 2024

    pythongh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should …

    b5f66ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixesonly security fixes3.14bugs and security fixesbugs and security fixeseasytriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.