Opened 4 years ago

Closed 4 years ago

#26397 closed defect (fixed)

py3: allow Python 3 bytes to be multiplied by Sage Integers

Reported by: Erik Bray Owned by:
Priority: minor Milestone: sage-8.4
Component: python3 Keywords:
Cc: Merged in:
Authors: Erik Bray Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: 402ac35 (Commits, GitHub, GitLab) Commit: 402ac35585754d67c5f30bac268b3dcf7f16e335
Dependencies: Stopgaps:

Status badges

Description

This already works on Python 2 with all basestring types, but needs an extra bit for Python 3 bytes. Noticed this while hacking on #24852.

Change History (4)

comment:1 Changed 4 years ago by git

Commit: 402ac35585754d67c5f30bac268b3dcf7f16e335

Branch pushed to git repo; I updated commit sha1. New commits:

402ac35py3: allow multiplication of Python 3 bytes objects by Integers

comment:2 Changed 4 years ago by Erik Bray

Status: newneeds_review

comment:3 Changed 4 years ago by Frédéric Chapoton

Reviewers: Frédéric Chapoton
Status: needs_reviewpositive_review

ok

comment:4 Changed 4 years ago by Volker Braun

Branch: u/embray/python3/bytes-integer-mul402ac35585754d67c5f30bac268b3dcf7f16e335
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.