Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

patch samefile method for windows user whos python version under 3.2 #172

Merged
merged 1 commit into from
Dec 14, 2015

Conversation

halfcrazy
Copy link
Contributor

ref #133
https://github.com/python/cpython/blob/3.2/Lib/ntpath.py#L20
https://github.com/python/cpython/blob/3.1/Lib/ntpath.py#L19
As links shown above, we could found the samefile method was included since 3.2 on windows.

need to be tested

@lxyu
Copy link
Contributor

lxyu commented Dec 8, 2015

@halfcrazy can you add a test for this please?

@halfcrazy
Copy link
Contributor Author

@lxyu It seems travis-ci does not support specify os like windows. It may difficult to write an unit test.
see travis-ci/travis-ci#2320 and travis-ci/travis-ci#216

@lxyu
Copy link
Contributor

lxyu commented Dec 10, 2015

ok, then have you tested this patch in windows env to make sure it works?

@halfcrazy
Copy link
Contributor Author

@lxyu I'll test this weekend. LOL

@halfcrazy
Copy link
Contributor Author

@lxyu This patch works under window7 python2.7

@halfcrazy halfcrazy changed the title [NM]patch samefile method for windows user whos python version under 3.2 patch samefile method for windows user whos python version under 3.2 Dec 12, 2015
lxyu added a commit that referenced this pull request Dec 14, 2015
patch samefile method for windows user whos python version under 3.2
@lxyu lxyu merged commit 15c14d6 into Thriftpy:develop Dec 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants