[issue12306] zlib: Expose zlibVersion to query runtime version of zlib

2011-06-09 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12304] expose signalfd(2) in the signal module

2011-06-09 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12273] Change ast.__version__ calculation to provide consistent ordering

2011-06-09 Thread Brett Cannon
Brett Cannon added the comment: sys.version_info and sys._mercurial provide all the info needed for someone (like me for mnfy) to know if their code will work against the AST nodes used by the running interpreter. I say drop __version__. -- ___ Pyt

[issue12308] Add link to PEP 0 for topical index in wiki

2011-06-09 Thread Eric Snow
New submission from Eric Snow : A couple of months back I started a page on the wiki for a topical index of PEPs from PEP 0 [1]. I got tired of reading through PEPs trying to see if one related to what I was working on. I found myself wishing there was a topical index of all the PEPs. The w

[issue9344] please add posix.getgrouplist()

2011-06-09 Thread Ross Lagerwall
Ross Lagerwall added the comment: Thanks! -- resolution: -> accepted stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-06-09 Thread Eric Snow
New submission from Eric Snow : The formatting for the title of the "Index by Category" section is different from the formatting for the title of the "Numerical Index" section. Not sure if there is a reason behind this, but here's a patch: diff --git a/pep0/output.py b/pep0/output.py --- a/pe

[issue9344] please add posix.getgrouplist()

2011-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ebee3211be9 by Ross Lagerwall in branch 'default': Issue #9344: Add os.getgrouplist(). http://hg.python.org/cpython/rev/9ebee3211be9 -- nosy: +python-dev ___ Python tracker

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: My preference is to remove the type check. It hasn't and won't serve a useful purpose so there's no reason to freeze it into the API and have it live on. That being said, it probably doesn't matter one bit how this report gets resolved. -- _

[issue10191] scripts files are not RECORDed.

2011-06-09 Thread Atsushi Odagiri
Atsushi Odagiri added the comment: OK, I'll test it too. I looked sources of packaging. That use packaging.utils.copy_tree. When I reported that problem, install_scripts used _backport.shutil.copytree. Maybe problem is fixed, because it reterned copied file lists. Is that fixies applied to di

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat

2011-06-09 Thread John S. Gruber
John S. Gruber added the comment: The patch worked--it eliminated the redundant copy caused by this issue. Thank you very much, Éric. On Fri, Jun 3, 2011 at 12:39 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > > Can you test this patch? > ___

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2011-06-09 Thread John Edmonds
John Edmonds added the comment: I'd like to try tackling this issue. I've made a patch that moves encode_multipart from upload_docs to the distutils2.command module and changed the register and upload commands to use this function. -- keywords: +patch nosy: +John.Edmonds Added file:

[issue12306] zlib: Expose zlibVersion to query runtime version of zlib

2011-06-09 Thread Torsten Landschoff
Changes by Torsten Landschoff : Added file: http://bugs.python.org/file22308/zlibversion_py3.diff ___ Python tracker ___ ___ Python-bugs-list

[issue12306] zlib: Expose zlibVersion to query runtime version of zlib

2011-06-09 Thread Torsten Landschoff
New submission from Torsten Landschoff : I am currently fighting a curious problem in using zlib from Python: Decompression completes but sometimes the resulting output does not match a sha224 hash of the expected output. I deployed a zlib 1.2.5 with our PyInstaller output but the problem pers

[issue12305] Building PEPs doesn't work on Python 3

2011-06-09 Thread Eric Snow
New submission from Eric Snow : I found that the .py files are all 2.x. If I get a chance I will write up a patch a little later. This is similar to issue #10224. Incidently, not having done any documentation work before, I didn't realize that docutils isn't in the stdlib. -- messa

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-09 Thread STINNER Victor
STINNER Victor added the comment: > I just noticed something "funny": signal_sigwait doesn't release > the GIL, which means that it's pretty much useless :-) sigwait() is not useless: the signal is not necessary send by another thread. The signal can be send by alarm(), from a child process, b

[issue12009] netrc module crashes if netrc file has comment lines

2011-06-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'd like to see this go in. +# seek to the beginning of the comment, then skip the line. +pos = len(tt) + 1 +lexer.instream.seek(-pos, 1) +lexer.instream.readline() Can't you just lexer.instrea

[issue12304] expose signalfd(2) in the signal module

2011-06-09 Thread STINNER Victor
STINNER Victor added the comment: #8407 changed the wakeup fd: it now contains the signal number. pthread_sigmask() is now part of Python 3.3 (see also #8407). signalfd() has advantages over the wakeup fd (msg103326): - it is handled in the kernel, the process is not interrupted. For example

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset a5c8b6ebe895 by Victor Stinner in branch 'default': Issue #8407: signal.sigwait() releases the GIL http://hg.python.org/cpython/rev/a5c8b6ebe895 -- ___ Python tracker

[issue12009] netrc module crashes if netrc file has comment lines

2011-06-09 Thread R. David Murray
R. David Murray added the comment: Here is an updated patch with the tests refactored even further. The patch seems correct to me, and almost all the comment tests fail before the patch and pass after. Benjamin, this patch fixes a regression relative to 2.7.1 and 3.1.3, so I'm setting it to

[issue12302] test command is not loading the distribution metadata

2011-06-09 Thread Michael Mulich
Michael Mulich added the comment: The RESOURCES implement in install_distinfo command should probably be a separate case, no? -- ___ Python tracker ___

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2011-06-09 Thread STINNER Victor
STINNER Victor added the comment: > This whole thread is becoming quite confusing. You are complelty right, sorry to pollute this issue. Changes related to this issue: - expose pthread_sigmask(), pthread_kill(), sigpending(), sigwait() - wakeup fd now contains the file descriptor I created

[issue12304] expose signalfd(2) in the signal module

2011-06-09 Thread STINNER Victor
STINNER Victor added the comment: signalfd-4.patch: my more recent patch exposing signalfd(). It lacks a structure to decode the bytes read from the signalfd file descriptor. Example in ctypes (msg135438): class signalfd_siginfo(Structure): _fields_ = ( ('ssi_signo', c_uint32),

[issue12304] expose signalfd(2) in the signal module

2011-06-09 Thread STINNER Victor
New submission from STINNER Victor : "Linux offers the signalfd syscall since 2.6.22 (with minor changes afterwards). This call allows signals to be handled as bytes read out of a file descriptor, rather than as interruptions to the flow of a program. Quite usefully, this file descriptor can

[issue12302] test command is not loading the distribution metadata

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- title: pysetup run test -> test command is not loading the distribution metadata ___ Python tracker ___ ___

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-09 Thread STINNER Victor
New submission from STINNER Victor : Python 3.3 adds timeout arguments to communicate() and wait() methods of subprocess.Popen, acquire() method of threading.Lock, and maybe more. I like (optional) timeouts, and so it would be nice to have sigtimedwait(). If we expose sigtimedwait(), it's triv

[issue12302] pysetup run test

2011-06-09 Thread Michael Mulich
New submission from Michael Mulich : A package's metadata (dist-info) should be available to it while running the test command (pysetup run test)? The use case: I've written a test for a function that is supposed to find the default configuration or one provided in a users local area (or {use

[issue7652] Merge C version of decimal into py3k.

2011-06-09 Thread Stefan Krah
Changes by Stefan Krah : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12287] ossaudiodev: stack corruption with FD >= FD_SETSIZE

2011-06-09 Thread STINNER Victor
STINNER Victor added the comment: > So, this _PyCheckSelectable_fd ? function/macro would: > - return true (1) on Visual Studio or if > Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE is defined > - return false (0) if the file descriptor is greater than FD_SETSIZE otherwise > Do we agree on that? Py_SOCKET_

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/6/9 Barry A. Warsaw : > > Barry A. Warsaw added the comment: > > Raymond, I like your patch and I think it addresses the issue nicely.  I made > one small change, which is to add a test for non-list-sequenceness instead of > changing the existing __di

[issue8668] Packaging: add a 'develop' command

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11880] add a {dist-info} category to distutils2

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8591] update mkpkg to latest coding standards

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue7652] Merge C version of decimal into py3k.

2011-06-09 Thread Stefan Krah
Stefan Krah added the comment: Just a couple of remarks about the diff I created: The changes to decimal.py are exploratory (i.e. done quite hastily) and serve the purpose to fulfill PEP-399. library/cdecimal.rst is completely out of date. The rest should be very stable. -- ___

[issue8501] --dry-run option doesn't work

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8371] Add a command to download distributions

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue7652] Merge C version of decimal into py3k.

2011-06-09 Thread Stefan Krah
Changes by Stefan Krah : Added file: http://bugs.python.org/file22304/9a10e3232445.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11375] urllib2 over SOCKS doesn't use proxy for DNS

2011-06-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue7652] Merge C version of decimal into py3k.

2011-06-09 Thread Stefan Krah
Changes by Stefan Krah : Removed file: http://bugs.python.org/file22303/ad05c2fdb3b2.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7652] Merge C version of decimal into py3k.

2011-06-09 Thread Stefan Krah
Changes by Stefan Krah : Added file: http://bugs.python.org/file22303/ad05c2fdb3b2.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue7652] Merge C version of decimal into py3k.

2011-06-09 Thread Stefan Krah
Changes by Stefan Krah : -- hgrepos: +25 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue7652] Merge C version of decimal into py3k.

2011-06-09 Thread Stefan Krah
Changes by Stefan Krah : Removed file: http://bugs.python.org/file15855/trunk_help_unify.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue7652] Merge C version of decimal into py3k.

2011-06-09 Thread Stefan Krah
Changes by Stefan Krah : Removed file: http://bugs.python.org/file15854/py3k_help_unify.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue9344] please add posix.getgrouplist()

2011-06-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: I haven't tested yet, but feel free to commit and I'll fix any OSX issues later. -- ___ Python tracker ___

[issue1757072] Zipfile robustness

2011-06-09 Thread R. David Murray
R. David Murray added the comment: Note that based on the fact that most zipfile tools handle garbage after the indicated end of the comment by ignoring it, #10694 fixed zipfile to also ignore such trailing data. It sounds like there may be more out-of-spec errors that could be ignored, thou

[issue10694] zipfile.py end of central directory detection not robust

2011-06-09 Thread R. David Murray
R. David Murray added the comment: While I don't understand the zip file structure enough to do a definitive review of the patch, I'm willing to take processing 50K zip files successfully as a definitive test :) -- resolution: -> fixed stage: patch review -> committed/rejected status

[issue10694] zipfile.py end of central directory detection not robust

2011-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7530b141c20f by R David Murray in branch '3.2': #10694: zipfile now ignores garbage at the end of a zipfile. http://hg.python.org/cpython/rev/7530b141c20f New changeset 2e49722c7263 by R David Murray in branch 'default': Merge #10694: zipfile now i

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-09 Thread Vinay Sajip
Vinay Sajip added the comment: Another thought about buffering, which might be a bit of a show-stopper: if in a particular load() call we read ahead for buffering purposes, we've altered the underlying stream (which might not be seekable to allow position restoring). The next call to load() w

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-09 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Raymond, I like your patch and I think it addresses the issue nicely. I made one small change, which is to add a test for non-list-sequenceness instead of changing the existing __dir__is_list test. I think both tests are useful to keep. Benjamin, what do

[issue12283] python3.2 smtplib _quote_periods

2011-06-09 Thread R. David Murray
R. David Murray added the comment: Thanks for the report. I broke that when I refactored the code, and unfortunately there was no existing test that tested dot quoting. There is now. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed __

[issue12283] python3.2 smtplib _quote_periods

