Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Output pdf dicts in deterministic order#6427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tacaswell merged 2 commits intomatplotlib:masterfromjkseppan:pdf-dict-order
May 16, 2016

Conversation

jkseppan
Copy link
Member

For#6317 (but not a complete solution for that)

@tacaswell
Copy link
Member

Should we merge this as is or do you intend to add more commits to this?

@tacaswelltacaswell added this to the2.1 (next point release) milestoneMay 16, 2016
r.extend([Name(key).pdfRepr() + b" " + pdfRepr(val)
for key, valin six.iteritems(obj)])
r.extend([Name(key).pdfRepr() + b" " + pdfRepr(obj[key])
for keyinsorted(six.iterkeys(obj))])
Copy link
Member

Choose a reason for hiding this comment

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

Theiterkeys seems unnecessary if you're going to sort it anyway;sorted(obj) should work just fine.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Thanks, that makes sense.

@jkseppan
Copy link
MemberAuthor

@tacaswell I think it's probably better to merge sooner, it's going to be some work to implement the rest and this could make it easier for someone else to get started.

@tacaswelltacaswell merged commit0dff252 intomatplotlib:masterMay 16, 2016
@jkseppanjkseppan deleted the pdf-dict-order branchAugust 25, 2016 17:19
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v2.1
Development

Successfully merging this pull request may close these issues.

4 participants
@jkseppan@tacaswell@QuLogic@mdboom

[8]ページ先頭

©2009-2025 Movatter.jp