Opened 6 years ago

Closed 6 years ago

#58285 closed defect (fixed)

python27 @2.7.16_0+universal: os.lchmod() not available

Reported by: macrule Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: python27

Description

os.lchmod() has gone with python 2.7.16_0 - it still works with 2.7.15_1. Example:

>>> import os
>>> os.lchmod
AttributeError: 'module' object has no attribute 'lchmod'

This might be an upstream bug, but I have never compiled python from source, always using mac ports. So I didn't want to start messing with that as well.

Short research: it may be related to this configure change: https://github.com/python/cpython/pull/9247

Change History (2)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Yeah, looks like they messed up.

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 6408541c53282fdc0ac9c9279b43447c3c0f12d3/macports-ports (master):

python27: fix configure handling of lchmod

Fixes: #58285

Note: See TracTickets for help on using tickets.