Message111737
| Author |
pitrou |
| Recipients |
boya, loewis, pitrou, skrah, terry.reedy, vstinner |
| Date |
2010年07月27日.22:20:38 |
| SpamBayes Score |
0.019902652 |
| Marked as misclassified |
No |
| Message-id |
<1280269241.07.0.128996533604.issue9246@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It's not ok to call PyMem_* functions when the GIL is released. You should only release the GIL around the call to the system getcwd().
> I suppose that Python has a faster memory allocator, or that it has
> better checks when compiled with pydebug?
In this case it doesn't really make a difference, since all allocations larger than 256 bytes are delegated to the system allocator. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月27日 22:20:41 | pitrou | set | recipients:
+ pitrou, loewis, terry.reedy, vstinner, skrah, boya |
| 2010年07月27日 22:20:41 | pitrou | set | messageid: <1280269241.07.0.128996533604.issue9246@psf.upfronthosting.co.za> |
| 2010年07月27日 22:20:38 | pitrou | link | issue9246 messages |
| 2010年07月27日 22:20:38 | pitrou | create |
|