Show all
Author Commit Message Labels Comments Date
Justin Peel avatarJustin Peel
Revamped BufferingInputStream to be faster.
Branches
streamio-bufinput
Alex Gaynor avatarAlex Gaynor
Rollback the use of functools here, I want to be sure I didn't break stuff.
Alex Gaynor avatarAlex Gaynor
Make this function do what was intended.
Armin Rigo avatarArmin Rigo
Clarify.
Alex Gaynor avatarAlex Gaynor
merged upstream.
Alex Gaynor avatarAlex Gaynor
use functools.wrap here, should maintain some more of the functions attributes this way.
Armin Rigo avatarArmin Rigo
merge heads: support @elidable functions that raise
Armin Rigo avatarArmin Rigo
Put @elidable on calls to identityhash() only.
Armin Rigo avatarArmin Rigo
Backed out changeset a3001c18a307: oups, that was wrong.
Armin Rigo avatarArmin Rigo
Add a number of @elidable, now that they can raise.
Armin Rigo avatarArmin Rigo
A reasonable fix: "ll_int_str() -> string" is pure, but if left in the trace,
Armin Rigo avatarArmin Rigo
Support elidable functions that can raise.
Armin Rigo avatarArmin Rigo
Add a test (it was already passing, thanks to optimizeopt).
Armin Rigo avatarArmin Rigo
Remove a guard_no_exception() at the start of the loop too.
Armin Rigo avatarArmin Rigo
The recent rewrite of crash_in_jit() lost the original traceback
Armin Rigo avatarArmin Rigo
Test and comment for elidable functions that can raise.
Antonio Cuni avatarAntonio Cuni
don't raise a warning if the restype is not set, and add a test to check that we hit the fastpath even in that case
Antonio Cuni avatarAntonio Cuni
if the automatic conversion from str to c_wchar_p does not work, fallback to the slow path
Antonio Cuni avatarAntonio Cuni
add one passing assert
Antonio Cuni avatarAntonio Cuni
free the temp buffers created by the _ffi function. Also, thanks to the new automatic string conversion in _ffi, passing a python string is now supported by the fast path
Antonio Cuni avatarAntonio Cuni
we cannot immediately free the temp buffers that we allocate to convert strings, because the caller needs to have a chance to play with them in case they have been returned; instead, the temp buffers are owned by the function itself, and needs to be explicitly freed
Armin Rigo avatarArmin Rigo
Missing import.
Alex Gaynor avatarAlex Gaynor
Move the memcpy function to rffi.py.
Alex Gaynor avatarAlex Gaynor
Use the new context manager allocators, much nicer. Also update a comment.
Alex Gaynor avatarAlex Gaynor
merged upstream
Alex Gaynor avatarAlex Gaynor
Introduce StringBuilder.append_charpsize, which takes a char* and a size and adds that to the builder, then use this in a few plcaes.
Justin Peel avatarJustin Peel
Small speed-up for stream output buffers
Alex Gaynor avatarAlex Gaynor
rename this function so it doesn't look like something we copied out of the CPython C-API
Antonio Cuni avatarAntonio Cuni
rpython fix
Antonio Cuni avatarAntonio Cuni
merge default
  1. Prev
  2. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.