Author bochecha
Recipients akuchling, bochecha, eric.araujo, eric.smith, ezio.melotti, fdrake, kveretennicov, pitrou, python-dev, r.david.murray, ronaldoussoren, serhiy.storchaka, tim.golden
Date 2012-11-06.15:12:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>>> glob.glob('*.{sub,ac}')

I'm surprised this broke, this is one of the behaviour I thought I had implemented in my original patch. :-/

> (and moreover, now it is impossible to glob for paths that contain braces)

I am absolutely sure this was working in my original submission, I had even added unit tests for it:
+        # test some edge cases where braces must not be expanded
+        eq(self.glob('c{}d'), [self.norm('c{}d')])
+        eq(self.glob('c{d{e,f}g'), map(self.norm, ['c{deg', 'c{dfg']))
+        eq(self.glob('c{d,e}{f}g'), map(self.norm, ['cd{f}g', 'ce{f}g']))
+        eq(self.glob('c{d,e}f}g'), map(self.norm, ['cdf}g', 'cef}g']))
Date User Action Args
2012-11-06 15:12:52bochechasetrecipients: + bochecha, fdrake, akuchling, ronaldoussoren, pitrou, eric.smith, tim.golden, kveretennicov, ezio.melotti, eric.araujo, r.david.murray, python-dev, serhiy.storchaka
2012-11-06 15:12:52bochechasetmessageid: <>
2012-11-06 15:12:52bochechalinkissue9584 messages
2012-11-06 15:12:52bochechacreate