Michael E Brown <[EMAIL PROTECTED]> writes:

>> -            rpmmacros.close()
>
> You just removed the close() on the macros file. This was probably not
> intended.

No; it was intended. As a C++ developer I trust into (C)Python's reference
counting + stack unwinding. Most python developers are doing this too, or
why are they not writing

| f = open("...")
| try:
|         ...
| finally:
|         f.close()

;)




Enrico

Attachment: pgpmF6jmGPJFV.pgp
Description: PGP signature

--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to