python / cpython

The Python programming language
https://www.python.org
Other
63.08k stars 30.21k forks source link

Metrowerks library adds 0x itself #34429

Closed jackjansen closed 23 years ago

jackjansen commented 23 years ago
BPO 419649
Nosy @tim-one, @jackjansen
Files
  • unicodeobject.patch
  • 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: ```python assignee = 'https://github.com/tim-one' closed_at = created_at = labels = ['interpreter-core'] title = 'Metrowerks library adds 0x itself' updated_at = user = 'https://github.com/jackjansen' ``` bugs.python.org fields: ```python activity = actor = 'tim.peters' assignee = 'tim.peters' closed = True closed_date = None closer = None components = ['Interpreter Core'] creation = creator = 'jackjansen' dependencies = [] files = ['3297'] hgrepos = [] issue_num = 419649 keywords = ['patch'] message_count = 3.0 messages = ['36477', '36478', '36479'] nosy_count = 2.0 nosy_names = ['tim.peters', 'jackjansen'] pr_nums = [] priority = 'high' resolution = 'rejected' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue419649' versions = [] ```

    jackjansen commented 23 years ago

    The Metrowerks C library on the Mac prints 0 as 0x0 already with %#x, so disable the code to add it ourselves.

    jackjansen commented 23 years ago

    Logged In: YES user_id=45365

    tim-one commented 23 years ago

    Logged In: YES user_id=31435

    Jack, is this still a problem under current CVS? Thought this got fixed already. As noted then, an #ifdef isn't a good enough solution.