ericvsmith / dataclasses

Apache License 2.0
587 stars 53 forks source link

feat(dataclasses): fix dataclasses line 550 contain _ in var typing.C… #176

Closed angie8215 closed 4 months ago

angie8215 commented 4 months ago

…lassVar

ericvsmith commented 4 months ago

What version of Python is this for?

This is a backport of dataclasses to Python 3.6, which is no longer maintained. Please let me know your use case, and if you're testing with 3.6.

angie8215 commented 4 months ago

I am migrating my project to version 3.10 of python, but for some reason one of the libraries I have is requiring dataclasses and when compiling I get an error specifically on that line 550 for the underscore. Would you have the possibility to modify that detail?

El dom, 7 de jul de 2024, 11:22 a. m., Eric V. Smith < @.***> escribió:

What version of Python is this for?

This is a backport of dataclasses to Python 3.6, which is no longer maintained. Please let me know your use case, and if you're testing with 3.6.

— Reply to this email directly, view it on GitHub https://github.com/ericvsmith/dataclasses/pull/176#issuecomment-2212515022, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJTHWQPT5DIU3SQOOKZEWQTZLF2ORAVCNFSM6AAAAABKNNQKO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGUYTKMBSGI . You are receiving this because you authored the thread.Message ID: @.***>

ericvsmith commented 4 months ago

This code can only be used in python 3.6.

angie8215 commented 4 months ago

Is it possible for you to remove the underscore on line 550?

El jue, 11 de jul de 2024, 11:42 a. m., Eric V. Smith < @.***> escribió:

This code can only be used in python 3.6.

— Reply to this email directly, view it on GitHub https://github.com/ericvsmith/dataclasses/pull/176#issuecomment-2223521696, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJTHWQNFBBHIY3DA6FLFT2DZL272FAVCNFSM6AAAAABKNNQKO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGUZDCNRZGY . You are receiving this because you authored the thread.Message ID: @.***>

ericvsmith commented 4 months ago

Why?