Message166527
> I think there are two options simple enough to sneak in to 3.3:
>
> (1) The trivial patch of initially setting self->args in __new__().
>
> (2) Georg's idea of additionally setting a __newargs__ attribute in
> __new__() and using it in __reduce__(). However, I would store
> __newargs__ directly in the struct to avoid always triggering creation
> of a dict for the instance.
At this point of the release process, the trivial approach sounds safer
to me (but is it?). |
|
Date |
User |
Action |
Args |
2012-07-26 23:23:17 | pitrou | set | recipients:
+ pitrou, gvanrossum, loewis, nnorwitz, brett.cannon, georg.brandl, facundobatista, jafo, ehuss, tseaver, jaraco, belopolsky, zseil, fmitha, vstinner, taleinat, alexandre.vassalotti, jarpa, bpb, zbysz, kylev, lukasz.langa, sbt |
2012-07-26 23:23:16 | pitrou | link | issue1692335 messages |
2012-07-26 23:23:16 | pitrou | create | |
|