Skip to content

[py3k] pdb does not work in python 3000 #45379

Closed

Description

@gpshead
BPO 1038
Nosy @gvanrossum, @birkenfeld, @gpshead

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2007-09-12.19:44:33.592>
created_at = <Date 2007-08-27.23:32:11.094>
labels = ['type-bug', 'library']
title = '[py3k] pdb does not work in python 3000'
updated_at = <Date 2008-01-06.22:29:45.643>
user = 'https://github.com/gpshead'

bugs.python.org fields:

activity = <Date 2008-01-06.22:29:45.643>
actor = 'admin'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2007-09-12.19:44:33.592>
closer = 'georg.brandl'
components = ['Library (Lib)']
creation = <Date 2007-08-27.23:32:11.094>
creator = 'gregory.p.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 1038
keywords = []
message_count = 4.0
messages = ['55342', '55438', '55453', '55869']
nosy_count = 3.0
nosy_names = ['gvanrossum', 'georg.brandl', 'gregory.p.smith']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue1038'
versions = ['Python 3.0']

Activity

  1. gpshead commented on Aug 27, 2007

    @gpshead
    MemberAuthor

    The Lib/pdb.py debugger fails in the py3k branch.

    Traceback (most recent call last):
      File "/usr/local/gps/python/py3k/Lib/pdb.py", line 1247, in main
        pdb._runscript(mainpyfile)
      File "/usr/local/gps/python/py3k/Lib/pdb.py", line 1173, in _runscript
        self.run(statement)
      File "/usr/local/gps/python/py3k/Lib/bdb.py", line 365, in run
        exec(cmd, globals, locals)
      File "<string>", line 1
         exec("# bla bla bla first line of your file being debugged
                                   ^
     SyntaxError: EOL while scanning single-quoted string
    Uncaught exception. Entering post mortem debugging
  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    type-bugAn unexpected behavior, bug, or error
    on Aug 27, 2007
  3. gvanrossum commented on Aug 29, 2007

    @gvanrossum
    Member

    Why are you using _runscript(), which is an internal routine? I've had a
    fair amount of success with other invocations, like pdb.run().

  4. gpshead commented on Aug 30, 2007

    @gpshead
    MemberAuthor

    I was running it by typing "./python Lib/pdb.py Lib/test_foo.py"

  5. birkenfeld commented on Sep 12, 2007

    @birkenfeld
    Member

    Fixed in rev. 58127.

  6. self-assigned this
    on Sep 12, 2007
  7. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions