ruby/internal
Jean Boussier de1a586ecc proc.c: get rid of CLONESETUP
[Bug #20253]

All the way down to Ruby 1.9, `Proc`, `Method`, `UnboundMethod`
and `Binding` always had their own specific clone and dup routine.

This caused various discrepancies with how other objects behave
on `dup` and `clone. [Bug #20250], [Bug #20253].

This commit get rid of `CLONESETUP` and use the the same codepath
as all other types, so ensure consistency.

NB: It's still not accepting the `freeze` keyword argument on `clone`.

Co-Authored-By: Étienne Barrié <etienne.barrie@gmail.com>
2024-02-12 18:31:48 +01:00
..
2023-12-19 13:09:36 -08:00
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2024-02-01 16:42:09 +09:00
2024-01-24 20:51:50 +09:00
2024-01-11 10:09:53 -05:00
2024-01-30 14:48:59 +09:00
2024-02-12 18:31:48 +01:00
2023-12-07 15:52:35 -05:00
2024-02-05 11:11:07 -05:00
2023-12-07 15:52:35 -05:00
2024-01-05 05:51:25 +09:00
2023-12-07 15:52:35 -05:00
2023-11-24 13:29:04 -05:00