@pypi_xmlrpc(method="changelog")
def changelog(request, since, with_ids=False):
    since = datetime.datetime.utcfromtimestamp(since)
    entries = (
        request.db.query(JournalEntry)
                  .filter(since > JournalEntry.submitted_date)
                  .order_by(JournalEntry.id)
                  .all()
    )

    results = (
        (
            e.name,
            e.version,
            int(
                e.submitted_date
                 .replace(tzinfo=datetime.timezone.utc)
                 .timestamp()
            ),
            e.action,
            e.id,
        )
        for e in entries
    )

    if with_ids:
        return list(results)
    else:
        return [r[:-1] for r in results]
dataset/ETHPy150Open pypa/warehouse/warehouse/legacy/api/xmlrpc.py/changelog/swapped operands of `>`