New submission from Kuang-che Wu <[EMAIL PROTECTED]>:
On ubuntu, python 2.5.2.
The memory usage of following program is increasing infinitly. There may
be something leaking.
However, it only consumes constant memory on windows (python 2.5.2).
import bsddb
d = bsddb.hashopen(
Kuang-che Wu added the comment:
FYI, according to the new spec of cns11643-2004 (you can search the
preview from http://www.cnsonline.com.tw/, at
http://www.cnsonline.com.tw/preview/preview.jsp?
general_no=1164300&language=C&pagecount=524).
>From page 499, it mensioned
Changes by Kuang-che Wu:
Added file: http://bugs.python.org/file9407/diff-issue1751245.txt
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1751245>
_
___
New submission from Kuang-che Wu:
According to document, os.times()[0] is process user time, [1] is system
time. However this two value was implemented exchanged on windows.
Python all versions have this issue. Attached patch is for trunk.
--
components: Extension Modules, Windows
Change by Kuang-che Wu :
--
nosy: +kcwu
___
Python tracker
<https://bugs.python.org/issue22401>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Kuang-che Wu :
(following code is attached as well)
import asyncio
import time
workaround = False
async def slow_proc():
proc = await asyncio.create_subprocess_exec('sleep', '10',
stdout=asyncio.subprocess.PIPE)
try:
return await proc.st
New submission from Kuang-che Wu :
"flags" is only supported on certain OS. FreeBSD is one of them.
FreeBSD itself support chflags but not all of its file systems do.
On FreeBSD, copystat() will fail on zfs. The exception is OSError and
errno is EOPNOTSUPP. According to manpage chfla
Kuang-che Wu added the comment:
this is duplicated to issue 5179 and is fixed in trunk
--
nosy: +kcwu
___
Python tracker
<http://bugs.python.org/issue1751
Kuang-che Wu added the comment:
ocrean-city's patch applied cleanly with trunk and it works for me.
Could anybody review and commit? I could help if any refinement required.
--
nosy: +kcwu
___
Python tracker
<http://bugs.python.org/issu
Kuang-che Wu added the comment:
There is slight difference between C and python patch.
C version: convert mbcs argument to unicode
py version: convert unicode argument to mbcs
Actually, python version patch may not work if the string is unicode and
cannot encoded by mbcs. For example, my
Kuang-che Wu added the comment:
> I fail to see why subprocess.call(cmd.encode('whatever')) is not a general
> solution.
Because 'whatever' encoding doesn't exist.
Assume cmd contains Japanese characters and my system is Chinese windows.
subprocess.call expect
11 matches
Mail list logo