Skip to content

08 value popups an stdin error, no date handle allowed #48281

Closed

Description

@pgimelli
mannequin
BPO 4031

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 = None
closed_at = <Date 2008-10-03.17:04:49.779>
created_at = <Date 2008-10-03.16:43:43.354>
labels = ['build', 'invalid']
title = '08 value popups an stdin error, no date handle allowed'
updated_at = <Date 2008-10-03.17:04:49.779>
user = 'https://bugs.python.org/pgimelli'

bugs.python.org fields:

activity = <Date 2008-10-03.17:04:49.779>
actor = 'amaury.forgeotdarc'
assignee = 'none'
closed = True
closed_date = <Date 2008-10-03.17:04:49.779>
closer = 'amaury.forgeotdarc'
components = []
creation = <Date 2008-10-03.16:43:43.354>
creator = 'pgimelli'
dependencies = []
files = []
hgrepos = []
issue_num = 4031
keywords = []
message_count = 3.0
messages = ['74258', '74259', '74260']
nosy_count = 2.0
nosy_names = ['QuantumTim', 'pgimelli']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue4031'
versions = ['Python 2.5']

Activity

  1. pgimelli commented on Oct 3, 2008

    pgimellimannequin
    MannequinAuthor
    a = 08
     print a
     File"<stdin>",line 1
     a = 08
          <
     syntax error:invalid token

    (if I use 07, the 0 is supressed but it compiles & display the 7)

  2. added
    build
    on Oct 3, 2008
  3. QuantumTim commented on Oct 3, 2008

    QuantumTimmannequin
    Mannequin

    By prefixing a number with 0, you're actually using octal rather than
    decimal (i.e., only digits 0 to 7 are valid). For example, try:

     >>> print 030
    24
     >>> print 077
    63

    patricio wrote:

    New submission from patricio <patriciogimelli@yahoo.com.ar>:

    a = 08
    print a
    File"<stdin>",line 1
    a = 08
    <
    syntax error:invalid token

    (if I use 07, the 0 is supressed but it compiles & display the 7)

    ----------
    messages: 74258
    nosy: pgimelli
    severity: normal
    status: open
    title: 08 value popups an stdin error, no date handle allowed
    type: compile error
    versions: Python 2.5


    Python tracker <report@bugs.python.org>
    <http://bugs.python.org/issue4031\>



    New-bugs-announce mailing list
    New-bugs-announce@python.org
    http://mail.python.org/mailman/listinfo/new-bugs-announce

  4. QuantumTim commented on Oct 3, 2008

    QuantumTimmannequin
    Mannequin

    Whoops, I thought the tracker automatically removed quoted text! :z

  5. 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

No one assigned

    Labels

    build

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions