Changes by Julian Mehnle jul...@mehnle.net:
--
nosy: +jmehnle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7753
___
___
Python-bugs-list mailing
Dirkjan Ochtman dirk...@ochtman.nl added the comment:
Would it still be possible to get this into 2.7.2? It's a 2.6-2.7 regression,
would be nice to fix, and it seems fairly low-impact.
--
nosy: +benjamin.peterson
___
Python tracker
Charles-François Natali neolo...@free.fr added the comment:
Antoine is right: we don't have to be portable.
We don't have to, but writing one POSIX-conformant solution is better than
writing N OS-specific solutions, no? That's what POSIX is about.
Should we block the signal?
Yes.
What
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Sorry, the documentation in the patch is wrong. It should be: Cause
:cfunc:`Py_FatalError` to invoke the given function before printing to standard
error and aborting out of the process.
I don't think it's worth making it more
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk:
The attached file 'data.bin' was written using Python 3.2. It can be read by
Python 2.7, but in 3.2 and 3.3, after the first object is read, the file
pointer is positioned at EOF, causing an error on subsequent reads. A simple
test
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Sadly, marshal.load() looks broken:
- The function starts with the comment
/* XXX Quick hack -- need to do this differently */
- It starts by calling f.read() which consumes the whole file (and explains the
issue reported here)
-
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, sigwait() doesn't accept a timeout! I would be nice to have
also sigwaitinfo().. and maybe also its friend, sigwaitinfo()
Oops, I mean sigtimedwait() and sigwaitinfo().
--
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
(I should not answer in this issue, but in #8407)
See also issue #8407 for sigtimedwait() and signalfd() in Python.
You didn't commit the signalfd part?
Not yet because I would like to provide something to decode the data
Roundup Robot devnull@devnull added the comment:
New changeset 2951641faed1 by Éric Araujo in branch '2.7':
Add examples that work on Windows to distutils docs (#1626300)
http://hg.python.org/cpython/rev/2951641faed1
--
nosy: +python-dev
___
Python
David Siroky sir...@dasir.cz added the comment:
I didn't meant blocking as setblocking(True). I use select/poll but I can't use
returned value from send() immediately since in Windows there are often needed
more send rounds to actually know how much data was sent.
E.g. in Linux I know it
Éric Araujo mer...@netwok.org added the comment:
That would be Doc/tools/sphinxext/pyspecific.py
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12243
___
Éric Araujo mer...@netwok.org added the comment:
I don’t like the idea of built-in functions being displayed as “builtins.int”:
normal use of builtins is without explicit use of the module name.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Great! I will edit a bit the message and commit this.
--
stage: - commit review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12246
Éric Araujo mer...@netwok.org added the comment:
Just one thing:
I think the close call needs equal treatment to the open call.
The open call is a module-level functions; the close method of GzipFile cannot
be equally treated, as it is in the doc of the class, where no methods are
given
Éric Araujo mer...@netwok.org added the comment:
[Sridhar]
No, it’s register that uploads metadata.
(was not sent before?)
To me, not to the tracker.
Ok, that's interesting. Does p7g.install support packages that do not
register their new releases?
Setuptools/PIP does by scraping the
Éric Araujo mer...@netwok.org added the comment:
One issue is that multiple compiler patterns may match,
Right, we can’t say “first matches” win if it’s unordered, and we won’t have
OrderedDict in all versions supported by distutils2. Make it a list of tuples.
First match wins, so people
Éric Araujo mer...@netwok.org added the comment:
You can just take the descriptions from the mail.python.org page.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12278
___
Changes by Éric Araujo mer...@netwok.org:
--
dependencies: +Removing wsgiref.egg-info
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10645
___
___
New submission from Ravish ravish_nayak2...@yahoo.co.in:
I was trying to install bpython v0.9.7.1(latest version) on python 2.6.5, it
works fine.
But If i try to install on python v3.2 it's behaviour is quite abnormal.
i.e if I run(bpython) from command prompt, I could able to see the fancy
Roundup Robot devnull@devnull added the comment:
New changeset 072dbebaa83b by Éric Araujo in branch '3.2':
Add examples that work on Windows to distutils docs (#1626300)
http://hg.python.org/cpython/rev/072dbebaa83b
--
___
Python tracker
Roundup Robot devnull@devnull added the comment:
New changeset 59d785ea0039 by Éric Araujo in branch '3.2':
Fix a few misuses of :option: I missed in r86521.
http://hg.python.org/cpython/rev/59d785ea0039
--
nosy: +python-dev
___
Python tracker
Roundup Robot devnull@devnull added the comment:
New changeset e3f6c10eb590 by Éric Araujo in branch 'default':
Stop creating a Python-X.Y.Z-pyX.Y.egg-info file on install (#10645)
http://hg.python.org/cpython/rev/e3f6c10eb590
New changeset af7bc95e5b1e by Éric Araujo in branch 'default':
The
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10645
___
New submission from Fredrik Wendt fred...@wendt.se:
On http://docs.python.org/library/email-examples.html#email-examples the
current example (v2.7.1) at the bottom incorrectly calls SMTP.sendmail() with a
single recipient e-mail address. It should be a list of addresses.
--
assignee:
Roundup Robot devnull@devnull added the comment:
New changeset 7164bdfa0b0b by Éric Araujo in branch '2.7':
Fix a few misuses of :option: I missed in r86521.
http://hg.python.org/cpython/rev/7164bdfa0b0b
--
___
Python tracker rep...@bugs.python.org
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
This issue tracker is for reporting issues about Python itself. Issues
concerning third-party projects should go to the respective issue tracker of
the project first (in this case https://bitbucket.org/bobf/bpython/issues).
This
Éric Araujo mer...@netwok.org added the comment:
This is now fixed in the distutils Installing and Distributing guides. Does
the same problem apply to the new docs using packaging and the pysetup script?
Please check http://docs.python.org/dev/packaging and
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12292
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
@ Ronald Oussoren wrote:
if major = 10:
# We're on OSX 10.6 or earlier
enableWorkaround()
(You sound as if you participate in an interesting audiophonic
event. 27 imac's are indeed great recording studio
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12282
___
___
Éric Araujo mer...@netwok.org added the comment:
Is http://docs.python.org/dev/library/argparse#usage what you want?
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12284
Changes by Éric Araujo mer...@netwok.org:
--
assignee: docs@python - r.david.murray
nosy: +r.david.murray
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12293
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I've added a patch which I think fixes marshal.load(), and would be grateful
for a review - it's my first C patch for Python. The test_marshal test passes,
though I haven't yet added a test for the failing scenario.
--
keywords:
Ronald Oussoren ronaldousso...@mac.com added the comment:
steffen: I have no idea what you are trying to say in your last message. Could
you please try to stay on topic.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11277
Éric Araujo mer...@netwok.org added the comment:
packaging.command.cmd already has this method: it was renamed to
get_reinitialized_function, to better match other method names.
the workaround of my code is just setting the 'distinfo-dir' option
with os.curdir value
Yes, that’s a workaround
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
- Please replace tabs characters by space
- // comments are not accepted by some picky C89 compilers
Also, calling f.read(1) for each character may have a large performance impact.
I don't know how this can be solved though.
New submission from Bugs Fly mozbug...@yahoo.com.au:
The join() method of Pool blocks. So it is not good for finding out if there
are still running workers once the pool is closed.
There should be a method like is_alive() which don't block, similar to what in
Process. Or task_left() which
Éric Araujo mer...@netwok.org added the comment:
In either case, there's a high likelihood the PYTHON default will
resolve to 3.3a0 for any Python developer.
Ah, I understand the reason for the phrasing in your patch: UNIX systems
typically install 3.x as python3, not python, so the high
Éric Araujo mer...@netwok.org added the comment:
I would also propose to remove *.rej and *.orig from the ignore files. It’s
helpful to see them in hg status in case you had a difficult merge and did not
fix all files. My usage is that I remove *.rej and *.orig after I’m done
merging (or
Benjamin Peterson benja...@python.org added the comment:
It should probably be buffered at 512 bytes or some other reasonable number.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12291
Éric Araujo mer...@netwok.org added the comment:
I wanted to review the patch but it cannot be applied. It looks like your
third patch applies on top of the second. Can you generate a full patch?
--
status: pending - open
versions: -Python 3.1
Éric Araujo mer...@netwok.org added the comment:
I wrote a test but it did not fail. Can you test it too?
--
keywords: +patch
versions: +Python 3.3 -3rd party
Added file: http://bugs.python.org/file22291/test-record-scripts-10191.diff
___
Python
Éric Araujo mer...@netwok.org added the comment:
There are tests for data_files, they are indeed included. Please reopen if you
can reproduce the bug.
--
resolution: - out of date
stage: test needed - committed/rejected
status: open - closed
___
Éric Araujo mer...@netwok.org added the comment:
Python 3.3 works with unicode ;), so we’ll try reproducing this later, when we
have the 2.x backport.
--
assignee: tarek - eric.araujo
resolution: - remind
stage: - needs patch
type: - behavior
___
Éric Araujo mer...@netwok.org added the comment:
This is now implemented in packaging.create.MainProgram.convert_py_to_cfg.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.3
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I’m leaving this open to remind us we want to remove the warn and
announce methods. Logging all the way!
Now done.
--
assignee: tarek - eric.araujo
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions:
Benjamin Peterson benja...@python.org added the comment:
- First line should be directly after the docstring
- One import per line
- Shouldn't this test be in test_inspect, since that's what you're changing?
--
___
Python tracker
Éric Araujo mer...@netwok.org 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
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +georg.brandl
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12291
___
Roundup Robot devnull@devnull 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
Éric Araujo mer...@netwok.org 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.
--
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +easy
versions: +Python 3.3 -3rd party
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10510
___
Éric Araujo mer...@netwok.org 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
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12291
___
Georg Brandl ge...@python.org added the comment:
Same here.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11975
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org 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
Georg Brandl ge...@python.org added the comment:
Sounds blocker-ish enough to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12291
___
___
Éric Araujo mer...@netwok.org 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
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com 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 -
Dirkjan Ochtman dirk...@ochtman.nl 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.
Benjamin Peterson benja...@python.org added the comment:
2011/6/9 Dirkjan Ochtman rep...@bugs.python.org:
Dirkjan Ochtman dirk...@ochtman.nl 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
New submission from Éric Araujo mer...@netwok.org:
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
New submission from Éric Araujo mer...@netwok.org:
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:
New submission from Éric Araujo mer...@netwok.org:
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:
Roundup Robot devnull@devnull 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
New submission from Éric Araujo mer...@netwok.org:
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:
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8488
___
Éric Araujo mer...@netwok.org added the comment:
Can I help moving this forward?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10446
___
___
New submission from Éric Araujo mer...@netwok.org:
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
New submission from Éric Araujo mer...@netwok.org:
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:
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org
New submission from Éric Araujo mer...@netwok.org:
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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12301
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
dependencies: +Fix referencing of built-in types (list, int, ...)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12298
___
Georg Brandl ge...@python.org 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
Changes by Georg Brandl ge...@python.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12298
___
___
Python-bugs-list
Ezio Melotti ezio.melo...@gmail.com 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.
--
Jonas H. jo...@lophus.org 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
Changes by Brian Curtin br...@python.org:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12284
___
___
Python-bugs-list
Dirkjan Ochtman dirk...@ochtman.nl added the comment:
Here's a fresh patch.
--
Added file: http://bugs.python.org/file22297/issue9284.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9284
Changes by Dirkjan Ochtman dirk...@ochtman.nl:
Removed file: http://bugs.python.org/file22270/issue9284.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9284
___
Roundup Robot devnull@devnull 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
Amaury Forgeot d'Arc amaur...@gmail.com 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 rep...@bugs.python.org
Vinay Sajip vinay_sa...@yahoo.co.uk 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
Erik Bray erik.m.b...@gmail.com 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
R. David Murray rdmur...@bitdance.com 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: -
Erik Bray erik.m.b...@gmail.com 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 rep...@bugs.python.org
Charles-François Natali neolo...@free.fr 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
Charles-François Natali neolo...@free.fr 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
Giampaolo Rodola' g.rod...@gmail.com 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.
--
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12168
___
anatoly techtonik techto...@gmail.com 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
Charles-François Natali neolo...@free.fr 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')
Roundup Robot devnull@devnull 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':
R. David Murray rdmur...@bitdance.com 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 -
Barry A. Warsaw ba...@python.org 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.
Vinay Sajip vinay_sa...@yahoo.co.uk 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).
1 - 100 of 141 matches
Mail list logo