Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11344
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
(For 3.2) Patch v2. Added some more corner case tests.
--
Added file: http://bugs.python.org/file21820/issue11397_py32_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Removed file: http://bugs.python.org/file21820/issue11397_py32_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Added file: http://bugs.python.org/file21822/issue11397_py32_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Added file: http://bugs.python.org/file21823/issue11397_py27_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Added file: http://bugs.python.org/file21824/issue11397_py31_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11921
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9614
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11564
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9614
___
___
Python
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11872
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10640
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10761
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
type: - behavior
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11920
Santoso Wijaya santoso.wij...@gmail.com added the comment:
What compilers were used to build your Python distro and the native structure?
I found out in _ctypes/cfield.c (lns. 76-95):
if (bitsize /* this is a bitfield request */
*pfield_size /* we have a bitfield open */
#ifdef
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9035
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10616
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6780
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11877
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11898
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Introduced in changeset c7f7672b70a9.
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11903
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Simple fix.
--
keywords: +patch
Added file: http://bugs.python.org/file21753/issue11903_py33.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11903
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11750
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on
win32
Type help, copyright, credits or license for more information.
class SetSub(set):
... def __init__(self, *args, **kwargs):
... print
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: -Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11854
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1820
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue828450
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
assignee: - docs@python
components: +Documentation -Library (Lib)
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9650
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11467
___
___
Python
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Is this a right approach? I converted the hard-coded attributes into real,
C-API attributes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7990
Santoso Wijaya santoso.wij...@gmail.com added the comment:
ping?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
___
___
Python-bugs-list
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Oh, I understand. I'm just wondering especially for this one because it has no
assigned dev.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11847
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11835
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I can reproduce this with 2.7 and 3.2 64-bit builds on Windows:
D:\Temp\cdll\x64\ReleaseC:\Python32\python.exe
Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)] on win
32
Type help, copyright, credits or license
Santoso Wijaya santoso.wij...@gmail.com added the comment:
32-bit (2.6) is fine:
D:\Temp\cdll\ReleaseC:\Python26\python.exe
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on
win32
Type help, copyright, credits or license for more information.
from ctypes import
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Attaching a ctypes unittest (against 2.7 branch) that will expose this bug in
regrtest.
--
keywords: +patch
Added file: http://bugs.python.org/file21633/test_issue11835.patch
___
Python
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
components: +Interpreter Core
type: - behavior
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11506
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Adding some minor fixes to the original patch to apply cleanly to current 2.7
tip.
Also, add a conditional branch in the case that the server returns none of the
supported algorithm strings, to raise a ValueError (the previous patch
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11828
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I concur. Attaching a refreshed patch (against current 2.7 branch) along with a
unittest.
--
nosy: +santa4nt
Added file: http://bugs.python.org/file21587/issue4877.patch
___
Python tracker
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5166
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11804
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I have a feeling that a successful resolution of issue 1820 will make things
simpler for this one, since time.struct_time uses structseq.
--
nosy: +santa4nt
___
Python tracker rep
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1820
___
___
Python-bugs-list
Santoso Wijaya santoso.wij...@gmail.com added the comment:
You mean, PyErr_Clear()?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4877
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I wonder if this is a valid use-case to begin with. The semantic of a
decorator, as I understand it, is very straightforward in that this:
@foo
@bar
class A:
pass
is equivalent to this:
class A:
pass
Santoso Wijaya santoso.wij...@gmail.com added the comment:
It already does. ;-)
Python 2.7.1+ (default, Apr 6 2011, 16:25:38) [MSC v.1500 32 bit (Intel)] on wi
n32
Type help, copyright, credits or license for more information.
import urllib2
[74578 refs]
fp = urllib2.urlopen('http://16
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Added file: http://bugs.python.org/file21556/issue11703_py31_with_redirect.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11703
Santoso Wijaya santoso.wij...@gmail.com added the comment:
And also with an extension module I'm trying to build with Python-2.7.1 AMD64.
Schnur's suggestion fixes it.
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Another workaround is by adding the linker argument to Extension() as
extra_link_args:
extra_link_args=['/MANIFEST']
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Santoso Wijaya santoso.wij...@gmail.com added the comment:
A workaround would be to define an arbitrary macro when building with
distutils. For example, in setup.cfg:
[build_ext]
define = _DISTUTILS
Then in some main header file(s) in your project:
#ifdef _DISTUTILS
#undef
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +3rd party
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9709
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
There does not seem to be any mention of what an ANSI behavior should be upon
encountering a non-supported format string. Hence, perhaps, the discrepancy
among different platforms
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10762
___
___
Python
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I don't think this is a Windows bug per se, because the behavior is undefined
in the standards. The burden is up to us to validate the format string inputted
[w]strftime and currently, our code mistakenly clears %f as valid.
I'm
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Removed file: http://bugs.python.org/file21509/issue11703.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10762
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Wrong filename. Attaching again: against 2.7 and 3.1 branches.
--
Added file: http://bugs.python.org/file21510/issue10762_py27.patch
___
Python tracker rep...@bugs.python.org
http
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Added file: http://bugs.python.org/file21511/issue10762_py31.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10762
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Hm, I can't reproduce this on darwin:
Python 2.7.1 (r271:86832, Jan 26 2011, 19:17:30)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type help, copyright, credits or license for more information.
import time
time.strftime('%m/%d/%Y
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10762
___
___
Python-bugs
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11703
Santoso Wijaya santoso.wij...@gmail.com added the comment:
This is because the Request class' constructor splits the URL into __original
and fragment:
def __init__(self, url, data=None, headers={},
origin_req_host=None, unverifiable=False):
# unwrap('URL:type
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Attaching patches against 2.7 and 3.1 branches.
--
keywords: +patch
Added file: http://bugs.python.org/file21456/issue11703_py27.patch
___
Python tracker rep...@bugs.python.org
http
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Added file: http://bugs.python.org/file21457/issue11703_py31.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11703
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1571878
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Attaching patches against 3.1 and 3.2 (due to unicode and slightly different
unittest layout).
--
Added file: http://bugs.python.org/file21439/issue11397_py31.patch
___
Python tracker rep
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Added file: http://bugs.python.org/file21440/issue11397_py32.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7796
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6498
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1673007
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Removed file: http://bugs.python.org/file21105/nturl2path.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11474
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Fixing patch...
--
Added file: http://bugs.python.org/file21433/nt2urlpath.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11474
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11629
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on
win32
Type help, copyright, credits or license for more information.
import urllib2
request =
'http://wwwsearch.sourceforge.net/mechanize/src/mechanize
Santoso Wijaya santoso.wij...@gmail.com added the comment:
This affects urllib, as well:
C:\Users\santapython
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on
win32
Type help, copyright, credits or license for more information.
import urllib
request = 'http
Santoso Wijaya santoso.wij...@gmail.com added the comment:
One way I can think of is by resorting so some list of exceptions. Not quite
elegant, but it works...
--
keywords: +patch
Added file: http://bugs.python.org/file21365/issue11652.patch
Santoso Wijaya santoso.wij...@gmail.com added the comment:
this will lock
I should expect so! recvfrom is a blocking method. The interpreter will block
on said socket until (if recvfrom) data arrives from the remote end of the
socket.
sendto is non-blocking, though. And it works for me
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt -Devin Jeanpierre
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1677
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
components: +Library (Lib) -Extension Modules
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I can't reproduce this. I'm also running 64-bit Python on 64-bit Windows 7 and
socket operations are fine for me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
New submission from Santoso Wijaya santoso.wij...@gmail.com:
For example, the function `fileConfig` is listed in the documentation [1] as
`logging.fileConfig`. This was a surprise for me when trying it gave me an
AttributeError. Only after reading the source code that I found out
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11639
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: -Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11639
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I'm attaching a patch that fixes this bug. I'm using a different algorithm
altogether than the currently existing one, to allow a stack-based approach
that lends itself to fixing this bug (as inspired by Wojciech). Hopefully it
won't
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11623
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Oddly, this works:
C:\Users\santaC:\python32\python.exe
Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)] on win
32
Type help, copyright, credits or license for more information.
class Foo(Exception
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Also, why is the print() in __new__ executed twice?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11627
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.4 -Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7990
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Attaching a unittest that will manifest this bug.
--
keywords: +patch
Added file: http://bugs.python.org/file21309/test_issue11397.patch
___
Python tracker rep...@bugs.python.org
http
Santoso Wijaya santoso.wij...@gmail.com added the comment:
The timeout value given to wait() is multiplied by 1000 before being passed to
TimeoutExpired constructor. The multiplication is unnecessary since we take the
input unit as time unit second.
--
keywords: +patch
nosy: +santa4nt
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Removed file: http://bugs.python.org/file21310/timeoutsec.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11613
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Actually, the multiplication was necessary because
_subprocess.WaitForSingleObject takes the timeout argument in millisecond unit.
Defer multiplication until then.
--
Added file: http://bugs.python.org/file21311
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Do we need each sample--(input - expected output)--to be its own unittest
function?
Why not something like (pseudo-code):
expected = {
'input1': 'output1',
'input2': 'output2',
}
def test_encode(self):# collapse all
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11562
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10684
___
___
Python-bugs
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Running configure on a MacOSX system will set
MACOSX_DEPLOYMENT_TARGET to 10.4, which is probably not optimal
for anyone on a recentish system.
What's more, when I first tried to compile Python on Mac OS X, and I have
MacPorts
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I'm attaching a patch with a fix and a unittest using the email example. I put
this in a new test_RFC2368 (the mailto URL scheme) method. Seems like there is
no unittest for parsing mailto scheme to begin with.
--
Added file
Changes by Santoso Wijaya santoso.wij...@gmail.com:
Removed file: http://bugs.python.org/file21110/urlparse.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11467
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Oops, wrong revision base.
--
Added file: http://bugs.python.org/file2/urlparse.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11467
101 - 200 of 247 matches
Mail list logo