Title: Duplicate code in
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Jelle Zijlstra, Mariatta, alexandre.vassalotti, pitrou, serhiy.storchaka, tim.peters
Priority: normal Keywords:

Created on 2017-04-26 15:50 by Jelle Zijlstra, last changed 2017-04-27 16:07 by serhiy.storchaka. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 1301 merged Jelle Zijlstra, 2017-04-26 15:50
Messages (6)
msg292364 - (view) Author: Jelle Zijlstra (Jelle Zijlstra) * (Python triager) Date: 2017-04-26 15:50
The bytes1 ArgumentDescriptor is duplicated in
msg292366 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2017-04-26 15:54
I already commented on github - +1 for this change.
msg292367 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2017-04-26 16:15
Does this need to be backported?
msg292370 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-04-26 16:32
The variant without " in the string" is more correct and consistent with bytes4 and bytes8.

The first bytes1 was added in issue16550. The duplicate was mistakenly added in issue17810.

This change can be backported, but it is not worth since the duplication doesn't have any effect.
msg292457 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-04-27 16:05
New changeset 5a4e3d8f9c37e700402b23fafbfc413e5ca3113d by Serhiy Storchaka (Jelle Zijlstra) in branch 'master':
bpo-30174: Remove duplicate definition from pickletools (#1301)
msg292459 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-04-27 16:07
Thank you for catching this Jelle!
Date User Action Args
2017-04-27 16:07:12serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg292459

stage: patch review -> resolved
2017-04-27 16:05:29serhiy.storchakasetmessages: + msg292457
2017-04-26 16:32:47serhiy.storchakasetnosy: + pitrou, serhiy.storchaka
messages: + msg292370

components: + Library (Lib)
type: behavior
2017-04-26 16:15:20Mariattasetversions: + Python 3.7
nosy: + Mariatta

messages: + msg292367

stage: patch review
2017-04-26 15:54:11tim.peterssetnosy: + tim.peters
messages: + msg292366
2017-04-26 15:50:03Jelle Zijlstracreate