Skip to content

Ensure Time can read byte arrays with items of unequal length. - #6903

Merged
astrofrog merged 1 commit into
astropy:masterfrom
mhvk:time-allow-column-unicode-sandwich-extra
Nov 28, 2017
Merged

astrofrog merged 1 commit into
astropy:masterfrom
mhvk:time-allow-column-unicode-sandwich-extra

Conversation

@mhvk

@mhvk mhvk commented Nov 28, 2017 •

Copy link
Copy Markdown
Contributor

Before this PR, this broke because the two byte strings were of unequal length:

Time([b'2012-01-01', b'2012-01-01T00:00:00']) 

@mhvk mhvk added this to the v2.0.3 milestone Nov 28, 2017
@astropy-bot

astropy-bot Bot commented Nov 28, 2017 •

Copy link
Copy Markdown

Hi there @mhvk 👋 - thanks for the pull request! I'm just a friendly 🤖 that checks for issues related to the changelog and making sure that this pull request is milestoned and labeled correctly. This is mainly intended for the maintainers, so if you are not a maintainer you can ignore this, and a maintainer will let you know if any action is required on your part 😃.

Everything looks good from my point of view! 👍

If there are any issues with this message, please report them here.

@mhvk

mhvk commented Nov 28, 2017

Copy link
Copy Markdown
Contributor Author

@astrofrog - if you want to move on, do just review & merge this - it is quite a trivial fix (and tests then pass with your PR with the special-casing for Time taken out).

@astrofrog
astrofrog merged commit 7bfd913 into astropy:master Nov 28, 2017
@astrofrog

Copy link
Copy Markdown
Member

Thanks @mhvk!

@taldcroft taldcroft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Belated 👍

@mhvk
mhvk deleted the time-allow-column-unicode-sandwich-extra branch November 29, 2017 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants