Message177000
| Author |
serhiy.storchaka |
| Recipients |
Aquinas, Tilka, a1abhishek, docs@python, eric.araujo, eric.smith, ezio.melotti, george.hu, kveretennicov, l0nwlf, maker, serhiy.storchaka, terry.reedy |
| Date |
2012年12月05日.19:31:10 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1354735870.74.0.104468096594.issue8402@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It is good, if stdlib has function for escaping any special characters, even if this function is simple. There are already escape functions for re and sgml/xml/html.
Private function glob.glob1 used in Lib/msilib and Tools/msi to prevent unexpected globbing in parent directory name. ``glob.glob1(dirname, pattern)`` should be replaced by ``glob.glob(os.path.join(fnmatch.escape(dirname), pattern)`` in external code. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年12月05日 19:31:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, eric.smith, kveretennicov, ezio.melotti, eric.araujo, l0nwlf, george.hu, docs@python, maker, Aquinas, Tilka, a1abhishek |
| 2012年12月05日 19:31:10 | serhiy.storchaka | set | messageid: <1354735870.74.0.104468096594.issue8402@psf.upfronthosting.co.za> |
| 2012年12月05日 19:31:10 | serhiy.storchaka | link | issue8402 messages |
| 2012年12月05日 19:31:10 | serhiy.storchaka | create |
|