[issue11984] Wrong "See also" in symbol and token module docs

2011-05-02 Thread Davi Post
New submission from Davi Post : The "See also" reference in the documentation for the token and symbol modules is no longer accurate. The "second example" mentioned was apparently removed in Python 2.7. This leaves no explanation for how to use the symbol module. I don't think this "See also"

[issue11983] Inconsistent hash and comparison for code objects

2011-05-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10169] socket.sendto raises incorrect exception when passed incorrect types

2011-05-02 Thread Jeong-Min Lee
Changes by Jeong-Min Lee : -- nosy: +falsetru ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11873] test_regexp() of test_compileall failure on "x86 OpenIndiana 3.x"

2011-05-02 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Same here. I am using a standard ZFS configuration. If the child finish doing its job, the file should be there. Are we sure no errors happens in the child?. -- ___ Python tracker

[issue11983] Inconsistent hash and comparison for code objects

2011-05-02 Thread Eugene Toder
New submission from Eugene Toder : A comment in the definition of PyCodeObject in Include/code.h says: /* The rest doesn't count for hash or comparisons */ which, I think, makes a lot of sense. The implementation doesn't follow this comment, though. code_hash actually includes co_name and code

[issue11982] json.loads() returns str instead of unicode for empty strings

2011-05-02 Thread Manuel Cerón
New submission from Manuel Cerón : Python 2.7.1: >>> import json >>> json.loads('"hello"') u'hello' >>> .json.loads('""') '' Related: issue 10038 -- components: Library (Lib) messages: 135014 nosy: ceronman priority: normal severity: normal status: open title: json.loads() returns str

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a proof-of-concept patch that makes concurrent.futures able to detect killed processes. Works only under POSIX, and needs issue11743. I'm not sure it's a good idea to change the multiprocessing public API (SimpleQueue.get()) for this. -- keywo

[issue6721] Locks in python standard library should be sanitized on fork

2011-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: I encountered this issue while debugging some multiprocessing code; fork() would be called from one thread while sys.stdout was in use in another thread (simply because of a couple of debugging statements). As a result the IO lock would be already "taken" in

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: > test_signal.PthreadSigmaskTests fails on Mac OS X. The problem is that sometimes SIG_UNBLOCK does not immediatly call the pending signal, but it calls it "later". The problem is that I don't know exactly when. I tried to wait the pending signal using signal

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2011-05-02 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11849] glibc allocator doesn't release all free()ed memory

2011-05-02 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file21858/pymem.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue11849] glibc allocator doesn't release all free()ed memory

2011-05-02 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file21696/gc_trim.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue11849] glibc allocator doesn't release all free()ed memory

2011-05-02 Thread Charles-François Natali
Charles-François Natali added the comment: > I guess the final patch will have to guard the mallopt() call with some > #ifdef? Yes. See attached patch pymalloc_frag.diff It's the first time I'm playing with autotools, so please review this part really carefully ;-) > (also, I suppose a porta

[issue8808] imaplib should support SSL contexts

2011-05-02 Thread Sijin Joseph
Sijin Joseph added the comment: Thanks Antoine. I've attached an updated patch. >> - the keyfile / certfile pair and the context parameter should be mutually exclusive (see e.g. the POP3_SSL constructor in Lib/poplib.py) [Sijin] - Yes, Thanks, I don't know why I didn't check POP3 impl before

[issue11930] Remove time.accept2dyear

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: > New changeset e6f6ac8c2502 by Alexander Belopolsky in branch 'default': > Issue #11930: Remove deprecated time.accept2dyear. Great! -- ___ Python tracker __

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2011-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: A patch that seems to work under Linux and Windows (for 3.2/3.3). -- nosy: +haypo stage: -> patch review Added file: http://bugs.python.org/file21862/finalizing.patch ___ Python tracker

[issue11967] Left shift and Right shift for floats

