New submission from benrg benrud...@gmail.com:
A struct that is resized knows its new size; among other things, the new size
is returned by sizeof.
But it seems to be impossible to increase the size of a struct that doesn't own
its buffer. resize fails in this case. This would not be too bad
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Committed in r68309.
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8594
___
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Ok, that wasn't r68309. =)
I'm not sure what revision number is now that we're using mercurial.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8594
New submission from Andrew Lih andrew...@gmail.com:
Run Module causes the IDLE to freeze when I start Run Module by pressing F5
on the keyboard. But clicking Run Module via Run on the menu bar have no
freezing issue.
Mac 10.6.6
--
components: IDLE
messages: 130240
nosy: andrewlih
Changes by Martin v. Löwis mar...@v.loewis.de:
--
keywords: +patch
Added file: http://bugs.python.org/file21029/a.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8542
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8542
___
___
Changes by Andrew Lih andrew...@gmail.com:
--
title: Python 3.2 (r32:88452) F5 crashes - Python 3.2 (r32:88452) F5 Run
Module freezes IDLE
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11431
benrg benrud...@gmail.com added the comment:
But when I translate my example according to PEP 343, it works (i.e., doesn't
raise an exception) in 3.2, and PEP 343 says [t]he details of the above
translation are intended to prescribe the exact semantics. So I think that at
least one of PEP
Changes by Georg Brandl ge...@python.org:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11428
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8542
___
___
Python-bugs-list
Changes by Martin v. Löwis mar...@v.loewis.de:
--
nosy: -georg.brandl
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8542
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
I'm not seeing the commit anywhere. Did you perhaps forget to hg push after
committing?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8594
STINNER Victor victor.stin...@haypocalc.com added the comment:
The module name is a UTF-8 encoded string yes. It should be documented in
PyModuleDef structure. I already documented the encoding in PyModule_New().
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I haven’t seen any pitchfork-brandishing in my inbox, so I’m closing this.
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11364
New submission from Campbell Barton ideasma...@gmail.com:
On Linux - tested on: Arch linux @ Debian Squeeze, this fails
python -c __import__('webbrowser').open('http://python.org')
The exception thats raised is:
Traceback (most recent call last):
File string, line 1, in module
File
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Library (Lib) -Extension Modules
nosy: +ezio.melotti, georg.brandl
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11432
Éric Araujo mer...@netwok.org added the comment:
What change are you wishing for? bdist_rpm is frozen in distutils and removed
in distutils2. If this is a feature request, it should be reported to the new
standalone project bdist_rpm2 (home https://bitbucket.org/tarek/pypi2rpm; the
bug
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +rhettinger
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8847
___
___
Sébastien Sablé sa...@users.sourceforge.net added the comment:
I had seen that post you mentioned and already tested the -lbsd without success.
wait4 is not even present in libbsd.
phenix:~$ nm /usr/lib/libbsd.a | grep wait
phenix:~$
Maybe it was present on older versions of the system. But
Éric Araujo mer...@netwok.org added the comment:
Just two notes: The operations like “7205759403792794 * 10**30 / 2**56” in
floatimport could use some parens; the patch removed a duplicate “statement:
for” entry.
--
nosy: +eric.araujo
___
Python
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11426
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
I tried to commit io_write.patch, but I had problems with Mercurial :-) I will
commit it later.
--
Added file: http://bugs.python.org/file21030/io_write.patch
___
Python tracker
Filip Gruszczyński grusz...@gmail.com added the comment:
I am sorry again for those mistakes, it's all completely new to me. I have
fixed those issues and created new patch. Using hg export, that now spans over
two commits. Is it the way those patches should be provided, or should I gather
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This last patch looks good, except that the comments if stdout mode is binary
(python -u) are incorrect: since r87824, all files are opened in binary mode.
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
This last patch looks good, except that the comments if stdout mode
is binary (python -u) are incorrect: since r87824, all files are
opened in binary mode.
I plan to commit the patch to 3.1 and then forward port to 3.2 and 3.3.
Arjen Nienhuis a.g.nienh...@gmail.com added the comment:
struct.pack does not work with variable length data. Something like:
b'{0:x}\r\n{1}\r\n'.format(len(block), block)
or
b'%x\r\n%s\r\n' % (len(block), block)
is not possible with struct.pack
--
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Luckily, extracting one of them just get only the more recent one
It's not only luck: a Zip file has a central directory used to retrieve data.
ZipFile just appends the new file data to the end of the Zip file, then write
the updated
Jesús Leganés Combarro pira...@gmail.com added the comment:
Ok, they talk about remove it, that's why i didn't found it :-P Ok, it make
sense. By the way, this way the old data is available? How? (Just to know... it
could be a courious feature :-D )
--
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment:
Glibc's readdir() and readdir_r() already do caching, so getdents() syscall is
called only once on my '/etc' directory. Should we include another caching
level in xlistdir() function?
On the other hand, we don't know anything about
Benjamin Peterson benja...@python.org added the comment:
Well, the pep is wrong, too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11428
___
Ray.Allen ysj@gmail.com added the comment:
I noticed that after apply my last patch and running full unittest cases, some
weird errors which I don't know the reasons occurred, for example:
AttributeError: 'dict' object has no attribute 'get'
and
AttributeError: 'Queue' object has no
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11421
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11417
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
David, it seems my patch http://bugs.python.org/file20675/email_header.patch
is a real requirement for EMAIL 5.1 code.
This is because BytesGenerator._write_headers() creates a Header
instance in 'else:' (the other branches are
Éric Araujo mer...@netwok.org added the comment:
See #11393 for discussion about integration in 3.3.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8863
___
New submission from Victor victoryw...@yahoo.com:
Hi and please help me understand if it is a bug, or..,as someone said, there's
a 'bug' in my understanding:
(Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on
win32) (windows vista, the regular windows python
Barry A. Warsaw ba...@python.org added the comment:
+1
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11414
___
___
SilentGhost ghost@gmail.com added the comment:
No this is not a bug. You're trying to execute two statements in one go in
IDLE, which it doesn't support. You need to run your while loop as a single
statement, then your print('Done').
--
nosy: +SilentGhost
resolution: - invalid
R. David Murray rdmur...@bitdance.com added the comment:
I plan to take a look at this and other email bugs during the Pycon sprints, if
not before.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11401
New submission from Joshua Logan dear.jay.lo...@gmail.com:
Hello,
It is mentioned in the documentation for input() (
http://docs.python.org/py3k/library/functions.html#input ) that the newline is
stripped from the end of the returned string. However, on Windows, it used to
trim '\r\n'. Now
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
This is a duplicate of issue #11272.
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11434
___
Ned Deily n...@acm.org added the comment:
Which Python 3.2 installation are you using? There are two installers for
Python 3.2 for Mac OS X downloadable from python.org, 32-bit-only and
64-bit/32-bit. And which version of Tcl/Tk are you using? Please start IDLE
and report the first two
Changes by Dave Malcolm dmalc...@redhat.com:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11410
___
___
Python-bugs-list
New submission from SilentGhost ghost@gmail.com:
With the conversion to mercurial source links in documentation should now point
to hg.python.org
Here is the patch.
--
assignee: docs@python
components: Documentation
files: docs_sourcename.diff
keywords: patch
messages: 130268
nosy:
Ned Deily n...@acm.org added the comment:
Good point. However, making the change won't help the already generated
versions of the 3.2 html doc, like those included with installers or any older
URL references elsewhere to the svn source. Perhaps some URL rewrite rules
should be added to the
Ezio Melotti ezio.melo...@gmail.com added the comment:
IIUC those svn links will keep working for some time, but if/when the svn repo
and/or viewvc will be removed an URL rewrite rule should be fix the problem.
The patch seems OK to me.
--
nosy: +ezio.melotti
Michael Foord mich...@voidspace.org.uk added the comment:
Sounds good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11298
___
___
Éric Araujo mer...@netwok.org added the comment:
I find there are some redundancy and perfectible phrasing. Here’s my rewrite:
In order to be compatible with test discovery, all of the test files must be
:ref:`modules tut-modules` or :ref:`packages tut-packages` importable from
the top-level
Changes by Christoph Gohlke cgoh...@uci.edu:
--
versions: +Python 2.7, Python 3.2
Added file: http://bugs.python.org/file21034/msilib2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7639
Thomas Wouters tho...@python.org added the comment:
I couldn't really care less about bdist_rpm, I'm just reporting a bug in it
when not writing .pyc files (through PYTHONDONTWRITEBYTECODE.) I encountered it
while making the testsuite do the right thing when not writing bytecode (see
issue
Éric Araujo mer...@netwok.org added the comment:
I’d find such a patch acceptable too. Thanks for the report and suggested
solution.
--
assignee: tarek - eric.araujo
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3
___
Python tracker
New submission from Terry J. Reedy tjre...@udel.edu:
The struct doc does not specify the meaning of 's', without a count. The
attached patch adds the sentence:
If a count is not given, it defaults to 1; ``'s'`` means the same as ``'1s'``.
(Until I experimented, I had thought no count meant
Antoine Pitrou pit...@free.fr added the comment:
I've put the redirection in place.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11435
___
Terry J. Reedy tjre...@udel.edu added the comment:
patch
--
keywords: +patch
Added file: http://bugs.python.org/file21035/zstruct.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11436
___
Victor victoryw...@yahoo.com added the comment:
How do you try to open the IDLE? For example, I open it from the start menu,
python3.2. When you try to double click on a .py file, it is normal to see what
you describe.
--
nosy: +victorywin
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Fix does not apply to 2.5 as the relevant code for keeping child loggers
enabled was added in 2.6.
Fixes checked in:
b9d76846bb1c (2.6)
9dad160206a3 (2.7)
d9125bf3bac5 (3.1)
e607d25b4462, 27bf21522742 (3.2)
b0883c15b28c (3.3)
Test cases
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I'll close this, assuming that the stack_info keyword parameter added to
logging calls in 3.2 will be sufficient.
I also removed the dependency on 1553375, which would prevent closure.
--
dependencies: -Add
Thomas Wouters tho...@python.org added the comment:
I'll incorporate that change into issue #11420 then, and close this (and harp
on bdist_rpm2 if it ever lands in the stdlib and has the same issue :-)
--
resolution: - wont fix
status: open - closed
Changes by Thomas Wouters tho...@python.org:
Removed file: http://bugs.python.org/file21022/py31-dontwritebytecode.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11420
___
Changes by Thomas Wouters tho...@python.org:
Removed file: http://bugs.python.org/file21023/py32-dontwritebytecode.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11420
___
Thomas Wouters tho...@python.org added the comment:
As per issue #11417, updated to also skip the tests in
distutils/tests/test_bdist_rpm.py when not writing bytecode.
--
Added file: http://bugs.python.org/file21036/py31-dontwritebytecode.diff
___
Changes by Thomas Wouters tho...@python.org:
Added file: http://bugs.python.org/file21037/py32-dontwritebytecode.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11420
___
Terry J. Reedy tjre...@udel.edu added the comment:
You are right, I misinterpreted the meaning of 's' without a count (and opened
#11436 to clarify). However, for the fairly common case where a variable-length
binary block is preceded by a 4 byte *binary* count, one can do something which
is
Chris ceonnbo...@yahoo.com added the comment:
Hi, thank you for your reply.
Â
I try to start it directly from the start menu, where it jumped to after the
first open attempt, and have also tried start menu -Â all programs - python -
idle, then one click or right click then chosing open.
Марк Коренберг socketp...@gmail.com added the comment:
Glibc's readdir() and readdir_r() already do caching
Yes, but glibc's readdir is the C analogue of python's generator. We do not
need to create cache for cached values.
I think it's OK to make python's generator on top of readdir (instead
Ned Deily n...@acm.org added the comment:
Antoine, great! How about also for the other active branches now in hg:
release{32,31,27,26,25-maint} ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11435
Éric Araujo mer...@netwok.org added the comment:
bdist_rpm2 will never go into the stdlib, that’s the point: external
maintenance lets people adapt the code when operating system policies change
and release more often than Python. Sooner or later someone will report this
same bug to the
Antoine Pitrou pit...@free.fr added the comment:
Antoine, great! How about also for the other active branches now in hg:
release{32,31,27,26,25-maint} ?
Is there any such reference in the docs?
--
___
Python tracker rep...@bugs.python.org
Ned Deily n...@acm.org added the comment:
Right: no comprehensive links like in the 3.2+ versions. I just see a few
miscellaneous links elsewhere in the source. But there are undoubtedly plenty
of links elsewhere out in the wild. So this is probably out-of-scope for this
issue but should be
Charles-Francois Natali neolo...@free.fr added the comment:
wait4 without WNOHANG works fine. waitpid works fine even with WNOHANG.
I don't know which workaround is the better.
As far as the test is concerned, it's of course better to use wait4
without WNOHANG in a test names test_wait4
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Can you open a command prompt, and type:
c:\python32\python.exe -m idlelib.idle
If there are messages, please paste them here!
--
nosy: +amaury.forgeotdarc
___
Python tracker
Andrew Lih andrew...@gmail.com added the comment:
I'm using the Python 3.2 Mac OS X 64-bit/32-bit x86-64/i386 Installer.
Python 3.2 (r32:88452, Feb 20 2011, 11:12:31)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
It just freezes every time I try to paste the lines u gave me.
But I mange to
Ned Deily n...@acm.org added the comment:
It appears then that you do not ActiveTcl 8.5 installed which is required
because of deficiencies with the current Apple-supplied Tcl/Tk 8.5 in OS X
10.6. A warning message should have appeared in your PyShell window:
WARNING: The version of Tcl/Tk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
Looks good to me.
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9651
___
Andrew Lih andrew...@gmail.com added the comment:
Thanks a lot Ned!
My problem is solved! Awesome!
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11431
___
Changes by Ned Deily n...@acm.org:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11431
___
___
Python-bugs-list
Sandro Tosi sandro.t...@gmail.com added the comment:
AFAIK, this is obtained using \pdfinfo{} command[1][2][3]
[1] http://theoval.cmp.uea.ac.uk/~nlct/latex/pdfdoc/pdfdoc/pdfdoc.html
[2]
http://tex.stackexchange.com/questions/5958/is-hyperref-really-the-best-way-to-add-metadata-to-a-tex-file
benrg benrud...@gmail.com added the comment:
w9xpopen is currently used on NT. The patch to use it on NT was checked in by
bquinlan in August of 2001
(http://mail.python.org/pipermail/patches/2001-August/005719.html). He claims
that it is necessary in NT, even though (a) the cited knowledge
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11432
___
___
Python-bugs-list
Yuv Gre ubershme...@gmail.com added the comment:
What's the status with this patch? If nobody's looking at it I can try to see
if it works and write the test and documentation for it.
--
nosy: +ubershmekel
versions: +Python 3.3 -Python 3.1
___
Antoine Pitrou pit...@free.fr added the comment:
Why the callback option?
Also, the tests don't appear to check the return value.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11072
___
New submission from George Dhoore georgie...@gmail.com:
If the user makes a typo when setting a custom keybind (in this case
Alt-Key-up instead of Alt-Key-Up) IDLE will silently crash. From the
command-line the error shows as:
Traceback (most recent call last):
File
Changes by George Dhoore georgie...@gmail.com:
--
nosy: +George.Dhoore
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11072
___
___
Eric Smith e...@trueblade.com added the comment:
I agree that the callback isn't needed, and it reflects the older coding style
of much of the library (such as in retrlines). Instead, I'd make this a
generator, yielding each of the dicts. (Actually in some ideal rewrite of
ftplib, the whole
Changes by SilentGhost ghost@gmail.com:
--
nosy: +SilentGhost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11072
___
___
Python-bugs-list
SilentGhost ghost@gmail.com added the comment:
I've put the redirection in place.
So, it's not possible to access
http://svn.python.org/view/python/branches/py3k/ at all now?
--
___
Python tracker rep...@bugs.python.org
Changes by Ned Deily n...@acm.org:
--
nosy: +ned.deily
stage: - needs patch
type: crash - behavior
versions: +Python 2.7, Python 3.1, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11437
New submission from Steve Dower s.j.do...@gmail.com:
Running 2to3 on the attached file makes no modifications, which then causes an
error (since itertools.izip_longest is now itertools.zip_longest)
--
components: 2to3 (2.x to 3.0 conversion tool)
files: test.py
messages: 130304
nosy:
benrg benrud...@gmail.com added the comment:
It turns out that, on Windows 7 32-bit with COMSPEC pointing to command.com,
platform.popen('dir').read() works with w9xpopen and fails (no output) without
it.
But the reason has nothing to do with the old Win9x problem. It's because
subprocess
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Attached a patch with test for this:
Following the suggestion, I put tag, text, tail, and attrib to be
accessible via tp_getset for _etree.Element type.
--
keywords: +patch
nosy: +santa4nt
Added file:
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.1, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7990
___
Benjamin Peterson benja...@python.org added the comment:
770d45d22a40, 88bbc574cfb0, 8947c47a9fef, a7e0cff05597
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7769
___
___
Python-bugs-list
93 matches
Mail list logo