J.K. Rowling admitted, in the final chapters of
Harry Potter and the Deathly Hallows on Pottermore, that Peter Pettigrew was indeed almost put into Slytherin when Sorted, but was another case of a '
Hatstall', where a student can take several minutes to get Sorted (as in the case of Neville Longbottom and Hermione Granger).
From multiple Harrys to a splinched Ron to The Final Battle, you can now relive ‘Harry Potter and the Deathly Hallows’ Moments on pottermore.com.
Posted by Pottermore on Tuesday, June 23, 2015
Quote:
J.K. Rowling: The only true Hatstalls known personally to Harry Potter were Minerva McGonagall and Peter Pettigrew. The former caused the hat to agonise for five and a half minutes as to whether Minerva ought to go to Ravenclaw or Gryffindor; the latter was placed in Gryffindor after a long deliberation between that house and Slytherin.
The Sorting Hat, which is infamously stubborn, still refuses to accept that its decision in the case of the latter may have been erroneous, citing the manner in which Pettigrew died as (dubious) evidence.