Skip to content

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Jun 14, 2013

This should use format since calling str on a unicode string is a bad idea
because it may or may not repr correctly.

closes #3875.

another error is created from fixing this issue.

@cpcloud
Copy link
Member Author

cpcloud commented Jun 14, 2013

the other error created is #3899

This should use format since calling str on a unicode string is a *bad* idea
because it may or may not repr correctly.
@cpcloud
Copy link
Member Author

cpcloud commented Jun 14, 2013

@jreback this is ready 2 go can i merge?

@jreback
Copy link
Contributor

jreback commented Jun 15, 2013

how was this breaking?

@cpcloud
Copy link
Member Author

cpcloud commented Jun 15, 2013

when the TypeError was raised the hebrew unicode would throw a UnicodeEncodeError because str was being called on it

@cpcloud
Copy link
Member Author

cpcloud commented Jun 15, 2013

this was also hiding the infinite recursion bug

@jreback
Copy link
Contributor

jreback commented Jun 15, 2013

ok then

cpcloud added a commit that referenced this pull request Jun 15, 2013
BUG: fix unicode -> str cast in tslib
@cpcloud cpcloud merged commit bd4b69f into pandas-dev:master Jun 15, 2013
@cpcloud cpcloud deleted the tslib-fix branch June 15, 2013 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unicode encode error on index joins
2 participants