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 | gpolo |
|---|---|
| Recipients | gpolo |
| Date | 2008年05月30日.22:51:30 |
| SpamBayes Score | 0.006637114 |
| Marked as misclassified | No |
| Message-id | <1212187898.67.0.391803496997.issue3015@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This affects only py3k, but apparently tkinter has been in this situation for more than 9 months now. I see these lines at _tkinter.c: const char *s = Tcl_GetStringResult(self->interp); const char *p = s; res = PyUnicode_FromStringAndSize(s, (int)(p-s)); and I was wondering how could res not end up being an empty string always ? Then I did some quick tests here and the return is always an empty string, when wantobjects is set to False. Maybe the second line should be: const char *p = strchr(s, '0円'); I've attached this correction. Not sure if it is the best way to solve the problem. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年05月30日 22:51:40 | gpolo | set | spambayes_score: 0.00663711 -> 0.006637114 recipients: + gpolo |
| 2008年05月30日 22:51:38 | gpolo | set | spambayes_score: 0.00663711 -> 0.00663711 messageid: <1212187898.67.0.391803496997.issue3015@psf.upfronthosting.co.za> |
| 2008年05月30日 22:51:37 | gpolo | link | issue3015 messages |
| 2008年05月30日 22:51:36 | gpolo | create | |