This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, amaury.forgeotdarc, eric.araujo, ezio.melotti, pitrou, vstinner
Date 2010-08-13.00:44:27
SpamBayes Score 8.284499e-08
Marked as misclassified No
Message-id <1281660269.65.0.506874022181.issue9425@psf.upfronthosting.co.za>
In-reply-to
Content
(About PyFile_FromFd)
pitrou> Actually, I'm not sure there's much point since the "name"
pitrou>  attribute is currently read-only: (...)

Oh, it remembers me #4762. I closed this issue with the message "The last problem occurs with imp.find_module(). But imp.find_module() also returns a "filename" argument, so I don't think that the issue really matters. Let's close it ;-)".

Even if it would be possible to set f(.buffer).raw.name, the solution is maybe just to ignore the argument (don't set any name attribute). Can we change such public function?
History
Date User Action Args
2010-08-13 00:44:30vstinnersetrecipients: + vstinner, amaury.forgeotdarc, pitrou, ezio.melotti, eric.araujo, Arfrever
2010-08-13 00:44:29vstinnersetmessageid: <1281660269.65.0.506874022181.issue9425@psf.upfronthosting.co.za>
2010-08-13 00:44:28vstinnerlinkissue9425 messages
2010-08-13 00:44:27vstinnercreate