New submission from Tim Golden:
The docs for the PYTHONPATH var indicate that its items are separated by
colons. In fact they're separated by whatever's customary for the O/S.
Patch attached.
--
components: Documentation
files: doc-using-cmdline-r61249.patch
keywords: patch
messages:
New submission from Guilherme Polo:
Right now Python misses a wrapper for setitimer and getitimer and I
believe it would be interesting to include them. I'm (almost) sure some
other people may find it useful too.
I'm attaching a standalone module, but if it gets to be included in
Python, I
Trent Nelson added the comment:
With Chris and Ben's comments taken into account, what's the best way to
handle this?
1. Change the test: if the user is not admin, assert os.tmpfile()
returns a permission denied OSError, otherwise, assert return value is
a current file.
2. Alter
Thomas Heller added the comment:
libffi3-branch has been merged to trunk; the Modules/_ctypes/libffi
files are from the libffi 3.0.4 release now.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1292
Changes by Facundo Batista:
Removed file: http://bugs.python.org/file9610/py-itimer-0.1.1.tar.gz
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2240
__
___
Python-bugs-list
Guilherme Polo added the comment:
I forgot to remove an unwanted comment from it =)
Attaching new version.
Added file: http://bugs.python.org/file9611/py-itimer-0.1.2.tar.gz
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2240
Alexander Belopolsky added the comment:
PYTHONPATH variable is likely to be defined by sysadmins who may not know
what os.pathsep is. Maybe it is better to say OS-dependent separator
(';' on Windows, ':' on Linux and other UNIX-like OSes or ',' on some
less-known systems.)
--
nosy:
Tim Golden added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky added the comment:
PYTHONPATH variable is likely to be defined by sysadmins who may not know
what os.pathsep is. Maybe it is better to say OS-dependent separator
(';' on Windows, ':' on Linux and other
A.M. Kuchling added the comment:
Also referred to as an atomic group: see
http://www.regular-expressions.info/atomic.html for a discussion.
Fredrik, when you say the engine has code for this, what do you mean?
--
nosy: +akuchling
Tracker [EMAIL
New submission from Brian White:
The attached diff adds a -o (--one) option to the unittest module
that causes the run to abort on the first error encountered. I name my
tests so that the lowest-level tests get run first so stopping at the
first error tends to prevent a lot of dependent errors
Alexander Belopolsky added the comment:
.. but I have made the doc reference a link to the os.pathsep
I knew you would say that :-). I was making my comment out of real life
experience: sysadmins rarely know python language, but can do good job
administering python installations. For
Tim Golden added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky added the comment:
.. but I have made the doc reference a link to the os.pathsep
I knew you would say that :-). I was making my comment out of real life
experience: sysadmins rarely know python language, but
A.M. Kuchling added the comment:
There's also an alternate syntax for this, called possessive
quantifiers: a*+, a++, a{m,n}+.
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue433030
Changes by A.M. Kuchling:
--
keywords: +easy
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2220
__
___
Python-bugs-list mailing list
Unsubscribe:
Alexander Belopolsky added the comment:
Feel free to propose an alternative wording for the patch
I thought I already did in my first post. The complete sentence should
read:
The format is the same as the shell's :envvar:`PATH`: one or more
directory pathnames separated by an
Tim Golden added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky added the comment:
Feel free to propose an alternative wording for the patch
I thought I already did in my first post. The complete sentence should
read:
The format is the same as the shell's
Malte Helmert added the comment:
I think it's better only to only add another fallback if the unit tests
show that such platforms exist. Avoiding cruft is important, too. After
all, sysconf is a standard POSIX API, and from my (admittedly limited)
research was already available in that form back
Georg Brandl added the comment:
I took the best of both worlds and committed in r61255.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2239
__
Martin v. Löwis added the comment:
I can see nothing wrong with including setitimer support for systems
where it is available, and I agree that the signal module would be the
right place.
So whoever wants to complete it, feel free to produce a complete patch
against the trunk.
--
nosy:
Benjamin Peterson added the comment:
With Chris and Ben's comments taken into account, what's the best way to
handle this?
I think, given that is being removed, we can safely go with option 1.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2232
Changes by Benjamin Peterson:
--
nosy: +purcell
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2241
__
___
Python-bugs-list mailing list
Unsubscribe:
Guilherme Polo added the comment:
Martin, thanks for supporting the idea.
I'm attaching a patch. It is against rev 61255, py3k branch.
It patches configure, configure.in, Modules/signalmodule.c and pyconfig.h.in
I wasn't sure if I should attach a diff for each file, so they are all
packed in
Tarek Ziadé added the comment:
I have changed the code: the pypirc module is now called config.
Added file: http://bugs.python.org/file9614/distutils.2008-03-05.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1858
Guilherme Polo added the comment:
I noticed that I forgot to change setitimer and getitimer functions from
itimer_setitimer to signal_setitimer (same for getitimer).
I'm attaching a patch that should be applied after the previous one to
do this renaming.
Added file:
Jean-François Bastien added the comment:
I confirm the problem. To resolve it try:
os.system('call TheCommand MyOutput')
--
nosy: +jfbastien
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1524
__
Trent Nelson added the comment:
I agree. Following patch fixes the issue for me:
Index: test_os.py
===
--- test_os.py (revision 61260)
+++ test_os.py (working copy)
@@ -65,6 +65,44 @@
def test_tmpfile(self):
if not
Joseph Armbruster added the comment:
Tested patch against: http://svn.python.org/projects/python/trunk @ 61260
OS Name: Microsoft Windows XP Professional
OS Version:5.1.2600 Service Pack 2 Build 260
rt test_os
Deleting .pyc/.pyo files ...
(57, '.pyc deleted,',
ozzeng added the comment:
This patch was generated against the trunk but
py_compile.py is unchanged from the version in
the release 2.5-maint branch.
--
keywords: +patch
nosy: +ozzeng
versions: +Python 2.6
Added file: http://bugs.python.org/file9618/py_compile.patch
New submission from Chris Palmer:
When decoding some data as UTF-7 with the optional ignore argument,
Python (I am using 2.5.2) crashes. This happens only on Windows Vista (I
also tried Py 2.5.1 on Windows XP, Ubuntu 7, and FreeBSD 6). To
reproduce, set WinDbg as your post-mortem debugger and
Georg Brandl added the comment:
Committed as r61263. I'll let Martin decide about a backport.
--
assignee: - loewis
nosy: +loewis
resolution: - accepted
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1725737
Martin v. Löwis added the comment:
Thanks for the patch. Committed as r61264 and r61266.
--
nosy: +loewis
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2232
__
Georg Brandl added the comment:
Patch review:
* ItimerError should be signal.ItimerError, not signal.error.
* It should probably inherit from EnvironmentError or IOError.
* itimer_retval will leak the new tuple if one of the PyFloat_FromDouble
fails.
* Do you have test and doc patches, too?
*
Hirokazu Yamamoto added the comment:
I reproduced this bug with VC6 + Win2000SP4 + following code.
'+\xc1'.decode(utf7, ignore)
and this simple patch prevented crash.
Index: Objects/unicodeobject.c
===
--- Objects/unicodeobject.c
Hirokazu Yamamoto added the comment:
One more thing. ignore is not needed.
'+\xc1'.decode(utf7)
crashed my interpreter.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2242
__
Changes by Georg Brandl:
--
priority: - urgent
severity: normal - urgent
versions: +Python 2.6, Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2242
__
___
Martin v. Löwis added the comment:
Backported as r61268. Georg, can you please add a NEWS entry for the
trunk as well?
--
assignee: loewis - georg.brandl
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1725737
Georg Brandl added the comment:
Committed patch and new docs in r61273. Thanks!
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2225
__
Georg Brandl added the comment:
Done!
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1725737
_
___
Python-bugs-list mailing list
Unsubscribe:
Georg Brandl added the comment:
Fixed in r61275, r61276 (2.5).
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2220
__
39 matches
Mail list logo