# Feature or enhancement

### Proposal:

Not sure if this has much practical sense.  On another hand, other builtin numerical types (int, float) support at least bytes and bytearray (float - also other objects, supporting buffer protocol).

Filled as a feature request, but as it [was noted](https://github.com/python/cpython/pull/109642/#discussion_r1616789032) by @serhiy-storchaka - that might be treated as a regression (in py3).

I will work on a patch.

### Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

### Links to previous discussion of this feature:

_No response_

<!-- gh-linked-prs -->
### Linked PRs
* gh-119825
<!-- /gh-linked-prs -->

support bytes/bytearray in complex() constructor
This is a GitHub Issue
repo:cpython
owner:python
Title : support bytes/bytearray in complex() constructor
Issue date:

--- start body ---
# Feature or enhancement

### Proposal:

Not sure if this has much practical sense.  On another hand, other builtin numerical types (int, float) support at least bytes and bytearray (float - also other objects, supporting buffer protocol).

Filled as a feature request, but as it [was noted](https://github.com/python/cpython/pull/109642/#discussion_r1616789032) by @serhiy-storchaka - that might be treated as a regression (in py3).

I will work on a patch.

### Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

### Links to previous discussion of this feature:

_No response_

<!-- gh-linked-prs -->
### Linked PRs
* gh-119825
<!-- /gh-linked-prs -->

--- end body ---