2011-05-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2011-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: With Python 3.3, thread_exit.py still crashes more or less randomly: $ ./python thread_exit.py [49205 refs] python: Python/_warnings.c:501: setup_context: Assertion `((PyObject*)(*filename))->ob_type))->tp_flags & ((1L<<28))) != 0)' failed. Abandon -

[issue6715] xz compressor support

2011-05-02 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10978] Add optional argument to Semaphore.release for releasing multiple threads

2011-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Your patch uses tabs for indentation. Otherwise, looks good on the principle. -- nosy: +pitrou stage: -> patch review type: behavior -> feature request ___ Python tracker ___

[issue11866] race condition in threading._newname()

2011-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do you want to provide a patch? -- components: +Library (Lib) -Extension Modules nosy: +pitrou versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker

[issue10044] small int optimization

2011-05-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9971] Optimize BufferedReader.readinto

2011-05-02 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11935] MMDF/MBOX mailbox need utime

2011-05-02 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Sorry, the last message has been truncated, i've opened http://psf.upfronthosting.co.za/roundup/meta/issue397. Forget the first line, but for non-believers: PYP$ t=time.time(); os.utime('org.python', (t-2.42,t)); print(os.stat('org.python')) posix.stat

[issue11967] Left shift and Right shift for floats

2011-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: A hint that the idea would be useful is that there is an FPU instruction, FSCALE, devoted to this. However, a hint that this isn't needed is that Fortran and MATLAB don't have it. -- ___ Python tracker

[issue11888] Add C99's log2() function to the math library

2011-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Wow Mark, that is really nice work. Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue11335] Memory leak after key function failure in sort

2011-05-02 Thread Georg Brandl
Georg Brandl added the comment: Sure, Wednesday will be fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue11935] MMDF/MBOX mailbox need utime

2011-05-02 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Sun, 1 May 2011 00:15:11 +0200, R. David Murray wrote: > So actually fixing this is a bit more complicated. I like Pear OS X! I've just tried around a bit with the other of the Pear OS filesystems (claims to "support" two fsys: HFS+ and HFS, case

[issue11888] Add C99's log2() function to the math library

2011-05-02 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch implementing log2. Still to do: use the system log2 where available. -- keywords: +patch Added file: http://bugs.python.org/file21861/issue11888.patch ___ Python tracker

[issue11962] FreeBSD-AMD64 bot sporadic hanging

2011-05-02 Thread Stefan Krah
Stefan Krah added the comment: Going through the logs, this indeed looks like a buildbot software issue to me. I attach the logs that correspond to this incident: http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%203.2/builds/85 After ... 2011-04-30 01:10:56+0200 [Broker,c

[issue11930] Remove time.accept2dyear

2011-05-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset bfd741162741 by Alexander Belopolsky in branch 'default': Issue #11930: Added Misc/NEWS and versionchanged entries. http://hg.python.org/cpython/rev/bfd741162741 -- ___ Python tracker

[issue11849] glibc allocator doesn't release all free()ed memory

2011-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is a very interesting patch, thank you. I've tested it on Mandriva 64-bit and it indeed fixes the free() issue on the XML workload. I see no regression on pybench, stringbench or json/pickle benchmarks. I guess the final patch will have to guard the mall

[issue11335] Memory leak after key function failure in sort

2011-05-02 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: I checked in a fix to 3.3 just before the transition to hg. I confess that I've been procrastinating on getting hg set up properly, which is why I haven't gotten to checking this in to 3.2. Georg, if I get this in by Wednesday, will that be soon enough for

[issue11930] Remove time.accept2dyear

2011-05-02 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- components: +Extension Modules, Library (Lib) resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue11930] Remove time.accept2dyear

2011-05-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset db2ac3dc6cc2 by Alexander Belopolsky in branch 'default': Issue #11930: Remove year >= 1000 limitation from datetime.strftime. http://hg.python.org/cpython/rev/db2ac3dc6cc2 -- ___ Python tracker

[issue11834] wrong module installation dir on Windows

2011-05-02 Thread R. David Murray
Changes by R. David Murray : -- assignee: docs@python -> nosy: +brian.curtin, tim.golden ___ Python tracker ___ ___ Python-bugs-list

[issue11849] glibc allocator doesn't release all free()ed memory

2011-05-02 Thread Charles-François Natali
Charles-François Natali added the comment: I've had some time to look at this, and I've written a quick demo patch that should - hopefully - fix this, and reduce memory fragmentation. A little bit of background first: - a couple years ago (probably true when pymalloc was designed and merged),

[issue11270] logging: RotatingFileHandler crash when opening the Logfile in an Texteditor

2011-05-02 Thread Vinay Sajip
Vinay Sajip added the comment: There is already a TimedRotatingHandler for generating file names based on dates. However, it rotates based on time, not size. I don't agree that this is a bug just because Windows is a supported platform; the problems in this issue are due to a shortcoming in W

[issue11981] duplicated self.fp.tell() in zipfile.ZipFile.writestr

2011-05-02 Thread Johan Euphrosine
Changes by Johan Euphrosine : -- components: +Library (Lib) type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11981] duplicated self.fp.tell() in zipfile.ZipFile.writestr

2011-05-02 Thread Johan Euphrosine
New submission from Johan Euphrosine : See: http://hg.python.org/cpython/file/2e3346fc880f/Lib/zipfile.py#l1168 http://hg.python.org/cpython/file/2e3346fc880f/Lib/zipfile.py#l1182 -- messages: 134990 nosy: Johan.Euphrosine priority: normal severity: normal status: open title: duplicated

[issue11980] zipfile.ZipFile.write should accept fp as argument

2011-05-02 Thread Johan Euphrosine
New submission from Johan Euphrosine : Currently it only accept a filename (and writestr only accept bytes). -- components: Library (Lib) messages: 134989 nosy: Johan.Euphrosine priority: normal severity: normal status: open title: zipfile.ZipFile.write should accept fp as argument type:

[issue11930] Remove time.accept2dyear

2011-05-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6f6ac8c2502 by Alexander Belopolsky in branch 'default': Issue #11930: Remove deprecated time.accept2dyear. http://hg.python.org/cpython/rev/e6f6ac8c2502 -- nosy: +python-dev ___ Python tracker

[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-05-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: As discussed w/ Victor, a process should be able to run Python even if its user does not have a home. So the call to _getuserbase() should be protected. But then we have to control that all the code that uses CONFIG_VARS['userbase'] is protected when the valu

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-05-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/5/2 Jonas H. : > > Jonas H. added the comment: > > Indeed they do; but documentation writers need to know that `int()` and > `float()` are functions, which is counterintuitive. (and a CPython > implementation detail) They're not even functions, just

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-05-02 Thread Jonas H.
Jonas H. added the comment: Indeed they do; but documentation writers need to know that `int()` and `float()` are functions, which is counterintuitive. (and a CPython implementation detail) -- ___ Python tracker

[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: > I would like Tarek to make a call on this. So Tarek, what do you think? -- ___ Python tracker ___ __

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/4483/steps/test/logs/stdio -- test test_os failed -- Traceback (most recent call last): File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_os.py", line 117

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-02 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file21856/signalfd-2.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: Fixed: updated patch (version 3). -- Added file: http://bugs.python.org/file21857/signalfd-3.patch ___ Python tracker ___ __

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Update signalfd patch. > > -- > Added file: http://bugs.python.org/file21856/signalfd-2.patch - In the tests, you don't need sys.exc_info(), just "except XXXError as e". - In the doc, you wrote "file description" instead of "file descriptor" - In tes

[issue11779] test_mmap.test_large_offset() timeout (1 hour) on "AMD64 Snow Leopard 3.x" buildbot

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: I commited Steffen's patch for mmap. We will see if it improves the situation. New changeset d578fdc9b157 by Victor Stinner in branch 'default': (Merge 3.2) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X http://hg.python.org/cpython/rev/d578

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-05-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: FWIW, :func:`int/float` work IIRC. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-02 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file21841/signalfd.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: Update signalfd patch. -- Added file: http://bugs.python.org/file21856/signalfd-2.patch ___ Python tracker ___ _

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: > @haypo: Python 2.7 is absolute horror. Oh, zlib doesn't use PY_SSIZE_T_CLEAN in Python 2.7. 11277-27.1.diff contains "# Issue #10276 - check that inputs >=4GB are handled correctly.". I don't understand this comment because the test uses a buffer of 2 GB +

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2011-05-02 Thread Eric V. Smith
Eric V. Smith added the comment: This patch seems okay to me, as far as it goes. I'd like to hear Martin's feedback, but I think it should be committed. And I realize the rest of this message doesn't apply to the patch, but it does address other problems in summary_getproperty(). At least one

[issue11887] unittest fails on comparing str with bytes if python has the -bb option

2011-05-02 Thread Nick Coghlan
Nick Coghlan added the comment: I'm OK with that - I'd actually suggest explicitly *emitting* a warning when the error is suppressed under -bb, as Ezio is right that even tests should be keeping their bytes/str separation straight. I don't like completely suppressing warnings/errors when a us

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-05-02 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso : Removed file: http://bugs.python.org/file21673/11277.zsum32.c ___ Python tracker ___ ___ Python-bugs-list

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-05-02 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Mon, 2 May 2011 01:22:41 +0200, STINNER Victor wrote: > @sdaoden: Can you try on Python 2.7? @haypo: Python 2.7 is absolute horror. But i tried and produced a (terrible - i don't know the test framework and that test_support stuff seems to have be

[issue8407] expose signalfd(2) and pthread_sigmask in the signal module

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: test_signal.PthreadSigmaskTests fails on Mac OS X. http://www.python.org/dev/buildbot/all/builders/PPC Leopard 3.x/builds/1785/steps/test/logs/stdio http://www.python.org/dev/buildbot/all/builders/PPC Tiger 3.x/builds/1748/steps/test/logs/stdio --- [186/354]

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: > copy_script-2.patch uses os.fsencode(), which doesn't exist in Python 3.1. Correct, with Python 3.1, you can use filename.encode(sys.getfilesystemencoding(), 'surrogateescape'). But you must use os.fsencode() with Python >= 3.2 because on Windows, you canno

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-05-02 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: copy_script-2.patch uses os.fsencode(), which doesn't exist in Python 3.1. -- ___ Python tracker ___ _

[issue11979] Minor improvements to the Sockets readme: typos, wording and sphinx features usage

2011-05-02 Thread Xavier Morel
Changes by Xavier Morel : Added file: http://bugs.python.org/file21854/sphinx-features ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11979] Minor improvements to the Sockets readme: typos, wording and sphinx features usage

2011-05-02 Thread Xavier Morel
New submission from Xavier Morel : First patch fixes a typo ("the reads a reply" -> "then reads a reply") and — I believe — improves the wording of a pair of sentences. Second patch makes use of Sphinx's ``:abbr:`` role, and removes some period which I think are redundant with the use of ``::`

