Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cpython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cpython
  • Repository
  • cpython
  • Lib
  • test
  • test_codeccallbacks.py
Find file BlameHistoryPermalink
  • Walter Dörwald's avatar
    Bytes (which are the input for decoding) are mutable now. If a decoding · e78178e2
    Walter Dörwald authored Jul 30, 2007
    error callback changes the bytes object in the exception the decoder might
    use memory that's no longer in use. Change unicode_decode_call_errorhandler()
    so that it fetches the adresses of the bytes array (start and end) from the
    exception object and passes them back to the caller.
    e78178e2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7