Alan McIntyre added the comment:
Here's a patch that just uses the mod 64k approach. If I get time to
look at some other implementations, and find a better way to handle it,
I'll submit an update. Otherwise, maybe on bug day people can try it
out with a variety of archiving utilities to see if
Changes by Georg Brandl:
--
assignee: - georg.brandl
nosy: +georg.brandl
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1591
__
___
Python-bugs-list mailing list
Vinay Sajip added the comment:
There's probably no need. Fred's initial reason for wanting this (usage
of connection-specific loggers, which would be an anti-pattern in my
book) was later solved by him using an application-specific wrapper.
Also, changes made to logging after this issue was
Changes by Gerdus van Zyl:
--
components: Distutils
nosy: gerdus
severity: normal
status: open
title: .pypirc not found on windows
versions: Python 2.5
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1741
__
New submission from Gerdus van Zyl:
register.py and upload.py both can't find the .pypirc on my system since
there is no HOME environment variable.
currently:
if os.environ.has_key('HOME'):
rc = os.path.join(os.environ['HOME'], '.pypirc')
if os.path.exists(rc):
works for me if
Changes by Christian Heimes:
--
components: +Distutils, Windows -Library (Lib)
versions: +Python 2.5, Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1682403
_
Changes by Christian Heimes:
--
type: - rfe
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1696393
_
___
Python-bugs-list mailing list
Christian Heimes added the comment:
Martin, you are the Windows expert. Does it sound right to you?
--
assignee: - loewis
nosy: +loewis, tiran
versions: +Python 2.5, Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1439312
Changes by Christian Heimes:
--
versions: +Python 2.5, Python 2.6
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue762963
___
Python-bugs-list mailing list
Changes by Christian Heimes:
--
assignee: - kbk
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1529353
_
___
Python-bugs-list mailing list
Changes by Christian Heimes:
--
versions: +Python 2.6
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue502236
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Christian Heimes:
--
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1559549
_
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Christian Heimes:
--
components: +Library (Lib) -None
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1527597
_
___
Changes by Jesse Towner:
--
components: Library (Lib)
nosy: townerj
severity: major
status: open
title: os.path.relpath fails when path == start
type: behavior
versions: Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1742
New submission from Jesse Towner:
os.path.relpath fails with an exception on both Windows and Unix systems
(ntpath and posixpath modules) when the given path and the start path
are equal. Better behavior here might be to return an empty string or
perhaps os.path.curdir.
os.path.relpath(test,
Changes by Christian Heimes:
--
type: - rfe
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1772673
_
___
Python-bugs-list mailing list
Christian Heimes added the comment:
Where is the patch, Mark?
Collin, does fdopen(fd[, mode[, bufsize[, msg=None]]]) and open file
'fdopen \d+ (msg)' sound good to you?
--
assignee: - collinwinter
nosy: +tiran
versions: +Python 2.6
_
Tracker [EMAIL
Changes by Christian Heimes:
--
assignee: - tiran
keywords: +patch
nosy: +tiran
type: - rfe
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1245224
_
Changes by Christian Heimes:
--
versions: +Python 2.6
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue416670
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Christian Heimes:
--
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1745722
_
___
Python-bugs-list mailing list
Unsubscribe:
Christian Heimes added the comment:
The code should raise a proper unicode error. In general network code
accepts only bytes, not unicode.
--
components: +Library (Lib) -None
nosy: +tiran
priority: normal - low
type: - rfe
versions: +Python 2.6
_
Changes by Christian Heimes:
--
assignee: - kbk
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1757831
_
___
Python-bugs-list mailing list
Changes by Christian Heimes:
--
versions: +Python 2.5, Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1753718
_
___
Python-bugs-list mailing list
Changes by Christian Heimes:
--
assignee: - georg.brandl
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1732367
_
___
Python-bugs-list
Changes by Christian Heimes:
--
type: - rfe
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1100942
_
___
Python-bugs-list mailing list
Christian Heimes added the comment:
Please provide a failing test program or we have to close the bug. I
can't reproduce it on my x86 machine with Python 2.5 and GCC 4.2 either.
--
nosy: +tiran
status: open - pending
versions: +Python 2.5, Python 2.6
Christian Heimes added the comment:
What about Python 2.6 support? :)
--
assignee: - barry
components: +Interpreter Core -None
nosy: +tiran
versions: +Python 2.6
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue634412
Changes by Christian Heimes:
--
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1713877
_
___
Python-bugs-list mailing list
Unsubscribe:
Christian Heimes added the comment:
A patch is always welcome
--
nosy: +tiran
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1713877
_
___
Python-bugs-list
Christian Heimes added the comment:
Do you call 8 months a few days? *g*
--
components: +Windows
nosy: +tiran
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1707753
_
Changes by Christian Heimes:
--
keywords: +patch
versions: +Python 2.5, Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1708316
_
___
Python-bugs-list
New submission from Rich:
Launching IDLE from the start menu has no effect, no windows open.
Command line Python still works. Reinstalling Python does not fix the
problem.
I haven't changed my system configuration since everything was working.
Any ideas for things to check to fix this on my
Antoine Pitrou added the comment:
Well, I have met this problem too some time ago, so could you please
reopen the bug?
Saying creating a lot of connection-bound logger objects is an
antipattern doesn't help. It's the only simple way of doing something
useful: have a logging target with
Christian Heimes added the comment:
What's the conclusion of your discussion? Do you consent to close the
feature request?
--
nosy: +tiran
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1673203
_
Antoine Pitrou added the comment:
s/in every logging class/in every logging call/, sorry.
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue932563
___
Python-bugs-list
Changes by Christian Heimes:
--
components: +Interpreter Core -None
type: - rfe
versions: +Python 2.6, Python 3.0
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1736792
_
Changes by Christian Heimes:
--
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1731706
_
___
Python-bugs-list mailing list
Unsubscribe:
Christian Heimes added the comment:
What's your OS and how did you install Python on your machine?
--
nosy: +tiran
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1743
__
Changes by Christian Heimes:
--
priority: - normal
type: - behavior
versions: +Python 2.6
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1741
__
___
Python-bugs-list
Gazi Alankus added the comment:
If by not being able to reproduce, you mean that you campiled Mesa
with NPTL support and tried a Python extension that's using std::cerr
(like the attached source in the other thread I linked to) and is
linked to -lGL, then fine.
Mesa with NPTL support is
Christian Heimes added the comment:
The docs should be updated, see #1606
--
nosy: +tiran
resolution: - wont fix
status: open - closed
superseder: - Doc: subprocess wait() may lead to dead lock
__
Tracker [EMAIL PROTECTED]
Georg Brandl added the comment:
Fixed in r59769. Thanks!
--
assignee: rhettinger - georg.brandl
nosy: +georg.brandl
resolution: - fixed
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1696393
Georg Brandl added the comment:
Thanks, fixed in r59770.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1742
__
Georg Brandl added the comment:
Be sure to use reST format now that we've switched to that. Much easier
to type :)
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1732367
_
Georg Brandl added the comment:
I clarified the docstring in r59771. I won't extend it, however, since
most types don't announce their attributes in the docstring. For that
you should always consult the code or the official docs.
--
resolution: - fixed
status: open - closed
Georg Brandl added the comment:
Unassigning myself - I have no opinion on pydoc.
--
assignee: georg.brandl -
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue979658
Changes by Georg Brandl:
--
resolution: - duplicate
status: open - closed
superseder: - Time zone-capable variant of time.localtime
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1245224
_
Alberto Bertogli added the comment:
On Sat, Jan 05, 2008 at 10:08:15PM -, Christian Heimes wrote:
I'm still waiting for a new patch. Your feature patch has been accepted
but I won't commit it without doc updates.
I know, but holidays were not the best time to write documentation.
I'll
roudkerk added the comment:
The included patch against python2.51 fixes the problem for me.
--
versions: +Python 2.6, Python 3.0
Added file: http://bugs.python.org/file9076/fork-thread-patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1683
New submission from loic jeannin:
here is a patch against Modules/readline.c to add getter/setter for
rl_completer_quote_characters. This is needed for advanced use of
cmd.Cmd with completion.
--
components: Extension Modules
files: p2.5.1-readline.diff
messages: 59380
nosy: loic
Rich added the comment:
I'm on 32-bit Windows Vista, and I installed with the Python 2.5 msi.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1743
__
___
Python-bugs-list mailing
Georg Brandl added the comment:
Which is now done.
--
resolution: - fixed
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue714469
___
Georg Brandl added the comment:
Fixed in r59772. Thanks for the report!
--
assignee: facundobatista - georg.brandl
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1680
Changes by Georg Brandl:
--
resolution: - invalid
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1218
__
___
Python-bugs-list mailing list
Georg Brandl added the comment:
Thanks, fixed in r59773.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1755097
_
Georg Brandl added the comment:
Fixed in r59774.
--
assignee: facundobatista - georg.brandl
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1501
__
Georg Brandl added the comment:
I had already cleaned this up in the trunk.
--
resolution: - out of date
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1702
__
Georg Brandl added the comment:
Added a doc clarification in r59775.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue759525
Georg Brandl added the comment:
Documented in r59776.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
title: tempile.TemporaryFile differences between linux and windows -
tempfile.TemporaryFile differences between linux and windows
Georg Brandl added the comment:
Thanks for the report, this is already fixed in the SVN trunk.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1681
Georg Brandl added the comment:
Thanks for the report, fixed the documentation in r59777.
--
assignee: - georg.brandl
nosy: +georg.brandl
resolution: - fixed
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1727024
New submission from Robin Stocker:
The attached patch ports the implementation of keyword-only arguments
from revision 52491 back to trunk.
This is the first time I've worked on the C internals, so here are some
notes:
- test_collections is the only test which fails, because it tries to
call a
Georg Brandl added the comment:
I edited the example a bit and added it to the docs in r59778.
--
assignee: skip.montanaro - georg.brandl
nosy: +georg.brandl
resolution: - fixed
status: open - closed
_
Tracker [EMAIL PROTECTED]
Georg Brandl added the comment:
Clarified docs in r59779.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1559684
_
Georg Brandl added the comment:
Thanks, reformatted a bit and committed as r59780.
--
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1582
__
Georg Brandl added the comment:
Does the flag name -R still make sense with the new env var name?
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue602345
___
Christian Heimes added the comment:
What do you think about PYTHONOMITPYC, --omit-pyc and sys.omit_pyc_creation?
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue602345
___
Changes by Skip Montanaro:
--
nosy: -skip.montanaro
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue602345
___
Python-bugs-list mailing list
Unsubscribe:
Georg Brandl added the comment:
Added docs and tests in r59782.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1325
__
Georg Brandl added the comment:
This patch duplicates entries for package contents and submodules;
this is not good. (E.g. for help(email):
NAME
email - A package for parsing, handling, and generating email messages.
FILE
/home/gbr/devel/python/Lib/email/__init__.py
PACKAGE CONTENTS
Georg Brandl added the comment:
Attaching new diff, with -B flag name, PYTHONDONTWRITEBYTECODE, and
sys.dont_write_bytecode.
Added file: http://bugs.python.org/file9079/no-pyc-flag.diff
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue602345
Changes by Georg Brandl:
--
status: open - pending
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue683658
___
Python-bugs-list mailing list
Unsubscribe:
Martin v. Löwis added the comment:
I'm skeptical. If you consider junction points similar to symlinks on
POSIX, then it would be semantically correct to leave the junction point
in place, independent of whether their target directory is empty or not
- on Unix, rmdir fails if the target is a
Martin v. Löwis added the comment:
Please open IDLE from the command line:
1. start cmd.exe
2. run path to python.exe path to python/Lib/idle/idle.py
That should give you an error, please report it.
--
nosy: +loewis
__
Tracker [EMAIL PROTECTED]
Martin v. Löwis added the comment:
As a new feature, it can't go into 2.5. Targetting for 2.6.
--
nosy: +loewis
versions: +Python 2.6 -Python 2.4, Python 2.5
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1744
__
Christian Heimes added the comment:
Please provide a patch against the trunk. Don't forget to update the
documentation and to add an unit test.
--
keywords: +patch
nosy: +tiran
priority: - low
__
Tracker [EMAIL PROTECTED]
Alan McIntyre added the comment:
Based on the ZIP spec (I'm using the one here:
http://www.pkware.com/documents/casestudies/APPNOTE.TXT), I'm inclined
to agree. There's a general note that says All fields unless otherwise
noted are unsigned and stored in Intel low-byte:high-byte,
Robin Stocker added the comment:
Another note: Because the marshalling of code objects is changed, is
there a version number of the format which has to be incremented?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1745
Georg Brandl added the comment:
Guido, ping?
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1772833
_
___
Python-bugs-list mailing list
Unsubscribe:
Alan McIntyre added the comment:
I just tried out this test with the trunk and 2.5.2 from svn (on OS X,
not sure if that might make a difference), and didn't get the reported
error. Since the issue has apparently been fixed at some point, is
there any reason not to close this issue?
--
Alan McIntyre added the comment:
Since there's no reply about where ZIP files with appended 'garbage'
might come from, should this be closed? I agree with amk; it doesn't
seem wise to ignore incorrectly formatted files without a good reason.
On a related note, it seems that correctly formatted
Georg Brandl added the comment:
This is a documentation issue, it seems. The new command-line document
already says only PYTHON* vars are ignored.
--
components: +Documentation -Interpreter Core
nosy: +georg.brandl
versions: +Python 2.6
__
Tracker [EMAIL
New submission from Alan McIntyre:
The current behavior of zipfile._EndRecData is to look in the last 4k of
data in a file if it appears it might have an archive comment; this
results in flagging proper ZIP files with comments longer than ~4074
bytes as not a ZIP file.
I plan on posting a patch
New submission from Jeffrey Yasskin:
Python 2.6a0 (trunk:59791M, Jan 6 2008, 12:22:37)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type help, copyright, credits or license for more information.
import abc
[30620 refs]
class A:
... __metaclass__ = abc.ABCMeta
...
[30650 refs]
New submission from Antoine Pitrou:
The contextmanager function should call functools.wraps instead of
having its own attribute copying code. Just something I noticed while
reading the source.
--
components: Library (Lib)
messages: 59413
nosy: pitrou
severity: minor
status: open
title:
Martin v. Löwis added the comment:
And another change message
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1750
__
___
Python-bugs-list mailing list
Unsubscribe:
Jeffrey Yasskin added the comment:
I think this reflects the consensus of
http://mail.python.org/pipermail/python-dev/2008-January/075798.html. I
haven't yet implemented Context.round() as I suggested at
http://mail.python.org/pipermail/python-dev/2008-January/075920.html
because there are more
Martin v. Löwis added the comment:
End of testing.
--
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1750
__
___
Python-bugs-list mailing list
Changes by Georg Brandl:
--
assignee: - ncoghlan
nosy: +ncoghlan
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1748
__
___
Python-bugs-list mailing list
Unsubscribe:
Guido van Rossum added the comment:
To resolve this, how about this patch (getenv.2.diff)?
- change getenv(PYTHONCASEOK) - Py_GETENV() (inside #ifdef PYOS_OS2)
- rename THREADDEBUG - PYTHONTHREADDEBUG and use Py_GETENV()
Added file: http://bugs.python.org/file9081/getenv.2.diff
Guido van Rossum added the comment:
Looks good, please commit!
(Christian: the problem with using PYC in the envar name is that it is
ambiguous about what happens to PYO files...)
--
resolution: - accepted
Tracker [EMAIL PROTECTED]
Guido van Rossum added the comment:
PS the patch still has a problem:
Python/pythonrun.c:177: error: ‘Py_ReadOnlyBytecodeFlag’ undeclared
(first use in this function)
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue602345
Jeffrey Yasskin added the comment:
This is certainly not the only way to fix this. Is it the best?
--
keywords: +patch
title: isinstance(NotSubclassOfObject, InstanceOfAbcMeta) fails instead of
returning False - issubclass(NotSubclassOfObject, InstanceOfAbcMeta) fails
instead of
Mark Dickinson added the comment:
Some random comments: take with a large pinch of salt
(1) In __init__ I think you want something like:
self._numerator = int(numerator)//g
instead of
self._numerator = int(numerator / g)
and similarly for the denominator. At the moment I get, for
Mark Dickinson added the comment:
Two more questions:
(1) should a Rational instance be hashable?
(2) Should Rational(5,2) == Decimal('2.5') evaluate to True or False?
If Rationals are hashable and 2.5 == Rational(5, 2) == Decimal('2.5') then the
rule that objects that compare equal should
Guido van Rossum added the comment:
I was about to check this in, when I noticed that the test runs for ~16
seconds on my state-of-the-arg hardware. I think that's too long.
Perhaps it should only be run when -ulargefile is enabled?
__
Tracker [EMAIL PROTECTED]
Alan McIntyre added the comment:
Oh thanks, I meant to ask whether or not the run time was too long, but
forgot. Only running when -ulargefile is enabled seems fine to me. I
can tweak the patch for that if you'd like; moving it to test_zipfile64
should do that, right?
Guido van Rossum added the comment:
Bug day candidate? 2.5.2 backport candidate.
--
nosy: +gvanrossum
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1741
__
___
Guido van Rossum added the comment:
Thanks for tackling this!
What line in test_collections.py is calling a function with 255 args?
I'm a bit surprised since this has always been disallowed AFAICT.
I'd like to see everything related to keyword-only args included in one
patch. Hopefully the
Changes by Guido van Rossum:
--
keywords: +patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1745
__
___
Python-bugs-list mailing list
Unsubscribe:
1 - 100 of 113 matches
Mail list logo