No it's not. Code as patch becoming code now becomes immediately your problem and headache. Unless it's exactly how the core devs would write it.
Don't even get me started on what I think about accepting or submitting patches for code I don't actually plan on using on a day to day basis.