Python 3.13 Changes !!link!!
original = UserConfig() modified = UserConfig(theme="dark", notifications=original.notifications, font_size=original.font_size)
# Copy with metadata preservation src.copy(dst, preserve_metadata=True) print(f"Copied: dst.read_text()") python 3.13 changes
@dataclass class UserConfig: theme: str = "light" notifications: bool = True font_size: int = 12 original = UserConfig() modified = UserConfig(theme="dark"