Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11814

Bug#939181: [Help] Re: Bug#939181: cycle: Python2 removal in sid/bullseye

From peter green <plugwash@p10link.net>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#939181: [Help] Re: Bug#939181: cycle: Python2 removal in sid/bullseye
Date 2019-09-15 16:00 +0200
Message-ID <yGD4C-1Lw-1@gated-at.bofh.it> (permalink)
References <yBKT7-8wu-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> > tmp = rt.encrypt('Cycle{}'.format(pickle.dumps(objSave)))
>
> Thanks to this hint
This hint was *wrong*, it will introduce garbage into the string and the "rotor" code is clearly designed to work with byte strings, not unicode strings.

Change it to

"tmp=rt.encrypt( b'Cycle'+pickle.dumps(objSave) )"


Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#939181: [Help] Re: Bug#939181: cycle: Python2 removal in sid/bullseye peter green <plugwash@p10link.net> - 2019-09-15 16:00 +0200
  Bug#939181: [Help] Re: Bug#939181: cycle: Python2 removal in sid/bullseye Andreas Tille <andreas@an3as.eu> - 2019-09-16 11:50 +0200
    Re: [Help] Re: Bug#939181: cycle: Python2 removal in sid/bullseye Michael Kesper <mkesper@schokokeks.org> - 2019-09-16 12:00 +0200
      Re: [Help] Re: Bug#939181: cycle: Python2 removal in sid/bullseye Andreas Tille <andreas@an3as.eu> - 2019-09-18 17:50 +0200

csiph-web