Message112883
| Author |
mark.dickinson |
| Recipients |
BreamoreBoy, gpolo, mark.dickinson |
| Date |
2010年08月04日.20:21:21 |
| SpamBayes Score |
3.908932e-07 |
| Marked as misclassified |
No |
| Message-id |
<1280953283.94.0.315973843752.issue4345@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> If you want to expand it to handle other data types, I'm ok with it
> but I predict troubles for you.
Yes, I suspected as much. I don't know much Tcl, but I'm definitely prepared to believe you on this point. :) I'd be fine with this patch if there's some documentation somewhere that points out that the bool() might give unexpected results (for Python users) for zeros, empty lists, etc.
I assume that Tcl_GetCharLength works for any object, regardless of its internal representation?
Can you update the patch for py3k, and add docs and tests? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年08月04日 20:21:23 | mark.dickinson | set | recipients:
+ mark.dickinson, gpolo, BreamoreBoy |
| 2010年08月04日 20:21:23 | mark.dickinson | set | messageid: <1280953283.94.0.315973843752.issue4345@psf.upfronthosting.co.za> |
| 2010年08月04日 20:21:22 | mark.dickinson | link | issue4345 messages |
| 2010年08月04日 20:21:21 | mark.dickinson | create |
|