2011-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 077b016e4a6d by R David Murray in branch '3.2': #12283: Fixed regression in smtplib quoting of leading dots in DATA. http://hg.python.org/cpython/rev/077b016e4a6d New changeset cedceeb45030 by R David Murray in branch 'default': merge #12283: Fixed

[issue12287] ossaudiodev: stack corruption with FD >= FD_SETSIZE

2011-06-09 Thread Charles-François Natali
Charles-François Natali added the comment: > You don't check that 0 <= fd (e.g. oss.close()). > Actually, none of ossaudiodev's method does... This makes it even easier to trigger a segfault (at least on RHEL4): """ import ossaudiodev o = ossaudiodev.open('/dev/dsp', 'w') o.close() o.writeal

[issue2057] difflib: add patch capability

2011-06-09 Thread anatoly techtonik
anatoly techtonik added the comment: It is not sarcasm, but prerequisite. I do not sign papers I don't understand or papers that doesn't make any sense (and thus are free to any interpretation). I could sign current CLA right away, but I prefer not to do this until everybody is aware of the i

[issue12168] SysLogHandler incorrectly appends \000 to messages

2011-06-09 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2011-06-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: This whole thread is becoming quite confusing. It would be better to open a separate issue for any bug or feature request which is not related to "exposing signalfd(2) and pthread_sigmask". -- ___ Python tracker

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

2011-06-09 Thread Charles-François Natali
Charles-François Natali added the comment: I just noticed something "funny": signal_sigwait doesn't release the GIL, which means that it's pretty much useless :-) Patch attached. Also, test_sigwait doesn't block the signal before calling sigwait: it happens to work because there's only one thre

[issue10897] UNIX mmap unnecessarily dup() file descriptor

2011-06-09 Thread Charles-François Natali
Charles-François Natali added the comment: Trying to revive this issue. I'm +1 on this change: duping the file descriptor is definitely unexpected and has some side effects. I think we should remove the call to dup and close, it's really the user's responsibility to avoid closing the FD. If th

[issue12240] Allow multiple setup_hooks

2011-06-09 Thread Erik Bray
Erik Bray added the comment: Here's an update with tests. It should be applied after my patch for issue11595. -- Added file: http://bugs.python.org/file22299/python_issue12240-2.patch ___ Python tracker

[issue10424] better error message from argparse when positionals missing

2011-06-09 Thread R. David Murray
R. David Murray added the comment: With input from Michele on IRC I updated the tests to be more generic (not depend on the order of the reported argument names) and moved the test I talked about in my last message into a third unit test. -- resolution: -> accepted stage: needs patch

[issue11595] Miscellaneous bugs in cfg_to_args() utility function

2011-06-09 Thread Erik Bray
Erik Bray added the comment: Thanks Eric for your review. Obviously the last patch was rushed, and I didn't even run the tests. It also got my changes for issue12240 mixed into it. So I've gone ahead and attached an updated patch which incorporates your review comments. -- Added f

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-09 Thread Vinay Sajip
Vinay Sajip added the comment: @Amaury: Re formatting and comment style - I will address this. The diff I posted is to the default branch rather than 3.2, though it won't change the main substance of the patch. Re. performance and buffering: I agree this could have an impact (although string

[issue2057] difflib: add patch capability

2011-06-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Anatoly, Even if I remove all sarcasm from your previous answer, I don't see what it brings to the current issue. -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue10424] better error message from argparse when positionals missing

2011-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset cab204a79e09 by R David Murray in branch 'default': #10424: argument names are now included in the missing argument message http://hg.python.org/cpython/rev/cab204a79e09 -- nosy: +python-dev ___ Python t

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-09 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : Removed file: http://bugs.python.org/file22270/issue9284.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-09 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Here's a fresh patch. -- Added file: http://bugs.python.org/file22297/issue9284.diff ___ Python tracker ___ ___

[issue12284] argparse.ArgumentParser: usage example option

2011-06-09 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12284] argparse.ArgumentParser: usage example option

2011-06-09 Thread Jonas H.
Jonas H. added the comment: Nope. I want an "examples" section, for example from `man git log`: EXAMPLES git log --no-merges Show the whole commit history, but skip any merges git log v2.6.12.. include/scsi drivers/scsi Show all commits since version v2.6.1

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

2011-06-09 Thread Ezio Melotti
Ezio Melotti added the comment: It won't (because there's the ~ in :func/class:`~__builtin__.int`). Specifying the module would just be a workaround used to distinguish the 'int' in functions.rst from the one in stdtypes.rst. -- ___ Python tracker

[issue12298] Sphinx glitch in library/functions

2011-06-09 Thread Georg Brandl
Changes by Georg Brandl : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12298] Sphinx glitch in library/functions

2011-06-09 Thread Georg Brandl
Georg Brandl added the comment: This is not a Sphinx glitch: that's where these classes are defined. (Plus, dependencies work the other way round.) -- dependencies: -Fix referencing of built-in types (list, int, ...) nosy: +georg.brandl ___ Python

[issue12298] Sphinx glitch in library/functions

2011-06-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- dependencies: +Fix referencing of built-in types (list, int, ...) ___ Python tracker ___ ___ Python-bugs-

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-06-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12301] Use :data:`sys.thing` instead of ``sys.thing`` throughout

2011-06-09 Thread Éric Araujo
New submission from Éric Araujo : In a great number of files, the ``code`` markup is used instead of the :data: role, which would create a link to the appropriate definition. Unless someone objects, I would like to change all of them. -- assignee: eric.araujo components: Documentation

[issue7283] test_site failure when .local/lib/pythonX.Y/site-packages hasn't been created yet

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: Related: I found that test_site tries to create the user site-packages dir if it does not exist, but it does not remove it after the test run. -- ___ Python tracker _

[issue12300] Document pydoc.help

2011-06-09 Thread Éric Araujo
New submission from Éric Araujo : The only public function in pydoc is help, and it’s not listed in the module docs. The existing doc in library/functions could be moved to library/pydoc. See also #12299. -- assignee: docs@python components: Documentation messages: 138002 nosy: docs@

[issue12299] Stop documenting functions added by site as builtins

2011-06-09 Thread Éric Araujo
New submission from Éric Araujo : I find it harmful that exit, quit and help are documented in library/functions instead of library/constants (under the section “constants added by the site module”). It leads people to use unqualified help or exit instead of pydoc.help or sys.exit, and that w

[issue10446] pydoc3 links to 2.x library reference

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: Can I help moving this forward? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8488] Docstrings of non-data descriptors "ignored"

2011-06-09 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue7015] Getting call trace while executing "modules spam" at help prompt

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: Looks like this is an external bug. -- nosy: +eric.araujo resolution: -> invalid stage: test needed -> committed/rejected status: open -> closed ___ Python tracker __

[issue2057] difflib: add patch capability

2011-06-09 Thread anatoly techtonik
anatoly techtonik added the comment: For this to move forward, PSF should accelerate work on new sane Contributor's Agreements or join Harmony (http://www.harmonyagreements.org/) -- ___ Python tracker

[issue12298] Sphinx glitch in library/functions

2011-06-09 Thread Éric Araujo
New submission from Éric Araujo : In the summary table at the top of library/functions, the links for frozenset and memoryview do not jump to the definition down in the same file, but link to stdtypes. -- assignee: docs@python components: Documentation messages: 137997 nosy: docs@pytho

[issue12168] SysLogHandler incorrectly appends \000 to messages

2011-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 260b84851d1f by Vinay Sajip in branch '3.2': Issue #12168: SysLogHandler now allows NUL termination to be controlled using a new 'append_nul' attribute on the handler. http://hg.python.org/cpython/rev/260b84851d1f New changeset ac1217099b3f by Vin

[issue12297] Clarifications to atexit.register and unregister doc

2011-06-09 Thread Éric Araujo
New submission from Éric Araujo : I wanted to know the behavior of atexit.register with the same function added more than once and found out it is not explicitly documented. I experimented and made a patch to the doc. -- assignee: eric.araujo components: Documentation files: atexit-do

[issue12296] Minor clarification in devguide

2011-06-09 Thread Éric Araujo
New submission from Éric Araujo : I found the wording of one line of the devguide strange and changed it IMO for the better. Please review. -- assignee: eric.araujo components: Devguide files: clarify-bwcompat-devguide.diff keywords: needs review, patch messages: 137994 nosy: eric.arau

[issue12295] Fix ResourceWarning in turtledemo help window

2011-06-09 Thread Éric Araujo
New submission from Éric Araujo : I found a ResourceWarning while using turtledemo and made this patch to fix it. It touches idlelib. -- assignee: eric.araujo components: IDLE, Library (Lib) files: fix-turtledemo-help-resourcewarning.diff keywords: needs review, patch messages: 137993

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/6/9 Dirkjan Ochtman : > > Dirkjan Ochtman added the comment: > > I'm fine with moving the test; I put it in doctest because the inspect > behavior we're relying upon here seems somewhat doctest-specific, and the > test itself is a doctest. Do you want

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-09 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I'm fine with moving the test; I put it in doctest because the inspect behavior we're relying upon here seems somewhat doctest-specific, and the test itself is a doctest. Do you want me to move it? I'll fix up the other things as well. -- __

[issue12293] wrong arguments passed to SMTP.sendmail in example

2011-06-09 Thread R. David Murray
R. David Murray added the comment: "The required arguments are an RFC 822 from-address string, a list of RFC 822 to-address strings (a bare string will be treated as a list with 1 address)..." -- resolution: -> invalid stage: -> committed/rejected status: open -> closed

[issue8617] Better document user site-packages in site module doc

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: I have started to work on this; I’ll have one or two patches ready in a few weeks. -- assignee: docs@python -> eric.araujo versions: -Python 3.1 ___ Python tracker _

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: Now that site can be imported without side effects under -S, I think the tests could be updated: they don’t have to be all skipped under -S. See attached patch. -- Added file: http://bugs.python.org/file22293/test_site-11591.diff __

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-09 Thread Georg Brandl
Georg Brandl added the comment: Sounds blocker-ish enough to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue10086] test_sysconfig failure when prefix matches /site

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: > 1) sysconfig was originally distutils.sysconfig, and some duplication > remains. Can’t this bug happen with distutils.sysconfig too? Should > we duplicate tests from test_sysconfig to distutils.test_sysconfig? I’ve looked into it and converting the test to dis

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

2011-06-09 Thread Georg Brandl
Georg Brandl added the comment: Same here. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue2057] difflib: add patch capability

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: For this to move forward, a patch or link to Mercurial repo would be required. -- nosy: +eric.araujo stage: test needed -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker

[issue10510] distutils upload/register should use CRLF in HTTP requests

2011-06-09 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy versions: +Python 3.3 -3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11594] 2to3 does not preserve line endings

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: I was surprised to see that the crlf.py file was not using CRLF in the new Mercurial repo. It is also not in the .hgeol file. I changed it locally, but it doesn’t change anything, the tests pass before and after the change. -- keywords: +patch versions

[issue11583] os.path.isdir() is slow on windows

2011-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset d40609dd01e0 by Brian Curtin in branch '3.2': Correction to 88e318166eaf - Issue #11583 http://hg.python.org/cpython/rev/d40609dd01e0 New changeset fe813f5711a5 by Brian Curtin in branch '2.7': Correction to f1509fc75435 - Issue #11583 http://hg.py

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +georg.brandl priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list ma

[issue9395] clean does not remove all temp files

2011-06-09 Thread Éric Araujo
Éric Araujo added the comment: I don’t remember exactly what I had in mind when I reported this; maybe I didn’t understand the purpose of the clean command, which does not delete all build artifacts but only temporary by-products, unless --all is given. Jean-Paul, I think I recall that this c

  1   2   >