Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A autojump
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 158
    • Issues 158
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 54
    • Merge requests 54
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • William Ting
  • autojump
  • Merge requests
  • !54

Use pickle protocol 2.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/int3/other-changes into master Jun 02, 2011
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: int3

virtualenv is able to change the version of the 'default' python interpreter. In particular I use it to switch between python 2 and 3 on my setup. However, python 2 isn't able to read the latest version of the pickle file format, so autojump fails whenever I switch over. This change ensures that autojump uses the backwards-compatible pickle format.

Existing users should not notice anything -- if they are using python 3 and their dic_file is currently in version 3, autojump will be able to open it as usual, but it will save the file in the version 2 format.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/int3/other-changes