[issue11887] unittest fails on comparing str with bytes if python has the -bb option

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: > Rather than fiddling with the warnings filters, wouldn't it be easier > to just catch BytesWarning and return False in that case? It's another possible solution, but it would display a warning using python -b. --

[issue11978] Report correct coverage.py data for tests that invoke subprocesses

2011-05-02 Thread Nick Coghlan
New submission from Nick Coghlan : http://nedbatchelder.com/code/coverage/subprocess.html describes how to instruct a test suite that spawns subprocesses to correctly report coverage data for code covered only in those subprocesses. regrtest currently doesn't do this, so modules that use subpr

[issue11887] unittest fails on comparing str with bytes if python has the -bb option

2011-05-02 Thread Nick Coghlan
Nick Coghlan added the comment: Rather than fiddling with the warnings filters, wouldn't it be easier to just catch BytesWarning and return False in that case? -- nosy: +ncoghlan ___ Python tracker __

[issue11887] unittest fails on comparing str with bytes if python has the -bb option

2011-05-02 Thread Ezio Melotti
Ezio Melotti added the comment: > I think that the patch is simple (it adds 3 "with+simplefilter") and it > doesn't add "complexity", or you should define what complexity is :-) The patch is indeed quite simple. but with it half of the code in _baseAssertEqual will be to deal with warnings for

[issue11270] logging: RotatingFileHandler crash when opening the Logfile in an Texteditor

2011-05-02 Thread Alexander Vrchoticky
is to generate file names based on (say) the current day, as in Logfile-20110502.txt. This design avoids the problem that we're rolling over to files of the same name, but it is a different beast from RotatingFileHandler. That said, I think this issue should be reopened: RotatingFileHandler

[issue8498] Cannot use backlog = 0 for sockets

2011-05-02 Thread Daniel Evers
Daniel Evers added the comment: (client.py) -- Added file: http://bugs.python.org/file21852/client.py ___ Python tracker ___ ___ Pytho

[issue8498] Cannot use backlog = 0 for sockets

2011-05-02 Thread Daniel Evers
Daniel Evers added the comment: To revive this issue, I tried to write a unit test to verify the behaviour. Onfurtunately, the test doesn't work and I don't understand why. I hope, someone here is more enlightend than me... (files: server.py, client.py) -- Added file: http://bugs.pyth

[issue10252] Fix resource warnings in distutils

2011-05-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset c02c78d93a2e by Éric Araujo in branch '2.7': Fix double use of f.close(). http://hg.python.org/cpython/rev/c02c78d93a2e -- ___ Python tracker

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-05-02 Thread Jonas H.
Jonas H. added the comment: Actually I need to be able to intersphinx (because my documentation work is not the Python docs :-) but I guess it boils down to the same problem of incomplete Sphinx module/class indices. -- ___ Python tracker

[issue11935] MMDF/MBOX mailbox need utime

2011-05-02 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso : Removed file: http://bugs.python.org/file21795/mailbox.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue11935] MMDF/MBOX mailbox need utime

2011-05-02 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: I'll attach a patch with a clearer comment (entry-gate instead "new mail"), i.e. the comment now reflects what MUAs really do. -- Added file: http://bugs.python.org/file21850/11935.2.diff ___ Python tracker

[issue11935] MMDF/MBOX mailbox need utime

2011-05-02 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Sun, 1 May 2011 00:15:11 +0200, R. David Murray wrote: > The problem with this patch is that it would also show 'new > mail' if what had in fact happened was that a message had been > *deleted* (see the comments at the beginning of the flush > meth

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-05-02 Thread Éric Araujo
Éric Araujo added the comment: I changed the title: intersphinx is a Sphinx extension used to links to foreign documentation, not create links inside one doc (as I understand the request is). -- nosy: +eric.araujo stage: -> needs patch title: Fix intersphinx-ing of built-in types (lis

[issue11839] argparse: unexpected behavior of default for FileType('w')

2011-05-02 Thread Stefan Pfeiffer
Stefan Pfeiffer added the comment: Happens in 3.2, too... Would be nice to see that fixed. Stefan -- nosy: +Stefan.Pfeiffer ___ Python tracker ___

[issue11887] unittest fails on comparing str with bytes if python has the -bb option

2011-05-02 Thread STINNER Victor
STINNER Victor added the comment: Le lundi 02 mai 2011 07:05:28, vous avez écrit : > * the patch introduces code/complexity in _baseAssertEqual and other > places, using catch_warnings to change and restore the warning filters at > every call; Yes, and what is the problem? I think that it is

[issue11967] Left shift and Right shift for floats

2011-05-02 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ok, I'm closing this as won't fix. Mark is our authority on these matters, and having two spellings for this fairly uncommon operation seems enough. -- resolution: -> wont fix status: open -> closed ___ Python tra

[issue4966] Improving Lib Doc Sequence Types Section

2011-05-02 Thread Ezio Melotti
Ezio Melotti added the comment: See also #11975 and #11976. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11975] Fix intersphinx-ing of built-in types (list, int, ...)

2011-05-02 Thread Ezio Melotti
Ezio Melotti added the comment: See also #4966 and #11976. -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing