Skip to content

Python 3 raises Unicode errors with the C locale #64045

Closed
@Sworddragon

Description

@Sworddragon
BPO 19846
Nosy @malemburg, @loewis, @terryjreedy, @ncoghlan, @pitrou, @vstinner, @larryhastings, @jwilk, @abadger, @bitdancer, @serhiy-storchaka
Files
  • test.py: Example script
  • asciilocale.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:

    assignee = None
    closed_at = <Date 2013-12-09.10:42:16.755>
    created_at = <Date 2013-11-30.21:40:45.188>
    labels = ['type-bug', 'invalid', 'expert-IO']
    title = 'Python 3 raises Unicode errors with the C locale'
    updated_at = <Date 2017-12-18.14:38:09.078>
    user = 'https://bugs.python.org/Sworddragon'

    bugs.python.org fields:

    activity = <Date 2017-12-18.14:38:09.078>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-12-09.10:42:16.755>
    closer = 'vstinner'
    components = ['IO']
    creation = <Date 2013-11-30.21:40:45.188>
    creator = 'Sworddragon'
    dependencies = []
    files = ['32914', '33026']
    hgrepos = []
    issue_num = 19846
    keywords = ['patch']
    message_count = 68.0
    messages = ['204849', '204850', '204852', '205418', '205419', '205454', '205459', '205462', '205465', '205472', '205497', '205498', '205505', '205538', '205545', '205547', '205548', '205549', '205550', '205554', '205555', '205564', '205611', '205615', '205623', '205625', '205637', '205640', '205642', '205646', '205654', '205655', '205669', '205670', '205671', '205672', '205673', '205675', '205688', '205690', '205691', '205693', '205694', '205727', '205747', '205748', '205749', '205751', '205772', '205783', '205848', '205855', '205859', '205871', '206055', '206065', '206068', '206071', '206098', '206101', '206107', '206109', '206112', '206116', '206169', '232290', '283717', '308567']
    nosy_count = 14.0
    nosy_names = ['lemburg', 'loewis', 'terry.reedy', 'ncoghlan', 'pitrou', 'vstinner', 'larry', 'jwilk', 'a.badger', 'r.david.murray', 'Sworddragon', 'serhiy.storchaka', 'bkabrda', 'editor-buzzfeed']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue19846'
    versions = ['Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      topic-IOtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions