Martin v. Löwis mar...@v.loewis.de added the comment:
Isn't it kind of a CPython-specific detail, though?
If other implementations do provide proper keyword arguments,
I'd be skeptical that they all settled on the names that the
library documentation gives to the arguments.
--
title:
Changes by Martin v. Löwis mar...@v.loewis.de:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10802
___
___
Python-bugs-list
Pierre Quentel pierre.quen...@gmail.com added the comment:
Hi,
I have started working on the port of a simplified version of Karrigell (a web
framework) to Python3. I experienced the same problem as the other posters : in
the current version, file upload doesn't work. So I've been working on
kai zhu kaizhu...@gmail.com added the comment:
tested w/ following debug code. looks like greg is correct - HAVE_PIPE2 should
NOT b defined under colinux.
diff -r 6fa1e3b94d8f Modules/_posixsubprocess.c
--- a/Modules/_posixsubprocess.cSat Jan 01 22:18:46 2011 +0100
+++
kai zhu kaizhu...@gmail.com added the comment:
i used the same almost vanilla configure for both:
$ ./configure --prefix=$USERPATH; make
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10802
Sandro Tosi sandro.t...@gmail.com added the comment:
I've refreshed the patch to only add DeprecationWarning for tempnam, tmpnam and
tmpfile.
--
stage: - patch review
Added file: http://bugs.python.org/file20218/issue4662-rel2.7.patch
___
Python
Martin v. Löwis mar...@v.loewis.de added the comment:
Can you please run the script under strace, and report what system call is not
implemented? I.e. put
import subprocess
subprocess.Popen('ls')
into a file (foo.py), then run
strace -o trace.txt python foo.py
Please attach the output
Sandro Tosi sandro.t...@gmail.com added the comment:
Could someone give a look to this patch? I can work on fixing the missing stuff
(if any :)).
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1665333
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I think I've found the problem: test_concurrent_futures calls logging.critical,
which registers a StreamHandler. This only happens when _wait_on_event and
_signal_event fail on Win32.
There should be no reason to call logging.critical in
STINNER Victor victor.stin...@haypocalc.com added the comment:
More info about FreeBSD.
sysctl p1003_1b.sem_nsems_max gives the maximum number of POSIX semaphores
(per process? system wide?).
Since FreeBSD 8.1, sudo sysctl -w p1003_1b.sem_nsems_max=256 can be used to
change this limit at
STINNER Victor victor.stin...@haypocalc.com added the comment:
NetBSD.
Extract of the sem_close() manpage
http://www.daemon-systems.org/man/sem_close.3.html
---
STANDARDS
The sem_open(), sem_close(), and sem_unlink() functions conform to
ISO/IEC 9945-1:1996 (``POSIX.1'').
HISTORY
New submission from Torsten Landschoff t.landsch...@gmx.net:
There is a copy and paste error in _json.c: The pairs_hook field is assigned
but object_hook is verified to be non-null. The same field is verified a few
lines back to this is superfluous at least.
--
components: Library
STINNER Victor victor.stin...@haypocalc.com added the comment:
Darwin (Mac OS X).
According to the following email (July 2010), Darwin supports POSIX semaphores
and the default limit is 10,000 semaphores.
http://osdir.com/ml/darwin-dev/2010-07/msg00012.html
The limit is configurable via
STINNER Victor victor.stin...@haypocalc.com added the comment:
OpenBSD.
According to Martin, OpenBSD doesn't implement POSIX semaphores.
---
I don't have an installation of OpenBSD, but...
In FreeBSD, POSIX semaphores are implemented in sys/kern/uipc_sem.c.
In
Torsten Landschoff t.landsch...@gmx.net added the comment:
FYI, this bug is not in Python 3.3 (as of svn r87615).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10804
___
kai zhu kaizhu...@gmail.com added the comment:
the culprit was my colinux kernel (2.6.26.8-co-0.7.7.1) did not have pipe2
support (which libc erronenously assumed). updating the kernel fixed the
problem.
the libc issue is partially discussed @
Ezio Melotti ezio.melo...@gmail.com added the comment:
A few comments about css_v2.diff:
1) when the value is '0', there's no need to specify the unit (e.g. 0em);
2) when the color is specified the background-color should be specified as well
(and vice versa);
3) hex colors (e.g. #00FF00)
Ross Lagerwall rosslagerw...@gmail.com added the comment:
OK here is a patch + tests. Basically, it makes sure that the fd that it is
closing is not 0, 1 or 2.
I've set it for 2.7, 3.1 and 3.2.
--
keywords: +patch
nosy: +rosslagerwall
versions: +Python 2.7, Python 3.1, Python 3.2
kai zhu kaizhu...@gmail.com added the comment:
hi martin, did an strace the 'not implemented' system call was pipe2()
pipe2 exists in libc (checked w/ ctypes), but is broken for old linux kernels
as mentioned previously.
--
Added file: http://bugs.python.org/file20221/trace2.txt
Georg Brandl ge...@python.org added the comment:
Does not seem to be a Python problem then. Thanks for diagnosing!
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10802
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r87626.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10804
New submission from Austin Bingham austin.bing...@gmail.com:
traceback.print_exception() will throw an AttributeException if `value` is None
and `chain` is True. This is because `_iter_chain` assumes that the exception
object has a `__cause__` attribute. You can trigger this by trying for
Georg Brandl ge...@python.org added the comment:
Looks good, applied in r87627 (after removing stray tabs).
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
The patch is wrong: it hardcodes the number of characters that the time string
has, but it can be more than 24 if the year is . (Of course, the check
for \n currently in the code is wrong too and must be fixed.)
Also, shouldn't the issue
Georg Brandl ge...@python.org added the comment:
Hmm, we don't like these open-for-eternity file descriptors; we had such a
thing for os.urandom() but removed it (see #1177468).
I'm okay with DEVNULL (or even just NULL) as a shorthand, but it should open
(and close) the devnull device each
Ross Lagerwall rosslagerw...@gmail.com added the comment:
I think if you look closely at the patch, the fd does not stay open the whole
time. It is opened if necessary in _get_handles() with e.g.:
elif stdin == DEVNULL:
p2cread = self._get_devnull()
and then closed in _execute_child()
Georg Brandl ge...@python.org added the comment:
#9905 has a similar patch and adds tests as well.
--
nosy: +georg.brandl
resolution: - duplicate
status: open - closed
superseder: - subprocess.Popen fails with stdout=PIPE, stderr=PIPE if
standard descriptors (0, 1, 2) are closed.
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
The real problem with years = is that it is undefined behaviour anyway
(see e.g.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime.html: the
behavior is undefined if the above algorithm would attempt to
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
Sorry, I meant years of course.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8013
___
Georg Brandl ge...@python.org added the comment:
Well, then I would have no problem with checking for that condition beforehand
and raising ValueError.
On the other hand, it seems that implementations either return a correct string
or NULL, so just erroring out in case of NULL would be fine
Georg Brandl ge...@python.org added the comment:
Right, sorry then :)
--
assignee: - gregory.p.smith
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5870
___
Antoine Pitrou pit...@free.fr added the comment:
I've tried the patch under OpenSolaris and the test fails (EAGAIN),
meaning that accept() semantics there are the same as under BSD:
==
ERROR: testInheritFlags
Changes by Etienne Robillard e...@gthcfoundation.org:
--
nosy: +erob
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4953
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
Thank you very much for working on this! I'll try to take a look at the patch
soon. A couple quick comments based on your posting: first, the email module
now has a BytesFeedparser that will accept a byte stream, which I hope might
Ross Lagerwall rosslagerw...@gmail.com added the comment:
OK try this one, it's now opt-out.
--
Added file: http://bugs.python.org/file20222/7995_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7995
New submission from Ross Lagerwall rosslagerw...@gmail.com:
There is an issue where if a python program closes all the std. file
descriptors (e.g. a daemon) and then uses the subprocess module, the file
descriptors may not be set up properly in the subprocess. This may actually be
a fairly
Changes by Éric Araujo mer...@netwok.org:
--
components: +Library (Lib) -Extension Modules
stage: - needs patch
title: WSGIREF - REMOTE_USER and REMOTE-USER collision - REMOTE_USER and
Remote-User collision in wsgiref
type: security - behavior
versions: +Python 3.1, Python 3.2 -Python
New submission from yihuang yi.codepla...@gmail.com:
b'dGVzdA==\n'.decode('base64')
Traceback (most recent call last):
File stdin, line 1, in module
File ../Lib/encodings/base64_codec.py, line 20, in base64_decode
return (base64.decodebytes(input), len(input))
File ../Lib/base64.py,
Antoine Pitrou pit...@free.fr added the comment:
Attached is a patch which basically uses fcntl if necessary to remove
the close-on-exec flag, and tests.
Python adds extra output at the end of stderr when compiled in debug
mode. Therefore you first have to strip that output, like this:
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10791
___
___
Python-bugs-list
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Sun, Jan 2, 2011 at 10:52 AM, Georg Brandl rep...@bugs.python.org wrote:
..
Well, then I would have no problem with checking for that condition
beforehand and raising
ValueError.
IIRC, there was a similar bug report
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Sun, Jan 2, 2011 at 1:52 PM, Alexander Belopolsky
rep...@bugs.python.org wrote:
..
Well, then I would have no problem with checking for that condition
beforehand and raising
ValueError.
IIRC, there was a similar bug
STINNER Victor victor.stin...@haypocalc.com added the comment:
base64, bz2, hex, quopri, rot13, uu and zlib codecs (reintroduced recently by
r86934, issue #7475) cannot be used by str.encode/bytes.decode, but with
.transform() and .untransform() methods of bytes and str objects. But these
STINNER Victor victor.stin...@haypocalc.com added the comment:
See issue #10807: 'base64' can be used with bytes.decode() (and str.encode()),
but it raises a confusing exception (TypeError: expected bytes, not memoryview).
--
___
Python tracker
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +georg.brandl
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10807
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
issue10807.patch just disables hex, base64, ... codecs in aliases (so it's
still possible to use they through codecs.lookup()).
--
keywords: +patch
Added file: http://bugs.python.org/file20224/issue10780.patch
Georg Brandl ge...@python.org added the comment:
That does not look like the right patch...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10807
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file20224/issue10780.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10807
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Ah yes :-)
--
Added file: http://bugs.python.org/file20225/issue10807.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10807
Georg Brandl ge...@python.org added the comment:
Looks good, please commit.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10807
___
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10807
___
___
Antoine Pitrou pit...@free.fr added the comment:
After further testing, it turns out that Windows exhibits BSD-like behaviour
too. So instead of complicating the flag-setting code again, I suggest an
alternative of doing it in the Python wrapper. Patch attached.
--
Added file:
Antoine Pitrou pit...@free.fr added the comment:
Patch committed in r87639 (3.2), r87641 (3.1) and r87640 (2.7). Thank you!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: -Python 2.5, Python 2.6
___
Brian Quinlan br...@sweetapp.com added the comment:
Martin,
Could you commit this patch if you think that it is the right thing? I'm going
to be restructuring the tests and don't want you to get caught in merge hell.
Cheers,
Brian
--
___
Python
New submission from Florian Apolloner flor...@apolloner.eu:
If I use the server code in the attachment I get this error in unwrap:
Traceback (most recent call last):
File server.py, line 23, in module
deal_with_client(connstream)
File server.py, line 13, in deal_with_client
s =
Phillip J. Eby p...@telecommunity.com added the comment:
I don't understand. HTTP_REMOTE_USER is not the name of a standard CGI
variable - it's REMOTE_USER.
It would help if you could show code for what client/proxy/server combination
has this problem, what happens when that code runs, and
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Updated patch for debug mode. Does this also need to be applied for 3.1?
--
Added file: http://bugs.python.org/file20228/subprocess_v2.patch
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
Looks good, please commit.
Ok, done: r87642
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10807
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Sun, Jan 2, 2011 at 1:59 PM, Alexander Belopolsky
rep...@bugs.python.org wrote:
..
Hmm. My search brought up issue 10563, but the last message on that
issue says that a change has been recently made to time.asctime() to
Pierre Quentel pierre.quen...@gmail.com added the comment:
I attach the svn diff file against the present version (generated by Tortoise
SVN), hope it's what you expect
--
Added file: http://bugs.python.org/file20229/cgi_diff.txt
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Patch committed in r87643, thank you.
--
nosy: +pitrou
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Pierre Quentel pierre.quen...@gmail.com added the comment:
Please ignore previous post. I worked on the version of cgi.py included in
version 3.2b2, and I just realized there were changes commited to the svn
repository since this version. I will post the diff file later, but you can
always
Martin v. Löwis mar...@v.loewis.de added the comment:
If more people report this, there is still something Python could do:
- the configure test could verify that the running kernel actually implements
the system call, and undefine HAVE_PIPE2 if that's not the case. Of course this
would only
Antoine Pitrou pit...@free.fr added the comment:
Updated patch for debug mode. Does this also need to be applied for 3.1?
Yes, but we can port it ourselves (unless you're really motivated)
--
___
Python tracker rep...@bugs.python.org
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
$(CC) and $(CXX) should be expanded by `make`, but configure.in contains wrong
quoting, which results in incorrect expansion during running `configure`.
-LDSHARED=$(CC) -shared
-LDCXXSHARED=$(CXX) -shared;;
Gregory P. Smith g...@krypto.org added the comment:
This bug has brought up a broader issue. the pipe2 syscall on Linux is very
new. It is perfectly reasonable to expect a Python binary will be compiled
against a C library that has a pipe2() function but run on a system with an
older (pre
Gregory P. Smith g...@krypto.org added the comment:
This bug has brought up a broader issue. the pipe2 syscall on Linux is very
new. It is perfectly reasonable to expect a Python binary will be compiled
against a C library that has a pipe2() function but run on a system with an
older (pre
Changes by Yotam Medini yo...@users.sourceforge.net:
Added file: http://bugs.python.org/file20231/endtag-space.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue670664
___
Antoine Pitrou pit...@free.fr added the comment:
Patch works fine, thank you. Here is an attempt at a slightly more readable
code by refactoring.
--
Added file: http://bugs.python.org/file20230/sp.patch
___
Python tracker rep...@bugs.python.org
Changes by Yotam Medini yo...@users.sourceforge.net:
Added file: http://bugs.python.org/file20232/dollar-extra.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue670664
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in revision 87648.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8013
___
Yotam Medini yo...@users.sourceforge.net added the comment:
Suggested fix for the attached cases:
lt-in-script-example.tgz
endtag-space.html
dollar-extra.html
--
Added file: http://bugs.python.org/file20233/ltscr-endtag-dollarext.diff
___
Antoine Pitrou pit...@free.fr added the comment:
$(CC) and $(CXX) should be expanded by `make`, but configure.in
contains wrong quoting, which results in incorrect expansion during
running `configure`.
Oops, sorry. Should be fixed, now.
--
___
SilentGhost michael.mischurow+...@gmail.com added the comment:
Sasha, commit is not working. It doesn't pass test on Ubuntu and returns the
string with a trailing \n. Seems like that hunk of code is misplaced.
--
nosy: +SilentGhost
___
Python
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Pierre, thanks for your work on this. I hope a fix can make it in to 3.2.
However, while starting Python with -u can help a but, that should not, in my
opinion, be requirement to use CGI. Rather, the stdin should be set into
binary
Antoine Pitrou pit...@free.fr added the comment:
This further patch also addresses issue9905 (incorporating Ross' tests).
--
Added file: http://bugs.python.org/file20234/sp2.patch
___
Python tracker rep...@bugs.python.org
Oren Held o...@held.org.il added the comment:
I confirm that on Python 2.7.1, on HP-UX 11.31, ia64 architecture).
dlmalloc.c is the problematic file, a part of libffi.
I reported the same problem and solution + patch in here:
http://sourceware.org/ml/libffi-discuss/2010/msg00203.html
Steven Bethard steven.beth...@gmail.com added the comment:
action=help definitely needs to be documented
action=count probably should be, though I think it's pretty useless (I just
copied it from optparse)
action=parsers, nargs=... and nargs=A... I'm not so sure about. These are
currently
New submission from Andrew Dalke da...@dalkescientific.com:
complex(nan) raises ValueError: complex() arg is a malformed string while
complex(float(nan)) returns (nan+0j). This was reported in
http://bugs.python.org/issue2121 with the conclusion wont fix.
complex(inf) has the same behaviors.
Changes by Georg Brandl ge...@python.org:
--
assignee: - pitrou
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10808
___
___
Peter Kleiweg pklei...@xs4all.nl added the comment:
Why not simply:
fp = sys.stdin.detach()
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4953
___
Pierre Quentel pierre.quen...@gmail.com added the comment:
Here is the correct diff file
I also introduced a test to exit from the loop in read_multi() if the total
number of bytes read reaches content-length. It was necessary for my
framework, which uses cgi.FieldStorage to read from the
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also #6610 which has a patch with another test.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10806
___
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
Regarding the use of detach(), I don't know if it works. Maybe it would. I
know my code works, because I have it working. But if there are simpler
solutions that are shown to work, that would be great.
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
Sasha, commit is not working.
I suppose that the fix for the segfault is correct. The problem on Linux is the
new test: asc
import time; time.asctime((12345, 1, 0, 0, 0, 0, 0, 0, 0))
'Mon Jan 1 00:00:00 12345\n'
asctime() of
kai zhu kaizhu...@gmail.com added the comment:
re-tested under old 2.6.26 kernel using previous foo.py example:
1. unpatched python3.2 broken as expected
2. patched python3.2 now works :)
strace confirms ENOSYS being raised from pipe2() in both cases
--
Ron Adam ron_a...@users.sourceforge.net added the comment:
If the colors are passed directly to the HTML they should be
removed and left to the CSS(s) only. I don't know the code
well enough to say if this is doable and/or if it requires a
deprecation first;
We may have to do dome
Georg Brandl ge...@python.org added the comment:
Tests fixed to ignore ValueError in r87656.
Both asctime() and ctime() fixed to remove newline no matter how many digits
the year has in r87657. I also took the liberty of making the error messages
consistent.
--
resolution: - fixed
Georg Brandl ge...@python.org added the comment:
These arguments should not really be of concern. If we indeed deem them public
API, they can stay but be ignored.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10716
Peter Kleiweg pklei...@xs4all.nl added the comment:
Using platform-dependant code seems iffy to me. The detach function on
sys.stdin, sys,stdout and sys.stderr is there specifically to switch these
streams from text mode to binary mode. See:
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Here is a renewed patch against py3k, with a test.
--
Added file: http://bugs.python.org/file20237/timet_64-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8278
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
r82912 introduced NameError for ST_MTIME in Lib/logging/handlers.py on 3.1
branch. It's a regression in 3.1.3. The code in 3.2 is correct.
-from stat import ST_DEV, ST_INO
+from stat import ST_DEV, ST_INO,
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Sun, Jan 2, 2011 at 5:35 PM, Georg Brandl rep...@bugs.python.org wrote:
..
Both asctime() and ctime() fixed to remove newline no matter how many
digits the year has in r87657. I also took the liberty of making the error
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r87660.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10810
Georg Brandl ge...@python.org added the comment:
In that case however, it's equally unsafe to not replace a \n, but still use
PyUnicode_FromString() without a size given -- you will read from random memory.
Since all implementations we have or can test have a defined behavior in one
way or
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Sun, Jan 2, 2011 at 6:01 PM, Georg Brandl rep...@bugs.python.org wrote:
..
Since all implementations we have or can test have a defined behavior in one
way or the other,
I think an example of an implementation that
Georg Brandl ge...@python.org added the comment:
All right, then I wonder why your checktm() doesn't check the tm_year?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8013
___
Ron Adam ron_a...@users.sourceforge.net added the comment:
To go forward I can create a new private api instead of changing HTMLDoc, that
would be preferable.
Should the -w option also use the new html pages? Or do we need a new option
for that?
--
Georg Brandl ge...@python.org added the comment:
(What I mean is that overwriting \n or not, the code is unsafe, so the check
must be done beforehand. Why should that be left to 3.3?)
--
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Sun, Jan 2, 2011 at 6:10 PM, Georg Brandl rep...@bugs.python.org wrote:
..
All right, then I wonder why your checktm() doesn't check the tm_year?
It is not mine. I thought it did. I might have missed that when I
1 - 100 of 137 matches
Mail list logo