Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #34 #40

Merged
merged 2 commits into from
Aug 20, 2015
Merged

Fix issue #34 #40

merged 2 commits into from
Aug 20, 2015

Conversation

Insoleet
Copy link
Contributor

Gotcha !

So there were to references to remove : timer and handle in the callback instance. Please check the validity of my code but it should be ok.

@harvimt
Copy link
Owner

harvimt commented Aug 20, 2015

The tests are not passing in CI, though they are passing locally for me (on linux)

Looks like there are some problems with appveyor and broken URLs? I'll fix them in master and then rebase.

@harvimt
Copy link
Owner

harvimt commented Aug 20, 2015

Note that the Circle CI tests don't work, I haven't actually set them up yet...

The Travis builds are failing on both the "use quamash" and "don't use quamash" state, so it's probably something weird. I'd like to see passing tests on windows, but it's hard to see how this could make it worse.

harvimt added a commit that referenced this pull request Aug 20, 2015
@harvimt harvimt merged commit ff9c371 into harvimt:gh34 Aug 20, 2015
@Insoleet
Copy link
Contributor Author

I wonder why the tests are passing locally but not on Travis ? May it be related to https://docs.python.org/3.4/library/gc.html#gc.garbage , where before python 3.4, objects with a del method could not be deleted by the garbage collector ?

@harvimt
Copy link
Owner

harvimt commented Aug 20, 2015

Travis is running both Python 3.4 and Python 3.3 tests and both fail... so
that's not it.

On Thu, Aug 20, 2015 at 9:41 AM, Insoleet [email protected] wrote:

I wonder why the tests are passing locally but not on Travis ? May it be
related to https://docs.python.org/3.4/library/gc.html#gc.garbage , where
before python 3.4, objects with a del method could not be deleted by
the garbage collector ?


Reply to this email directly or view it on GitHub
#40 (comment).

@Insoleet
Copy link
Contributor Author

On python 3.4, it's only flake8 which fails. The test is passing.
https://travis-ci.org/harvimt/quamash/jobs/76489498

@harvimt
Copy link
Owner

harvimt commented Aug 20, 2015

Hrm. Using del x instead of x = None didn't work either.

@harvimt
Copy link
Owner

harvimt commented Aug 20, 2015

(In hindsight I don't know why it would have)

@Insoleet
Copy link
Contributor Author

The problem is that the custom del is never called on the Task for Python 3.3. The Task is deleted but the exception handler is not called.
I'm not sure what should be done. Maybe just disable the test for python < 3.4...

@harvimt
Copy link
Owner

harvimt commented Aug 20, 2015

Alright, I marked the test as xfail on python 3.3, did a little minor rebasing. I'm probably ready to push a bugfix release to PyPI.

@Insoleet
Copy link
Contributor Author

That'd be perfect :)

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.

2 participants