Skip to content

Blacklist base64, hex, ... codecs from bytes.decode() and str.encode() #63818

@vstinner

Description

@vstinner
BPO 19619
Nosy @malemburg, @doerwalter, @birkenfeld, @ncoghlan, @vstinner, @jwilk, @ezio-melotti, @vadmium, @serhiy-storchaka
Files
  • issue19619_blacklist_proof_of_concept.diff: Simple proof of concept (missing test fixes)
  • issue19619_blacklist_transforms_py34.diff: Implementation using a private attribute on CodecInfo
  • issue19619_blacklist_transforms_py34_postreview.diff: With review comments incorporated
  • issue19619_blacklist_transforms_py34_keyword_only_param.diff: Switched to a keyword only parameter for _is_text_encoding
  • issue19619_blacklist_transforms_py34_refleak_hunting.diff: Refleaks and a new comment in codecs.py
  • issue19619_blacklist_transforms_py33.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 2014-03-02.08:22:09.258>
    created_at = <Date 2013-11-16.00:47:09.694>
    labels = ['type-bug', 'expert-unicode', 'release-blocker']
    title = 'Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()'
    updated_at = <Date 2015-05-31.17:21:40.658>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2015-05-31.17:21:40.658>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-03-02.08:22:09.258>
    closer = 'georg.brandl'
    components = ['Unicode']
    creation = <Date 2013-11-16.00:47:09.694>
    creator = 'vstinner'
    dependencies = []
    files = ['32702', '32755', '32772', '32773', '32774', '34213']
    hgrepos = []
    issue_num = 19619
    keywords = ['patch']
    message_count = 71.0
    messages = ['202996', '203016', '203018', '203029', '203036', '203037', '203039', '203041', '203042', '203046', '203068', '203361', '203364', '203377', '203380', '203386', '203391', '203401', '203631', '203655', '203683', '203699', '203706', '203708', '203730', '203737', '203738', '203739', '203740', '203741', '203742', '203744', '203747', '203748', '203749', '203750', '203752', '203755', '203756', '203785', '203786', '203788', '203822', '203841', '203896', '203897', '203927', '203939', '203955', '203956', '206506', '206514', '206515', '206517', '207111', '210216', '210992', '211012', '211021', '211034', '211060', '211432', '212080', '212081', '212084', '212090', '212097', '212191', '212536', '212537', '244548']
    nosy_count = 10.0
    nosy_names = ['lemburg', 'doerwalter', 'georg.brandl', 'ncoghlan', 'vstinner', 'jwilk', 'ezio.melotti', 'python-dev', 'martin.panter', 'serhiy.storchaka']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue19619'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions