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 — compileall's stripdir, prependdir and limit_sl_dest cannot be bytes · Issue #100472 · python/cpython

compileall's stripdir, prependdir and limit_sl_dest cannot be bytes #100472

New issue
Copy link
New issue
Copy link
Closed
Closed
compileall's stripdir, prependdir and limit_sl_dest cannot be bytes#100472
Copy link
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@hauntsaninja
hauntsaninja
opened on Dec 23, 2022
Issue body actions

This is a follow-up to #84627

The docs claim:

The stripdir, prependdir and limit_sl_dest arguments correspond to the -s, -p and -e options described above. They may be specified as str, bytes or os.PathLike.

However, none of these can be bytes.

I propose we just fix the documentation

Also see:

  • compileall: update for py39 typeshed#3956 (comment)
  • Compileall rx argument fix typeshed#5172 (comment)

Linked PRs

  • gh-100472: Fix docs claim that compileall parameters could be bytes #100473
  • [3.11] gh-100472: Fix docs claim that compileall parameters could be bytes (GH-100473) #100514
  • [3.10] gh-100472: Fix docs claim that compileall parameters could be bytes (GH-100473) #100515

Activity

  1. hauntsaninja
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Dec 23, 2022
  2. hauntsaninja
    added 3 commits that reference this issue on Dec 23, 2022

    pythongh-100472: Fix documentation claim that compileall parameters c…

    33a889b

    Merge branch 'main' into pythongh-100472

    53eefb0

    gh-100472: Fix docs claim that compileall parameters could be bytes (#…

    046cbc2
  3. miss-islington
    added 4 commits that reference this issue on Dec 24, 2022

    pythongh-100472: Fix docs claim that compileall parameters could be b…

    ea7e7c7

    pythongh-100472: Fix docs claim that compileall parameters could be b…

    562b932

    gh-100472: Fix docs claim that compileall parameters could be bytes (G…

    ad8d2ef

    gh-100472: Fix docs claim that compileall parameters could be bytes (G…

    f801fa8
  4. hauntsaninja
    closed this as completedon Dec 24, 2022
  5. iritkatriel
    added a commit that references this issue on Dec 28, 2022

    Merged main into regmachine branch (#50)

    fdc73cb
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

    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.